diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /www-client/links |
reinit the tree, so we can have metadata
Diffstat (limited to 'www-client/links')
-rw-r--r-- | www-client/links/Manifest | 6 | ||||
-rw-r--r-- | www-client/links/links-2.14.ebuild | 155 | ||||
-rw-r--r-- | www-client/links/metadata.xml | 11 |
3 files changed, 172 insertions, 0 deletions
diff --git a/www-client/links/Manifest b/www-client/links/Manifest new file mode 100644 index 000000000000..72b1205e90d1 --- /dev/null +++ b/www-client/links/Manifest @@ -0,0 +1,6 @@ +DIST links-2.14.tar.bz2 6535707 SHA256 f70d0678ef1c5550953bdc27b12e72d5de86e53b05dd59b0fc7f07c507f244b8 SHA512 d03b091957e0a2e06605fcf7c9bc56d48ebbcdc695f4ce894901540008455a9bc6544abdecd787faa041e2dbdff28b0d6ddcc9d26528d39d7d72750655c73575 WHIRLPOOL ab8a3e963a3bb22ed8e7a079bed01e6ee9db19ce8714b68a5e4b61ef9092c929f1f5898a15bdb0f8ae299ec9330f355444a9eb2962f5f22f3de725ac407cb48d +DIST links2_2.10-2.debian.tar.xz 13964 SHA256 2fbefdaed1864fd4e21b2dd8aed477e3954a7edd69bc16bb1cecd4ebcf16295c SHA512 01101edef00ede0b95857ea28d305e98198306c428b79bb9c05da16285d8b4052b7f800f7def67a945d498db440745d81b7e3b6a03c9b077d5bcf5da1cb2691e WHIRLPOOL 092b38877454dabb6833482479498e0db45e3ead3fdbeb31030cca048fbe4c98bfd1739a30a284ba68840c2e30c439fd807fa6c356cbd3d70b9a903931978bfd +EBUILD links-2.14.ebuild 3332 SHA256 9703f7fb6d851205d0b49d40e920b33d912e96c5731d318ce35dd21c4230872a SHA512 b2f55df94ffda2db4bcab87115ae8caa92da6e993cc05e903b5675eef2ec6dfba711b3fd899f945a57800226c4fd479ed548c296a4d10d3640abc740970e02ba WHIRLPOOL 76f114b02108145e602e0a1cfdebfea0f9558ee8324a4e4a28ca85dc8c8849415e13add1e4cd222a4a56a56727648b4d8da1bae5aaf3e0b02b6d85bf1f9890fb +MISC ChangeLog 6108 SHA256 e72c811f5c7460c77505e04a45dc57377df9aa1a68a1c20af2140277ccbd08c0 SHA512 d0ee2f7acf8e18d90d4904d89d52c39b9a1b319ff3fa04d4c5f9110cc00c4e481dcfe583ed1fd3c216793531f384709fe094c6b8eb7624cd39b12d61f06c5bd4 WHIRLPOOL 3fb0b8ea32bb7e9f09fdf972902fe076e61a29fc931970206d5cb9b1418820f0a618df46d1d2bff76bc55de200b8beb20992405c3d0bedc32840c0ef8fe1014b +MISC ChangeLog-2015 37738 SHA256 e3612b313691a4b279b6fd507f37e35cb10ec4db11df94b609853cd757ffebbb SHA512 00ff12e45ca22671e452d1331fb196f3d82b8cfd559ec67a0b2cb0ba5cb9dfc0d8180de625445e0322c6db51bd7bb371aae95d4622b17f5797557e6050a8064d WHIRLPOOL 89b106e66fade6cb0b9c44a87d269702c7d401b48a1f0897ef695dcfedfc059fb106fa24e200a8973cc6c8f236aa1abaeac7d20fd604b4db063d9b6e488d8425 +MISC metadata.xml 345 SHA256 d084fdf5da958ad4625fdaa58833e945173e27e12740d30034bb5217fa4e8682 SHA512 40528fd846439acf44ddf1e49a65d7195aecb6d78e9d20d3d734fbb48b4cef842975cbe8383a8feba6e6894ebe0fa6b7cbc27c1ac663cc563aa1e8884e09c7d9 WHIRLPOOL dc5cba67c94d93e7d594f10082d07f94c2f61211dde59979eb0c3a78cbb28a5d94658e61d9e6ee2da311a2b45a423db323f40871fd99af5e39c440b970fdbde2 diff --git a/www-client/links/links-2.14.ebuild b/www-client/links/links-2.14.ebuild new file mode 100644 index 000000000000..441b2bd680c4 --- /dev/null +++ b/www-client/links/links-2.14.ebuild @@ -0,0 +1,155 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +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 ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~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 libevent libressl 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 + ) + libevent? ( + dev-libs/libevent:0= + ) + livecd? ( + ${GRAPHICS_DEPEND} + sys-libs/gpm + virtual/jpeg:0 + ) + lzma? ( + app-arch/xz-utils + ) + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl: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() { + default + + if use unicode; then + pushd intl > /dev/null || die + ./gen-intl || die + ./synclang || die + popd > /dev/null || die + 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. + mv configure.in configure.ac || die + 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 libevent) \ + $(use_with jpeg libjpeg) \ + $(use_with tiff libtiff) \ + ${myconf} +} + +src_install() { + HTML_DOCS="doc/links_cal/*" + 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 || die + if use ssl; then + sed -i -e 's:x-scheme-handler/http;:&x-scheme-handler/https;:' \ + "${d}"/*.desktop || die + fi + fi + + 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 +} diff --git a/www-client/links/metadata.xml b/www-client/links/metadata.xml new file mode 100644 index 000000000000..3cdd882b514b --- /dev/null +++ b/www-client/links/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>monsieurp@gentoo.org</email> + <name>Patrice Clement</name> + </maintainer> +<use> + <flag name="libevent">Enable <pkg>dev-libs/libevent</pkg> support</flag> +</use> +</pkgmetadata> |