summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Weber <xmw@gentoo.org>2015-02-02 16:56:11 +0000
committerMichael Weber <xmw@gentoo.org>2015-02-02 16:56:11 +0000
commit7c26bcb515dfd3c1d97309880cbaf14910fa19ed (patch)
treeb4332ad1651ccd6cd69594926df445c8e345096b /www-client
parentDrop depenendency on lcms:0 (bug 526800) (diff)
downloadhistorical-7c26bcb515dfd3c1d97309880cbaf14910fa19ed.tar.gz
historical-7c26bcb515dfd3c1d97309880cbaf14910fa19ed.tar.bz2
historical-7c26bcb515dfd3c1d97309880cbaf14910fa19ed.zip
Drop versions depending on lcms:0 (bug 526800)
Package-Manager: portage-2.2.15/cvs/Linux x86_64 Manifest-Sign-Key: 0x62EEF090
Diffstat (limited to 'www-client')
-rw-r--r--www-client/netsurf/ChangeLog7
-rw-r--r--www-client/netsurf/Manifest18
-rw-r--r--www-client/netsurf/netsurf-2.9.ebuild141
-rw-r--r--www-client/netsurf/netsurf-3.0-r1.ebuild142
-rw-r--r--www-client/netsurf/netsurf-3.0-r2.ebuild137
-rw-r--r--www-client/netsurf/netsurf-3.0.ebuild142
-rw-r--r--www-client/netsurf/netsurf-3.2.ebuild139
7 files changed, 11 insertions, 715 deletions
diff --git a/www-client/netsurf/ChangeLog b/www-client/netsurf/ChangeLog
index a07012e52841..eeb784aafe41 100644
--- a/www-client/netsurf/ChangeLog
+++ b/www-client/netsurf/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-client/netsurf
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/netsurf/ChangeLog,v 1.16 2015/02/02 16:54:29 xmw Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/netsurf/ChangeLog,v 1.17 2015/02/02 16:56:07 xmw Exp $
+
+ 02 Feb 2015; Michael Weber <xmw@gentoo.org> -netsurf-2.9.ebuild,
+ -netsurf-3.0-r1.ebuild, -netsurf-3.0-r2.ebuild, -netsurf-3.0.ebuild,
+ -netsurf-3.2.ebuild:
+ Drop versions depending on lcms:0 (bug 526800)
*netsurf-3.2-r1 (02 Feb 2015)
diff --git a/www-client/netsurf/Manifest b/www-client/netsurf/Manifest
index 871c680a170d..f20cb77f1251 100644
--- a/www-client/netsurf/Manifest
+++ b/www-client/netsurf/Manifest
@@ -9,26 +9,18 @@ AUX netsurf-3.0-framebuffer-pkgconfig.patch 1351 SHA256 a9572b016e029ef95181e984
AUX netsurf-3.2-CFLAGS.patch 2651 SHA256 5e101eaf78ae018ebe6f3fdcf3aceb7f49a9c970741e26728dc270ee5cabed84 SHA512 aac8b118ce704ab4d85bd82e466b7b7802ac036ffb930d79b42a17574ed6b3bb2867b01827f47558d96b7e85ceb3ec0e1ce50e462713051354767c27e172c438 WHIRLPOOL d6c902daaf6a4174036ab367594c342f8d65ebf79bc97880f43930c3b6a57b6f435a819a1d82fc0103d9ef8de6efdc16f18d9bc3cddb70aefab8840020c5cced
AUX netsurf-3.2-conditionally-include-image-headers.patch 1109 SHA256 2ac3b17b9aa784612560035ef983d3538e0fd5f24cf07b9765d8447d8eb06bf6 SHA512 aa17f815b65e8bf7da0d4a76fe030e702be608aea35232e314662e9665a41aed2bf2483bc1a485dad31171c1ef4532427757c424dab4068c32c665d44b041c17 WHIRLPOOL 197239418f2ef8e23f3278cd1428186df4757452d213ebf3d75cecc37451df33dabaea447c74169229570e29f07a8d32beefcaa9e430406ed07754a66b61b85d
AUX netsurf-3.2-glibc2.20.patch 959 SHA256 d29e1769af114b83db8f9c140141f9d44218e490db849d19b89473be11332b48 SHA512 1841902de2807b0a310db535ddf85451f8f0a43e6c4c6c3908165a995823c70146bc059b37ba8b8302973aa9c63e0a8f8679d6b6a7c6688878d1a68a43953945 WHIRLPOOL 13b13ea68be4b4684524824be08ade18c7d9c9ca5d57df98c83e77de7b27a2888ae6bcf8e62dc7cdfb1b287436a89e5016f10b2db390681573d6f7c8bca2fa49
-DIST netsurf-2.9-full-src.tar.gz 4621932 SHA256 ade6ade7f66ce2f0a80df724bafefd18c17165166111c490837737aa2e09ae9d SHA512 8dfd4d845f5255ee4420c6d4454594eb34dda129096b4d6acb72bd00e976042e7caf80b075ed39d3d3bf3b070c297f73f889075200bd7fb3d2467ca8154c07f0 WHIRLPOOL dfd1151d1c92cf374f5223113328c43f12537c4bc9b17caa831fb5c1febbf70a27766f20bf333867e5104bb03b1cd39f02eed0d351ceec901f922b759d7b330b
-DIST netsurf-3.0-src.tar.gz 2950260 SHA256 7c6a48d3cc3e9a3e3a51b532ddf60f7697e97bf8b61a6d3b2ced1a2e89fbccc6 SHA512 18cddc9377170b3c43a5975921ad6ae4838bdef27d597f263d918e8f67ddb90387b45833a129a8ffa8d4f8d5b3841ef9e267270e322bb348bec1de39c2d7e16e WHIRLPOOL a8705b87347a1df2ebf3fa2c9224e1561cc8df7d91222daedc847707d5796fc9aa55d0fecfa0abdd633c820249a746d05056dc71099f77a24c597d5bb8bc13bd
DIST netsurf-3.2-src.tar.gz 3232987 SHA256 04ffeb8335c59cbc23371b79ae3b178002e6e95c35225ef62db4b155ecc7e213 SHA512 d1ef15503bd7f59bea6a0bf41333e5da7a8657ab1cd6412b7cb9588b4d6e17908bd5f9b22e71c9e72574df9bb1aa5413a6ccd79a6bdd62ea5ff63c15876f1b60 WHIRLPOOL 98f343fefa39ab5f7f4e1d7e97305323d57bd4f0c1c97cee35e94f7d485d25b86b7012c95bfd2db88620f334ca2ce7cbe6eb4975cda7ac98a99f531bd10ed70b
-DIST netsurf-buildsystem-1.0.tar.gz 37026 SHA256 4495e8e12faf0ace668ab80401064ce7f65a195efe63c924c066a109649ff146 SHA512 763e10766ab16be375c40a226e36a95df5740ac62b5bbc4eb6d52693b83284d2e71d9a3d797f55c28853a5d2565182759ffa9bfb3d736daf21b347f418661c47 WHIRLPOOL a65d53424a34a796a1f85ed5d4a9ca9bf58eaba7246e5ea20bc7da09e0e8ab60e156ce47da521660d5567c6358fda0da744e56ccf52cda6e0db92b19a6055d38
DIST netsurf-buildsystem-1.2.tar.gz 38914 SHA256 3903a4a1551c9c202e1d2047344c4f3598c8d9d6c35ebf8cc2e18874bd0c9d61 SHA512 963e8a5033e8ef70595507f24fea3d9697eefb50ad7f92a6d3c913501c7026f12ec6d48f92b75e352b32f212f6216b8d8455aff25fa8d8d0fc12a3b19a875a1c WHIRLPOOL e56a520ae284089d0f36f06a6891ebb5b208ca847c74340c18581340e457c20ae9365999dc13284f438b965dcd7e85f04b93d1c1f22cadf6f7c1e2cef81d528c
DIST netsurf-fb.modes-example.gz 4586 SHA256 df1514790be120f27bd23dfdca71c24112679d45d3cbd3916f9231ec5e2596bb SHA512 753a707dc428212803dd64250bb723a498fdc1c328fdac4df38be533eab3af45f727cdc6b7ced3faaa0e82db182c4eab140b8e81b0d3cfe2152252b89e6d2981 WHIRLPOOL 5a91c32a712b746c993d2fa1d47625f16241e845d556b8113ab957eda7385ac5bdde5f78b0de2dad4df544c7d7c13d8145ebb9d81272af9a3759ad4e307c3767
-EBUILD netsurf-2.9.ebuild 4157 SHA256 6b321be09e4e31e3d2e085f2bd92a4429436c0bfe465c156394d4b56fbd562b4 SHA512 6618fd5716728f27e8bae4d60191505dbe2b78a399b498ea68b240127f7970970c50dfe733b0a58dafbdc5c949c6944b279259d0a50a8ff80fdb733a4ba00bb3 WHIRLPOOL b6b42a3271ed99ce7efd8caaef61568a90dc395ba163512389576f230b4d0f0aefb63fd937a5344c034107086d92f933e4ad63c6299e25cccd6a5f0095342c9f
-EBUILD netsurf-3.0-r1.ebuild 5178 SHA256 d35b8a53c0b49a9f5e85d2280abbc3b3723f4c4f91abd08839edd59807702df9 SHA512 547e448ed2360b3b72a4a00ad52affb202a12f1e9339c39834fcfe149fbe152a63af1ce7c9c0952cf304b95c94b9f024deb44f3ac1d70fa23ddcba5644aa814c WHIRLPOOL 0e32dc86e7a8e3a41e0381dcb723f7a4bb57899b269d2390666eaaacfb6bfcb7b8c3062f382656d8a7244af2f3411df8513a2ec9af4453da6f91ba1ae187032c
-EBUILD netsurf-3.0-r2.ebuild 5079 SHA256 17ec6bb7117438b5e1ad1e7ffaca7a2b5415d55584547f280e5651eedc477136 SHA512 505dc70dee1a10f8851bd4e6a6ed4747090e11ff3f0f19486fb4872de11a57a1224cf1a6a157cca5557ebe9eff9c570fd3fc441d4e79555c93e787334c0d6c90 WHIRLPOOL 145a4e1e58c886d2ce9e4477351306d954f293670ea3ea1cfd854d275771179d07d26a3a990191d8576989a7f97e8577c7db7d152a9f09745544ebf6139c9780
-EBUILD netsurf-3.0.ebuild 5175 SHA256 4e41732b3f30e3008b4530c55eb74e6860b1727c0c0f067e9135bece3ce28db3 SHA512 3ac42adb6075cdcf961fe7d90b0e1d7c3a281d698c82645501804488f6ef0d7545b388115cc2eae128c136c3bf67228e0419ff0c4978088ed209f4482139f690 WHIRLPOOL 06e3c20c48c5989091d22dc1c26532a014a74748d5ac2de39bc46b0fc5d9725305d0eaa0cf6590d37c571ec890d63a1bfaf5bce857eccf1be87caabc9a2dd61f
EBUILD netsurf-3.2-r1.ebuild 5157 SHA256 7333c46ecca405499c7fb3f6dad9892d011f42bdb4f6ccc0cc12064c675d1ac8 SHA512 f5c1c2f0e5748e2e77a6bedef17aac069138d845fc5b7bb1d8c9a8613621e87020b7d086348354610dac254109044c7eeaeafa0e681e19605af6080b03d05c57 WHIRLPOOL 3ee03ba139b55fc38925ff3222daead0eaed8cb57bb2c3d26b9cb83ee930587236b4c443dcc968aeb9a18abefe260b9e39119ea41ae4316ff040110202522d3b
-EBUILD netsurf-3.2.ebuild 5204 SHA256 57007cb01a2f1396e9073ffb68b3f086075a76389978e7e25ebcf2401b323453 SHA512 7fbd707dd3af23f7c5d04a93bca214aa50e63ffd97c35e784cb61814f41ef68ca473955b086c7cba545b1a232e3eca627b21e7a7e0705e96f0443a17d460bdb2 WHIRLPOOL ce4c79fe6f94676c6aff9da309b8d5b92b2ff7713071661a8eb300e03790658c7b638e8b72d6493d7938cacdcf9afcf5bbdca5849ccf47ea680b45740961c511
-MISC ChangeLog 2463 SHA256 b248c264365409f8256e63ed7f657a5367c0951d5d7e15549106772bcd6c592b SHA512 80f4d183d2ba125b1731ef3387c02f886329e0d36d9b5ab06c5c18cfc94f2b6e7eb8f504efd2515627c1bef6b3d1e7fbe1ee6d2f863d32792d2d11cfbac50256 WHIRLPOOL 41d89d192c10363878a8be9bb14271b0be40289900b320be4073b7b73db3f7dc5740483d2e735c1a5d266d150675258367f9801a5b42bd258a4e621955b1bf25
+MISC ChangeLog 2674 SHA256 ff80718c3618344d52cab03c705ecc002fa00238802c854bd990fd02e792c951 SHA512 282c00f82f158bc361104a0aa6db01240b4b2c01e1e8a1bd511561167777e83d273e54f726770d6925189b60a680c2cca20ab8f3827d24b3aaf2df4d7f84752a WHIRLPOOL 62811b9112730d62f0738c7195ba9c25f99c686cd621ea6708141f8f3e5249fc86cf684f0e74b7f79ec4654d6ffa0684eb66ae9b9d8546f26531eadfd9f8175f
MISC metadata.xml 1577 SHA256 f53de90c2188f6b757c2fdd700eaf1c25c642f708786c552449bd54c57da40f6 SHA512 4003d28e9ef15fe3f3a46080a2584986e166148a43f060cbc90bbcc46ffe130becca495b65ee3e0d3bd348f78fdd42bccfd0e1fa90a7176a8ff5d01151a4ffc8 WHIRLPOOL 8d6c7941d0731d8280e6ee016cbc500137cd5087523dd637657fbe1c668814bdf093b66bd68f89c9d12a2dedc71719e49e873cb935b006fa93c188af12424cc1
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
-iL4EAREIAGYFAlTPq8lfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl
+iL4EAREIAGYFAlTPrCtfFIAAAAAALgAoaXNzdWVyLWZwckBub3RhdGlvbnMub3Bl
bnBncC5maWZ0aGhvcnNlbWFuLm5ldDY3QjA4MzdGODg1NUMxMjIzNUQ0MDgxNzky
-N0FERDBDNjJFRUYwOTAACgkQknrdDGLu8JALyAD+Lz7y6rIOVQR3MOf3lcOZTlGj
-rxAtA765Ha2uwtphqM4A/A97K5KqJc+CPwcJzwrg0g375YKYOF2gBOTN7KZUnOk+
-=rVWB
+N0FERDBDNjJFRUYwOTAACgkQknrdDGLu8JCSSgD+ITWIktU8gUtLXrv3ryZcvJ+/
+nPwksKxFu790/4bo2qUA/3d2R6lAX7AePz1qyMpjgAI7Z3EaBq1sfXMSHbSc3CGX
+=aP77
-----END PGP SIGNATURE-----
diff --git a/www-client/netsurf/netsurf-2.9.ebuild b/www-client/netsurf/netsurf-2.9.ebuild
deleted file mode 100644
index 7059e242b586..000000000000
--- a/www-client/netsurf/netsurf-2.9.ebuild
+++ /dev/null
@@ -1,141 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/netsurf/netsurf-2.9.ebuild,v 1.6 2013/04/21 07:48:27 xmw Exp $
-
-EAPI=5
-
-inherit eutils multilib toolchain-funcs
-
-DESCRIPTION="a free, open source web browser"
-HOMEPAGE="http://www.netsurf-browser.org/"
-SRC_URI="http://download.netsurf-browser.org/${PN}/releases/source-full/${P}-full-src.tar.gz
- http://xmw.de/mirror/netsurf-fb.modes-example.gz"
-
-LICENSE="GPL-2 MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm"
-IUSE="bmp fbcon truetype gif gstreamer gtk javascript jpeg mng pdf-writer png rosprite svg svgtiny webp"
-
-RDEPEND="dev-libs/libcss
- dev-libs/libxml2
- net-libs/hubbub
- net-misc/curl
- bmp? ( media-libs/libnsbmp )
- fbcon? ( dev-libs/libnsfb )
- truetype? ( media-fonts/dejavu
- media-libs/freetype )
- gif? ( media-libs/libnsgif )
- gtk? ( dev-libs/glib:2
- gnome-base/libglade:2.0
- media-libs/lcms:0
- x11-libs/gtk+:2 )
- jpeg? ( virtual/jpeg )
- mng? ( media-libs/libmng )
- pdf-writer? ( media-libs/libharu )
- png? ( media-libs/libpng )
- svg? ( svgtiny? ( media-libs/libsvgtiny )
- !svgtiny? ( gnome-base/librsvg:2 ) )
- webp? ( media-libs/libwebp )"
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- rosprite? ( media-libs/librosprite )"
-
-REQUIRED_USE="|| ( fbcon gtk )"
-
-src_unpack() {
- default
- einfo "remove bundled libs"
- cd "${WORKDIR}" || die
- mv ${P} ${P}_complete || die
- mv ${P}_complete/${P} . || die
- rm -r ${P}_complete || die
-}
-
-src_prepare() {
- sed -e '/CFLAGS \(:\|+\)=/d' \
- -i Makefile.defaults || die
- sed -e '/^#define NSFB_TOOLBAR_DEFAULT_LAYOUT/s:blfsrut:blfsrutc:' \
- -i framebuffer/gui.c || die
- sed -e 's/xml2-config/${PKG_CONFIG} libxml-2.0/g' \
- -i */Makefile.target || die
-
- epatch "${FILESDIR}"/${P}-buildsystem.patch
- epatch "${FILESDIR}"/${P}-includes.patch
- epatch "${FILESDIR}"/${P}-conditionally-include-image-headers.patch
-}
-
-src_configure() {
- netsurf_set() {
- echo "override $1 := $2" >> Makefile.config || die
- }
- netsurf_use() {
- local val=${4:-NO}
- use $2 && val=${3:-YES}
- echo "override $1 := $val" >> Makefile.config || die
- }
- #see Makefile.defaults
- netsurf_use NETSURF_USE_BMP bmp
- netsurf_use NETSURF_USE_GIF gif
- netsurf_use NETSURF_USE_JPEG jpeg
- netsurf_use NETSURF_USE_PNG png
- netsurf_use NETSURF_USE_MNG mng
- netsurf_use NETSURF_USE_WEBP webp
- netsurf_use NETSURF_USE_VIDEO gstreamer
- netsurf_use NETSURF_USE_JS javascript
- netsurf_use NETSURF_USE_HARU_PDF pdf-writer
- netsurf_set PREFIX /usr
- netsurf_set Q
- netsurf_set CC $(tc-getCC)
- netsurf_set LD $(tc-getCC)
- netsurf_set PKG_CONFIG $(tc-getPKG_CONFIG)
-
- if use svg ; then
- if use svgtiny ; then
- netsurf_set NETSURF_USE_NSSVG YES
- netsurf_set NETSURF_USE_RSVG NO
- else
- netsurf_set NETSURF_USE_NSSVG NO
- netsurf_set NETSURF_USE_RSVG YES
- fi
- else
- netsurf_set NETSURF_USE_NSSVG NO
- netsurf_set NETSURF_USE_RSVG NO
- fi
- if use fbcon ; then
- netsurf_set NETSURF_FB_FRONTEND linux
- netsurf_use NETSURF_FB_FONTLIB truetype freetype internal
- netsurf_set NETSURF_FB_FONTPATH /usr/share/fonts/dejavu
- fi
- netsurf_use NETSURF_USE_ROSPRITE rosprite
-}
-
-src_compile() {
- use gtk && emake PREFIX="/usr" TARGET=gtk
- use fbcon && emake PREFIX="/usr" TARGET=framebuffer
-}
-
-src_install() {
- if use gtk ; then
- emake DESTDIR="${D}" PREFIX="/usr" TARGET=gtk install
- mv "${D}"/usr/bin/netsurf{,-gtk} || die
- make_desktop_entry /usr/bin/netsurf-gtk NetSurf-gtk netsurf "Network;WebBrowser"
- fi
- if use fbcon ; then
- emake DESTDIR="${D}" PREFIX="/usr" TARGET=framebuffer install
- mv "${D}"/usr/bin/netsurf{,-fb} || die
- make_desktop_entry /usr/bin/netsurf-fb NetSurf-framebuffer netsurf "Network;WebBrowser"
-
- einfo
- elog "In order to setup the framebuffer console, netsurf needs an /etc/fb.modes"
- elog "You can use an example from /usr/share/doc/${PF}/fb.modes.* (bug 427092)."
- einfo
- elog "Please make /etc/input/mice readable to the account using netsurf-fb."
- elog "Either use chmod a+r /etc/input/mice (security!!!) or use an group."
- einfo
- fi
- insinto /usr/share/pixmaps
- doins gtk/res/netsurf.xpm
-
- dodoc -r Docs/{USING-*,ideas}
- newdoc "${WORKDIR}"/netsurf-fb.modes-example fb.modes
-}
diff --git a/www-client/netsurf/netsurf-3.0-r1.ebuild b/www-client/netsurf/netsurf-3.0-r1.ebuild
deleted file mode 100644
index 8ecfef198bed..000000000000
--- a/www-client/netsurf/netsurf-3.0-r1.ebuild
+++ /dev/null
@@ -1,142 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/netsurf/netsurf-3.0-r1.ebuild,v 1.1 2013/08/22 16:50:07 xmw Exp $
-
-EAPI=5
-NETSURF_COMPONENT_TYPE=binary
-
-inherit netsurf
-
-DESCRIPTION="a free, open source web browser"
-HOMEPAGE="http://www.netsurf-browser.org/"
-SRC_URI="http://download.netsurf-browser.org/netsurf/releases/source/${P}-src.tar.gz
- http://xmw.de/mirror/netsurf-fb.modes-example.gz
- ${NETSURF_BUILDSYSTEM_SRC_URI}"
-
-LICENSE="GPL-2 MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm"
-IUSE="+bmp fbcon truetype +gif gstreamer gtk javascript +jpeg +mng pdf-writer
- +png +rosprite +svg +svgtiny +webp fbcon_frontend_able fbcon_frontend_linux
- fbcon_frontend_sdl fbcon_frontend_vnc fbcon_frontend_x"
-
-REQUIRED_USE="|| ( fbcon gtk )
- amd64? ( abi_x86_32? (
- !gstreamer !javascript !pdf-writer svg? ( svgtiny ) !truetype ) )
- fbcon? ( ^^ ( fbcon_frontend_able fbcon_frontend_linux fbcon_frontend_sdl
- fbcon_frontend_vnc fbcon_frontend_x ) )"
-
-RDEPEND="dev-libs/libxml2
- net-misc/curl
- >=dev-libs/libcss-0.2.0[${MULTILIB_USEDEP}]
- >=net-libs/libhubbub-0.2.0[${MULTILIB_USEDEP}]
- bmp? ( >=media-libs/libnsbmp-0.1.0[${MULTILIB_USEDEP}] )
- fbcon? ( >=dev-libs/libnsfb-0.1.0[${MULTILIB_USEDEP}]
- truetype? ( media-fonts/dejavu
- media-libs/freetype )
- )
- gif? ( >=media-libs/libnsgif-0.1.0[${MULTILIB_USEDEP}] )
- gtk? ( dev-libs/glib:2
- gnome-base/libglade:2.0
- media-libs/lcms:0
- x11-libs/gtk+:2
- amd64? ( abi_x86_32? ( app-emulation/emul-linux-x86-baselibs
- app-emulation/emul-linux-x86-gtklibs ) ) )
- gstreamer? ( media-libs/gstreamer:0.10 )
- javascript? ( dev-libs/nsgenbind )
- jpeg? ( virtual/jpeg
- amd64? ( abi_x86_32? ( app-emulation/emul-linux-x86-baselibs ) ) )
- mng? ( media-libs/libmng
- amd64? ( abi_x86_32? ( app-emulation/emul-linux-x86-baselibs ) ) )
- pdf-writer? ( media-libs/libharu )
- png? ( media-libs/libpng
- amd64? ( abi_x86_32? ( app-emulation/emul-linux-x86-baselibs ) ) )
- svg? ( svgtiny? ( >=media-libs/libsvgtiny-0.1.0[${MULTILIB_USEDEP}] )
- !svgtiny? ( gnome-base/librsvg:2 ) )
- webp? ( >=media-libs/libwebp-0.3.0[${MULTILIB_USEDEP}] )"
-DEPEND="${RDEPEND}
- javascript? ( dev-libs/nsgenbind )
- rosprite? ( >=media-libs/librosprite-0.1.0[${MULTILIB_USEDEP}] )"
-
-PATCHES=( "${FILESDIR}"/${P}-CFLAGS.patch
- "${FILESDIR}"/${P}-framebuffer-pkgconfig.patch
- "${FILESDIR}"/${PN}-2.9-conditionally-include-image-headers.patch )
-DOCS=( fb.modes README Docs/USING-Framebuffer
- Docs/ideas/{cache,css-engine,render-library}.txt )
-
-src_prepare() {
- rm -rf amiga atari beos cocoa monkey riscos windows || die
-
- mv "${WORKDIR}"/netsurf-fb.modes-example fb.modes
-
- netsurf_src_prepare
-}
-
-src_configure() {
- netsurf_src_configure
-
- netsurf_makeconf+=(
- NETSURF_USE_BMP=$(usex bmp YES NO)
- NETSURF_USE_GIF=$(usex gif YES NO)
- NETSURF_USE_JPEG=$(usex jpeg YES NO)
- NETSURF_USE_PNG=$(usex png YES NO)
- NETSURF_USE_PNG=$(usex png YES NO)
- NETSURF_USE_MNG=$(usex mng YES NO)
- NETSURF_USE_WEBP=$(usex webp YES NO)
- NETSURF_USE_VIDEO=$(usex gstreamer YES NO)
- NETSURF_USE_MOZJS=$(usex javascript YES NO)
- NETSURF_USE_JS=NO
- NETSURF_USE_HARU_PDF=$(usex pdf-writer YES NO)
- NETSURF_USE_NSSVG=$(usex svg $(usex svgtiny YES NO) NO)
- NETSURF_USE_RSVG=$(usex svg $(usex svgtiny NO YES) NO)
- NETSURF_USE_ROSPRITE=$(usex rosprite YES NO)
- PKG_CONFIG=$(tc-getPKG_CONFIG)
- $(usex fbcon_frontend_able NETSURF_FB_FRONTEND=able "")
- $(usex fbcon_frontend_linux NETSURF_FB_FRONTEND=linux "")
- $(usex fbcon_frontend_sdl NETSURF_FB_FRONTEND=sdl "")
- $(usex fbcon_frontend_vnc NETSURF_FB_FRONTEND=vnc "")
- $(usex fbcon_frontend_x NETSURF_FB_FRONTEND=x "")
- NETSURF_FB_FONTLIB=$(usex truetype freetype internal)
- NETSURF_FB_FONTPATH=${EROOT}usr/share/fonts/dejavu
- TARGET=dummy
- )
-}
-
-src_compile() {
- if use fbcon ; then
- netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=framebuffer}" )
- netsurf_src_compile
- fi
- if use gtk ; then
- netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=gtk}" )
- netsurf_src_compile
- fi
-}
-
-src_install() {
- sed -e '1iexit;' \
- -i "${WORKDIR}"/*/utils/git-testament.pl || die
-
- if use fbcon ; then
- netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=framebuffer}" )
- netsurf_src_install
- elog "framebuffer binary has been installed as netsurf-fb"
- mv -v "${ED}"usr/bin/netsurf{,-fb} || die
- make_desktop_entry "${EROOT}"usr/bin/netsurf-fb NetSurf-framebuffer netsurf "Network;WebBrowser"
-
- elog "In order to setup the framebuffer console, netsurf needs an /etc/fb.modes"
- elog "You can use an example from /usr/share/doc/${PF}/fb.modes.* (bug 427092)."
- elog "Please make /etc/input/mice readable to the account using netsurf-fb."
- elog "Either use chmod a+r /etc/input/mice (security!!!) or use an group."
- fi
- if use gtk ; then
- netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=gtk}" )
- netsurf_src_install
- elog "netsurf gtk version has been installed as netsurf-gtk"
- mv -v "${ED}"/usr/bin/netsurf{,-gtk} || die
- make_desktop_entry "${EROOT}"usr/bin/netsurf-gtk NetSurf-gtk netsurf "Network;WebBrowser"
- fi
-
- insinto /usr/share/pixmaps
- doins gtk/res/netsurf.xpm
-}
diff --git a/www-client/netsurf/netsurf-3.0-r2.ebuild b/www-client/netsurf/netsurf-3.0-r2.ebuild
deleted file mode 100644
index 200ebe4f07f5..000000000000
--- a/www-client/netsurf/netsurf-3.0-r2.ebuild
+++ /dev/null
@@ -1,137 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/netsurf/netsurf-3.0-r2.ebuild,v 1.3 2014/06/24 22:17:10 mgorny Exp $
-
-EAPI=5
-NETSURF_COMPONENT_TYPE=binary
-
-inherit netsurf
-
-DESCRIPTION="a free, open source web browser"
-HOMEPAGE="http://www.netsurf-browser.org/"
-SRC_URI="http://download.netsurf-browser.org/netsurf/releases/source/${P}-src.tar.gz
- http://xmw.de/mirror/netsurf-fb.modes-example.gz
- ${NETSURF_BUILDSYSTEM_SRC_URI}"
-
-LICENSE="GPL-2 MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm"
-IUSE="+bmp fbcon truetype +gif gstreamer gtk javascript +jpeg +mng pdf-writer
- +png +rosprite +svg +svgtiny +webp fbcon_frontend_able fbcon_frontend_linux
- fbcon_frontend_sdl fbcon_frontend_vnc fbcon_frontend_x"
-
-REQUIRED_USE="|| ( fbcon gtk )
- amd64? ( abi_x86_32? (
- !gstreamer !javascript !pdf-writer svg? ( svgtiny ) !truetype ) )
- fbcon? ( ^^ ( fbcon_frontend_able fbcon_frontend_linux fbcon_frontend_sdl
- fbcon_frontend_vnc fbcon_frontend_x ) )"
-
-RDEPEND="dev-libs/libxml2
- net-misc/curl
- >=dev-libs/libcss-0.2.0[${MULTILIB_USEDEP}]
- >=net-libs/libhubbub-0.2.0[${MULTILIB_USEDEP}]
- bmp? ( >=media-libs/libnsbmp-0.1.0[${MULTILIB_USEDEP}] )
- fbcon? ( >=dev-libs/libnsfb-0.1.0[${MULTILIB_USEDEP}]
- truetype? ( media-fonts/dejavu
- >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}] )
- )
- gif? ( >=media-libs/libnsgif-0.1.0[${MULTILIB_USEDEP}] )
- gtk? ( >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}]
- gnome-base/libglade:2.0
- >=media-libs/lcms-1.19-r1:0[${MULTILIB_USEDEP}]
- >=x11-libs/gtk+-2.24.23:2[${MULTILIB_USEDEP}] )
- gstreamer? ( media-libs/gstreamer:0.10 )
- javascript? ( dev-libs/nsgenbind )
- jpeg? ( >=virtual/jpeg-0-r2[${MULTILIB_USEDEP}] )
- mng? ( >=media-libs/libmng-1.0.10-r2[${MULTILIB_USEDEP}] )
- pdf-writer? ( media-libs/libharu )
- png? ( >=media-libs/libpng-1.2.51[${MULTILIB_USEDEP}] )
- svg? ( svgtiny? ( >=media-libs/libsvgtiny-0.1.0[${MULTILIB_USEDEP}] )
- !svgtiny? ( gnome-base/librsvg:2 ) )
- webp? ( >=media-libs/libwebp-0.3.0[${MULTILIB_USEDEP}] )"
-DEPEND="${RDEPEND}
- javascript? ( dev-libs/nsgenbind )
- rosprite? ( >=media-libs/librosprite-0.1.0[${MULTILIB_USEDEP}] )"
-
-PATCHES=( "${FILESDIR}"/${P}-CFLAGS.patch
- "${FILESDIR}"/${P}-framebuffer-pkgconfig.patch
- "${FILESDIR}"/${PN}-2.9-conditionally-include-image-headers.patch )
-DOCS=( fb.modes README Docs/USING-Framebuffer
- Docs/ideas/{cache,css-engine,render-library}.txt )
-
-src_prepare() {
- rm -rf amiga atari beos cocoa monkey riscos windows || die
-
- mv "${WORKDIR}"/netsurf-fb.modes-example fb.modes
-
- netsurf_src_prepare
-}
-
-src_configure() {
- netsurf_src_configure
-
- netsurf_makeconf+=(
- NETSURF_USE_BMP=$(usex bmp YES NO)
- NETSURF_USE_GIF=$(usex gif YES NO)
- NETSURF_USE_JPEG=$(usex jpeg YES NO)
- NETSURF_USE_PNG=$(usex png YES NO)
- NETSURF_USE_PNG=$(usex png YES NO)
- NETSURF_USE_MNG=$(usex mng YES NO)
- NETSURF_USE_WEBP=$(usex webp YES NO)
- NETSURF_USE_VIDEO=$(usex gstreamer YES NO)
- NETSURF_USE_MOZJS=$(usex javascript YES NO)
- NETSURF_USE_JS=NO
- NETSURF_USE_HARU_PDF=$(usex pdf-writer YES NO)
- NETSURF_USE_NSSVG=$(usex svg $(usex svgtiny YES NO) NO)
- NETSURF_USE_RSVG=$(usex svg $(usex svgtiny NO YES) NO)
- NETSURF_USE_ROSPRITE=$(usex rosprite YES NO)
- PKG_CONFIG=$(tc-getPKG_CONFIG)
- $(usex fbcon_frontend_able NETSURF_FB_FRONTEND=able "")
- $(usex fbcon_frontend_linux NETSURF_FB_FRONTEND=linux "")
- $(usex fbcon_frontend_sdl NETSURF_FB_FRONTEND=sdl "")
- $(usex fbcon_frontend_vnc NETSURF_FB_FRONTEND=vnc "")
- $(usex fbcon_frontend_x NETSURF_FB_FRONTEND=x "")
- NETSURF_FB_FONTLIB=$(usex truetype freetype internal)
- NETSURF_FB_FONTPATH=${EROOT}usr/share/fonts/dejavu
- TARGET=dummy
- )
-}
-
-src_compile() {
- if use fbcon ; then
- netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=framebuffer}" )
- netsurf_src_compile
- fi
- if use gtk ; then
- netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=gtk}" )
- netsurf_src_compile
- fi
-}
-
-src_install() {
- sed -e '1iexit;' \
- -i "${WORKDIR}"/*/utils/git-testament.pl || die
-
- if use fbcon ; then
- netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=framebuffer}" )
- netsurf_src_install
- elog "framebuffer binary has been installed as netsurf-fb"
- mv -v "${ED}"usr/bin/netsurf{,-fb} || die
- make_desktop_entry "${EROOT}"usr/bin/netsurf-fb NetSurf-framebuffer netsurf "Network;WebBrowser"
-
- elog "In order to setup the framebuffer console, netsurf needs an /etc/fb.modes"
- elog "You can use an example from /usr/share/doc/${PF}/fb.modes.* (bug 427092)."
- elog "Please make /etc/input/mice readable to the account using netsurf-fb."
- elog "Either use chmod a+r /etc/input/mice (security!!!) or use an group."
- fi
- if use gtk ; then
- netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=gtk}" )
- netsurf_src_install
- elog "netsurf gtk version has been installed as netsurf-gtk"
- mv -v "${ED}"/usr/bin/netsurf{,-gtk} || die
- make_desktop_entry "${EROOT}"usr/bin/netsurf-gtk NetSurf-gtk netsurf "Network;WebBrowser"
- fi
-
- insinto /usr/share/pixmaps
- doins gtk/res/netsurf.xpm
-}
diff --git a/www-client/netsurf/netsurf-3.0.ebuild b/www-client/netsurf/netsurf-3.0.ebuild
deleted file mode 100644
index 6b18e0ab4937..000000000000
--- a/www-client/netsurf/netsurf-3.0.ebuild
+++ /dev/null
@@ -1,142 +0,0 @@
-# Copyright 1999-2013 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/netsurf/netsurf-3.0.ebuild,v 1.4 2013/06/23 16:53:54 xmw Exp $
-
-EAPI=5
-NETSURF_COMPONENT_TYPE=binary
-
-inherit netsurf
-
-DESCRIPTION="a free, open source web browser"
-HOMEPAGE="http://www.netsurf-browser.org/"
-SRC_URI="http://download.netsurf-browser.org/netsurf/releases/source/${P}-src.tar.gz
- http://xmw.de/mirror/netsurf-fb.modes-example.gz
- ${NETSURF_BUILDSYSTEM_SRC_URI}"
-
-LICENSE="GPL-2 MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm"
-IUSE="+bmp fbcon truetype +gif gstreamer gtk javascript +jpeg +mng pdf-writer
- +png +rosprite +svg +svgtiny +webp fbcon_frontend_able fbcon_frontend_linux
- fbcon_frontend_sdl fbcon_frontend_vnc fbcon_frontend_x"
-
-REQUIRED_USE="|| ( fbcon gtk )
- amd64? ( abi_x86_32? (
- !gstreamer !javascript !pdf-writer svg? ( svgtiny ) !truetype ) )
- fbcon? ( ^^ ( fbcon_frontend_able fbcon_frontend_linux fbcon_frontend_sdl
- fbcon_frontend_vnc fbcon_frontend_x ) )"
-
-RDEPEND="dev-libs/libxml2
- net-misc/curl
- >=dev-libs/libcss-0.2.0[${MULTILIB_USEDEP}]
- >=net-libs/libhubbub-0.2.0[${MULTILIB_USEDEP}]
- bmp? ( >=media-libs/libnsbmp-0.1.0[${MULTILIB_USEDEP}] )
- fbcon? ( >=dev-libs/libnsfb-0.1.0[${MULTILIB_USEDEP}]
- truetype? ( media-fonts/dejavu
- media-libs/freetype )
- )
- gif? ( >=media-libs/libnsgif-0.1.0[${MULTILIB_USEDEP}] )
- gtk? ( dev-libs/glib:2
- gnome-base/libglade:2.0
- media-libs/lcms:0
- x11-libs/gtk+:2
- amd64? ( abi_x86_32? ( app-emulation/emul-linux-x86-baselibs
- app-emulation/emul-linux-x86-gtklibs ) ) )
- gstreamer? ( media-libs/gstreamer:0.10 )
- javascript? ( dev-libs/nsgenbind )
- jpeg? ( virtual/jpeg
- amd64? ( abi_x86_32? ( app-emulation/emul-linux-x86-baselibs ) ) )
- mng? ( media-libs/libmng
- amd64? ( abi_x86_32? ( app-emulation/emul-linux-x86-baselibs ) ) )
- pdf-writer? ( media-libs/libharu )
- png? ( media-libs/libpng
- amd64? ( abi_x86_32? ( app-emulation/emul-linux-x86-baselibs ) ) )
- svg? ( svgtiny? ( >=media-libs/libsvgtiny-0.1.0[${MULTILIB_USEDEP}] )
- !svgtiny? ( gnome-base/librsvg:2 ) )
- webp? ( >=media-libs/libwebp-0.3.0[${MULTILIB_USEDEP}] )"
-DEPEND="${RDEPEND}
- javascript? ( dev-libs/nsgenbind )
- rosprite? ( >=media-libs/librosprite-0.1.0[${MULTILIB_USEDEP}] )"
-
-PATCHES=( "${FILESDIR}"/${P}-CFLAGS.patch
- "${FILESDIR}"/${P}-framebuffer-pkgconfig.patch
- "${FILESDIR}"/${PN}-2.9-conditionally-include-image-headers.patch )
-DOCS=( fb.modes README Docs/USING-Framebuffer
- Docs/ideas/{cache,css-engine,render-library}.txt )
-
-src_prepare() {
- rm -rf amiga atari beos cocoa monkey riscos windows || die
-
- mv "${WORKDIR}"/netsurf-fb.modes-example fb.modes
-
- netsurf_src_prepare
-}
-
-src_configure() {
- netsurf_src_configure
-
- netsurf_makeconf+=(
- NETSURF_USE_BMP=$(usex bmp YES NO)
- NETSURF_USE_GIF=$(usex gif YES NO)
- NETSURF_USE_JPEG=$(usex jpeg YES NO)
- NETSURF_USE_PNG=$(usex png YES NO)
- NETSURF_USE_PNG=$(usex png YES NO)
- NETSURF_USE_MNG=$(usex mng YES NO)
- NETSURF_USE_WEBP=$(usex webp YES NO)
- NETSURF_USE_VIDEO=$(usex gstreamer YES NO)
- NETSURF_USE_MOZJS=$(usex javascript YES NO)
- NETSURF_USE_JS=NO
- NETSURF_USE_HARU_PDF=$(usex pdf-writer YES NO)
- NETSURF_USE_NSSVG=$(usex svg $(usex svgtiny YES NO) NO)
- NETSURF_USE_RSVG=$(usex svg $(usex svgtiny NO YES) NO)
- NETSURF_USE_ROSPRITE=$(usex rosprite YES NO)
- PKG_CONFIG=$(tc-getPKG_CONFIG)
- $(usex fbcon_frontend_able NETSURF_FB_FRONTEND=able "")
- $(usex fbcon_frontend_linux NETSURF_FB_FRONTEND=linux "")
- $(usex fbcon_frontend_sdl NETSURF_FB_FRONTEND=sdl "")
- $(usex fbcon_frontend_vnc NETSURF_FB_FRONTEND=vnc "")
- $(usex fbcon_frontend_x NETSURF_FB_FRONTEND=x "")
- NETSURF_FB_FONTLIB=$(usex truetype freetype internal)
- NETSURF_FB_FONTPATH=${EROOT}usr/share/fonts/dejavu
- TARGET=dummy
- )
-}
-
-src_compile() {
- if use fbcon ; then
- netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=framebuffer}" )
- netsurf_src_compile
- fi
- if use gtk ; then
- netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=gtk}" )
- netsurf_src_compile
- fi
-}
-
-src_install() {
- sed -e '1iexit;' \
- -i "${WORKDIR}"/*/utils/git-testament.pl || die
-
- if use fbcon ; then
- netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=framebuffer}" )
- netsurf_src_install
- elog "framebuffer binary has been installed as netsurf-fb"
- mv -v "${ED}"usr/bin/netsurf{,-fb} || die
- make_desktop_entry "${EROOT}"usr/bin/netsurf-gtk NetSurf-gtk netsurf "Network;WebBrowser"
-
- elog "In order to setup the framebuffer console, netsurf needs an /etc/fb.modes"
- elog "You can use an example from /usr/share/doc/${PF}/fb.modes.* (bug 427092)."
- elog "Please make /etc/input/mice readable to the account using netsurf-fb."
- elog "Either use chmod a+r /etc/input/mice (security!!!) or use an group."
- fi
- if use gtk ; then
- netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=gtk}" )
- netsurf_src_install
- elog "netsurf gtk version has been installed as netsurf-gtk"
- mv -v "${ED}"/usr/bin/netsurf{,-gtk} || die
- make_desktop_entry "${EROOT}"usr/bin/netsurf-fb NetSurf-framebuffer netsurf "Network;WebBrowser"
- fi
-
- insinto /usr/share/pixmaps
- doins gtk/res/netsurf.xpm
-}
diff --git a/www-client/netsurf/netsurf-3.2.ebuild b/www-client/netsurf/netsurf-3.2.ebuild
deleted file mode 100644
index 82f8d852bd77..000000000000
--- a/www-client/netsurf/netsurf-3.2.ebuild
+++ /dev/null
@@ -1,139 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/netsurf/netsurf-3.2.ebuild,v 1.1 2014/11/15 15:01:58 xmw Exp $
-
-EAPI=5
-
-NETSURF_COMPONENT_TYPE=binary
-NETSURF_BUILDSYSTEM=buildsystem-1.2
-inherit netsurf
-
-DESCRIPTION="a free, open source web browser"
-HOMEPAGE="http://www.netsurf-browser.org/"
-SRC_URI="http://download.netsurf-browser.org/netsurf/releases/source/${P}-src.tar.gz
- http://xmw.de/mirror/netsurf-fb.modes-example.gz
- ${NETSURF_BUILDSYSTEM_SRC_URI}"
-
-LICENSE="GPL-2 MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~arm"
-IUSE="+bmp fbcon truetype +gif gstreamer gtk javascript +jpeg +mng pdf-writer
- +png +rosprite +svg +svgtiny +webp fbcon_frontend_able fbcon_frontend_linux
- fbcon_frontend_sdl fbcon_frontend_vnc fbcon_frontend_x"
-
-REQUIRED_USE="|| ( fbcon gtk )
- amd64? ( abi_x86_32? (
- !gstreamer !javascript !pdf-writer svg? ( svgtiny ) !truetype ) )
- fbcon? ( ^^ ( fbcon_frontend_able fbcon_frontend_linux fbcon_frontend_sdl
- fbcon_frontend_vnc fbcon_frontend_x ) )"
-
-RDEPEND="dev-libs/libxml2
- net-misc/curl
- >=dev-libs/libcss-0.4.0[${MULTILIB_USEDEP}]
- >=net-libs/libhubbub-0.3.0-r1[${MULTILIB_USEDEP}]
- bmp? ( >=media-libs/libnsbmp-0.1.1[${MULTILIB_USEDEP}] )
- fbcon? ( >=dev-libs/libnsfb-0.1.2[${MULTILIB_USEDEP}]
- truetype? ( media-fonts/dejavu
- >=media-libs/freetype-2.5.0.1[${MULTILIB_USEDEP}] )
- )
- gif? ( >=media-libs/libnsgif-0.1.1[${MULTILIB_USEDEP}] )
- gtk? ( >=dev-libs/glib-2.34.3:2[${MULTILIB_USEDEP}]
- gnome-base/libglade:2.0
- >=media-libs/lcms-1.19-r1:0[${MULTILIB_USEDEP}]
- >=x11-libs/gtk+-2.24.23:2[${MULTILIB_USEDEP}] )
- gstreamer? ( media-libs/gstreamer:0.10 )
- javascript? ( >=dev-libs/nsgenbind-0.1.1[${MULTILIB_USEDEP}] )
- jpeg? ( >=virtual/jpeg-0-r2[${MULTILIB_USEDEP}] )
- mng? ( >=media-libs/libmng-1.0.10-r2[${MULTILIB_USEDEP}] )
- pdf-writer? ( media-libs/libharu )
- png? ( >=media-libs/libpng-1.2.51[${MULTILIB_USEDEP}] )
- svg? ( svgtiny? ( >=media-libs/libsvgtiny-0.1.2[${MULTILIB_USEDEP}] )
- !svgtiny? ( gnome-base/librsvg:2 ) )
- webp? ( >=media-libs/libwebp-0.3.0[${MULTILIB_USEDEP}] )"
-DEPEND="${RDEPEND}
- javascript? ( >=dev-libs/nsgenbind-0.1.1[${MULTILIB_USEDEP}] )
- rosprite? ( >=media-libs/librosprite-0.1.1[${MULTILIB_USEDEP}] )"
-
-PATCHES=( "${FILESDIR}"/${P}-CFLAGS.patch
- "${FILESDIR}"/${PN}-3.0-framebuffer-pkgconfig.patch
- "${FILESDIR}"/${P}-conditionally-include-image-headers.patch
- "${FILESDIR}"/${P}-glibc2.20.patch )
-DOCS=( fb.modes README Docs/USING-Framebuffer
- Docs/ideas/{cache,css-engine,render-library}.txt )
-
-src_prepare() {
- rm -rf amiga atari beos cocoa monkey riscos windows || die
-
- mv "${WORKDIR}"/netsurf-fb.modes-example fb.modes
-
- netsurf_src_prepare
-}
-
-src_configure() {
- netsurf_src_configure
-
- netsurf_makeconf+=(
- NETSURF_USE_BMP=$(usex bmp YES NO)
- NETSURF_USE_GIF=$(usex gif YES NO)
- NETSURF_USE_JPEG=$(usex jpeg YES NO)
- NETSURF_USE_PNG=$(usex png YES NO)
- NETSURF_USE_PNG=$(usex png YES NO)
- NETSURF_USE_MNG=$(usex mng YES NO)
- NETSURF_USE_WEBP=$(usex webp YES NO)
- NETSURF_USE_VIDEO=$(usex gstreamer YES NO)
- NETSURF_USE_MOZJS=$(usex javascript YES NO)
- NETSURF_USE_JS=NO
- NETSURF_USE_HARU_PDF=$(usex pdf-writer YES NO)
- NETSURF_USE_NSSVG=$(usex svg $(usex svgtiny YES NO) NO)
- NETSURF_USE_RSVG=$(usex svg $(usex svgtiny NO YES) NO)
- NETSURF_USE_ROSPRITE=$(usex rosprite YES NO)
- PKG_CONFIG=$(tc-getPKG_CONFIG)
- $(usex fbcon_frontend_able NETSURF_FB_FRONTEND=able "")
- $(usex fbcon_frontend_linux NETSURF_FB_FRONTEND=linux "")
- $(usex fbcon_frontend_sdl NETSURF_FB_FRONTEND=sdl "")
- $(usex fbcon_frontend_vnc NETSURF_FB_FRONTEND=vnc "")
- $(usex fbcon_frontend_x NETSURF_FB_FRONTEND=x "")
- NETSURF_FB_FONTLIB=$(usex truetype freetype internal)
- NETSURF_FB_FONTPATH=${EROOT}usr/share/fonts/dejavu
- TARGET=dummy
- )
-}
-
-src_compile() {
- if use fbcon ; then
- netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=framebuffer}" )
- netsurf_src_compile
- fi
- if use gtk ; then
- netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=gtk}" )
- netsurf_src_compile
- fi
-}
-
-src_install() {
- sed -e '1iexit;' \
- -i "${WORKDIR}"/*/utils/git-testament.pl || die
-
- if use fbcon ; then
- netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=framebuffer}" )
- netsurf_src_install
- elog "framebuffer binary has been installed as netsurf-fb"
- mv -v "${ED}"usr/bin/netsurf{,-fb} || die
- make_desktop_entry "${EROOT}"usr/bin/netsurf-fb NetSurf-framebuffer netsurf "Network;WebBrowser"
-
- elog "In order to setup the framebuffer console, netsurf needs an /etc/fb.modes"
- elog "You can use an example from /usr/share/doc/${PF}/fb.modes.* (bug 427092)."
- elog "Please make /etc/input/mice readable to the account using netsurf-fb."
- elog "Either use chmod a+r /etc/input/mice (security!!!) or use an group."
- fi
- if use gtk ; then
- netsurf_makeconf=( "${netsurf_makeconf[@]/TARGET=*/TARGET=gtk}" )
- netsurf_src_install
- elog "netsurf gtk version has been installed as netsurf-gtk"
- mv -v "${ED}"/usr/bin/netsurf{,-gtk} || die
- make_desktop_entry "${EROOT}"usr/bin/netsurf-gtk NetSurf-gtk netsurf "Network;WebBrowser"
- fi
-
- insinto /usr/share/pixmaps
- doins gtk/res/netsurf.xpm
-}