diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2015-09-30 20:30:08 +0000 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2015-09-30 20:30:33 +0000 |
commit | 3cd1308f0a6ea19f0b5512c5fde0d2e18ad9f7d3 (patch) | |
tree | 90c39a41400db69ab68e92c9fd1b4db2f88c2567 /www-client/links | |
parent | dev-perl/Mo: Keyword for ppc+ppc64. (diff) | |
download | gentoo-3cd1308f0a6ea19f0b5512c5fde0d2e18ad9f7d3.tar.gz gentoo-3cd1308f0a6ea19f0b5512c5fde0d2e18ad9f7d3.tar.bz2 gentoo-3cd1308f0a6ea19f0b5512c5fde0d2e18ad9f7d3.zip |
www-client/links: Version bump.
Package-Manager: portage-2.2.18
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'www-client/links')
-rw-r--r-- | www-client/links/Manifest | 1 | ||||
-rw-r--r-- | www-client/links/links-2.12.ebuild | 128 |
2 files changed, 129 insertions, 0 deletions
diff --git a/www-client/links/Manifest b/www-client/links/Manifest index dcacc83f10f7..33ea0cb16510 100644 --- a/www-client/links/Manifest +++ b/www-client/links/Manifest @@ -1,5 +1,6 @@ DIST links-2.10.tar.bz2 6230715 SHA256 840e0b0cc804a58567bdfed1fa8012c9ea2d34a853d4e90f857786ab4b791d53 SHA512 7963d95d48496087c8e3a30bcf5827bdebd0831184a168696220b4cd598a8242a0b815523a36474282e749b68bf6c046615bde9cb6d463cc0de8ef67a0f48f3f WHIRLPOOL b993e82f2d6fff156d18b30df919787da1eb95eac7920d17939da79e15eab08dcf2ff7ffb3032b066f4b608e2236d2354ccb6058c2f8c29375ea92655e2d6cdd DIST links-2.11.tar.bz2 6409903 SHA256 87f7f927d6394f1dc45886dd5ff89234c4e0fb321132ceaa009db5bcc26f123f SHA512 661868021914db7aad788d4302093e3abdf2e6e541bcbd7206b816c2a07707cec99f86c54271bec906f760f1637d78cde97f0eb37bb795279cf7b6b3a5e040b5 WHIRLPOOL 839d0b120d1065da939d412826f57c0de0cc3c73468e8db1e40bf3a79c3bfb5464ad1a1d9a7bb9658a099e35207123b39081a499ea0a32d6253ee86866502085 +DIST links-2.12.tar.bz2 6418151 SHA256 98411811ded1e8028f5aed708dd7d8ec0ae63ce24c2991a0241a989b7d09d84e SHA512 cd41eac369a8da090c56fbec42016541204fa4e098c8693f5f7766ce6e108a0cda0b205d090d3a351db0a9d9483e9b9145763faa255f0a13873bcd0ef058d6b5 WHIRLPOOL ba2a741e670aa2c131800a3234e37b4f14b3735177d80c56b5750c01c802a444dd475bd3d094be1fa111f43faf8212e3f830582290fbe377742773fb8c479d16 DIST links-2.8.tar.bz2 4102643 SHA256 7950da386fa2014d75edc23abfaeed1b1f171ebc73bf0f557352948f12390096 SHA512 e6325be0bb81a9f4dc602f9c05150ebc3c4e16373767c284c02a87bd6b89b9a28ff409c175695542277faa361b71151c5c619135f36a59a04558fc3426c4b30a WHIRLPOOL d5233857bb057279b54883fc9026b5a35e22116ba9f9bb00971872d8a4a658c9fc20b765abd50328c5f1e835ab03e32f9432115671a74c729510d46b53f5d0eb DIST links-2.9.tar.bz2 4111393 SHA256 4360ead54d5f41da16b2f4c0033317ca775f40c1e658a29e9e7f8ce4bc23878f SHA512 386f53e8a8eac78b5f1a85277d449f2cc23e96dbc505c776fa5123c3c4ee34916c9da867766849fb71ff7701df161bd1906a34468bd9c31183abdce1d03819a7 WHIRLPOOL b3f4e88df0df05c20c8915ebb30b81aa0aef519ef09fff0f6528c787174adcd003b68b2374851b7b37d4329ea6b4766f6a2a6145703a1d8ce338dbaf1a57dab6 DIST links2_2.10-2.debian.tar.xz 13964 SHA256 2fbefdaed1864fd4e21b2dd8aed477e3954a7edd69bc16bb1cecd4ebcf16295c SHA512 01101edef00ede0b95857ea28d305e98198306c428b79bb9c05da16285d8b4052b7f800f7def67a945d498db440745d81b7e3b6a03c9b077d5bcf5da1cb2691e WHIRLPOOL 092b38877454dabb6833482479498e0db45e3ead3fdbeb31030cca048fbe4c98bfd1739a30a284ba68840c2e30c439fd807fa6c356cbd3d70b9a903931978bfd diff --git a/www-client/links/links-2.12.ebuild b/www-client/links/links-2.12.ebuild new file mode 100644 index 000000000000..3d696064e44d --- /dev/null +++ b/www-client/links/links-2.12.ebuild @@ -0,0 +1,128 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools eutils fdo-mime + +DEBIAN_REVISION=2.10-2 + +DESCRIPTION="A fast and lightweight web browser running in both graphics and text mode" +HOMEPAGE="http://links.twibright.com/" +SRC_URI="http://${PN}.twibright.com/download/${P}.tar.bz2 + mirror://debian/pool/main/${PN:0:1}/${PN}2/${PN}2_${DEBIAN_REVISION}.debian.tar.xz" + +LICENSE="GPL-2" +SLOT="2" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~ia64-hpux ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~x64-solaris ~x86-solaris" +IUSE="bzip2 directfb fbcon gpm ipv6 jpeg livecd lzma ssl suid svga tiff unicode X zlib" + +GRAPHICS_DEPEND="media-libs/libpng:0=" + +RDEPEND="bzip2? ( app-arch/bzip2 ) + directfb? ( + ${GRAPHICS_DEPEND} + dev-libs/DirectFB + ) + fbcon? ( ${GRAPHICS_DEPEND} ) + gpm? ( sys-libs/gpm ) + jpeg? ( virtual/jpeg:0 ) + livecd? ( + ${GRAPHICS_DEPEND} + sys-libs/gpm + virtual/jpeg:0 + ) + lzma? ( app-arch/xz-utils ) + ssl? ( dev-libs/openssl:0 ) + svga? ( + ${GRAPHICS_DEPEND} + media-libs/svgalib + ) + tiff? ( media-libs/tiff:0 ) + X? ( + ${GRAPHICS_DEPEND} + x11-libs/libXext + ) + zlib? ( sys-libs/zlib )" + +DEPEND="${RDEPEND} + virtual/pkgconfig + fbcon? ( virtual/os-headers ) + livecd? ( virtual/os-headers )" + +REQUIRED_USE="!livecd? ( fbcon? ( gpm ) ) + svga? ( suid )" + +DOCS=( AUTHORS BRAILLE_HOWTO ChangeLog KEYS NEWS README SITES ) + +src_prepare() { + if use unicode; then + pushd intl >/dev/null + ./gen-intl || die + ./synclang || die + popd >/dev/null + fi + + # error: conditional "am__fastdepCXX" was never defined (for eautoreconf) + sed -i \ + -e '/AC_PROG_CXX/s:dnl ::' \ + -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' \ + configure.in || die #467020 + + # Upstream configure produced by broken autoconf-2.13. This also fixes + # toolchain detection. + eautoreconf #131440 and #103483#c23 +} + +src_configure() { + local myconf + + if use livecd; then + export ac_cv_lib_gpm_Gpm_Open=yes + myconf+=' --with-fb --with-libjpeg' + else + export ac_cv_lib_gpm_Gpm_Open=$(usex gpm) + fi + + if use X || use fbcon || use directfb || use svga || use livecd; then + myconf+=' --enable-graphics' + fi + + econf \ + $(use_with ipv6) \ + $(use_with ssl) \ + $(use_with zlib) \ + $(use_with bzip2) \ + $(use_with lzma) \ + $(use_with svga svgalib) \ + $(use_with X x) \ + $(use_with fbcon fb) \ + $(use_with directfb) \ + $(use_with jpeg libjpeg) \ + $(use_with tiff libtiff) \ + ${myconf} +} + +src_install() { + default + + if use X; then + newicon Links_logo.png links.png + make_desktop_entry 'links -g %u' Links links 'Network;WebBrowser' + local d="${ED}"/usr/share/applications + echo 'MimeType=x-scheme-handler/http;' >> "${d}"/*.desktop + use ssl && sed -i -e 's:x-scheme-handler/http;:&x-scheme-handler/https;:' \ + "${d}"/*.desktop + fi + + dohtml doc/links_cal/* + use suid && fperms 4755 /usr/bin/links +} + +pkg_postinst() { + use X && fdo-mime_desktop_database_update +} + +pkg_postrm() { + use X && fdo-mime_desktop_database_update +} |