summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2012-04-22 16:04:16 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2012-04-22 16:04:16 +0000
commit0598950bddf1c7ae8091f7a8c7a1f800f9a731c7 (patch)
treeff95a80e421bb8f7f161150bd291c13064418783 /www-client/links
parentBump to 0.2.1, thanks to slepnoga (diff)
downloadgentoo-2-0598950bddf1c7ae8091f7a8c7a1f800f9a731c7.tar.gz
gentoo-2-0598950bddf1c7ae8091f7a8c7a1f800f9a731c7.tar.bz2
gentoo-2-0598950bddf1c7ae8091f7a8c7a1f800f9a731c7.zip
Handle USE="livecd" in a way support for fbcon, jpeg and gpm are always enabled without REQUIRED_USE for compability with USE flags set by catalyst.
(Portage version: 2.2.0_alpha100/cvs/Linux x86_64)
Diffstat (limited to 'www-client/links')
-rw-r--r--www-client/links/ChangeLog6
-rw-r--r--www-client/links/links-2.6.ebuild34
2 files changed, 24 insertions, 16 deletions
diff --git a/www-client/links/ChangeLog b/www-client/links/ChangeLog
index 8156a0533d0f..1ab2dd48ef1d 100644
--- a/www-client/links/ChangeLog
+++ b/www-client/links/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for www-client/links
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/links/ChangeLog,v 1.172 2012/04/16 17:03:54 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/links/ChangeLog,v 1.173 2012/04/22 16:04:16 ssuominen Exp $
+
+ 22 Apr 2012; Samuli Suominen <ssuominen@gentoo.org> links-2.6.ebuild:
+ Handle USE="livecd" in a way support for fbcon, jpeg and gpm are always
+ enabled without REQUIRED_USE for compability with USE flags set by catalyst.
16 Apr 2012; Brent Baude <ranger@gentoo.org> links-2.6.ebuild:
Marking links-2.6 ppc for bug 411493
diff --git a/www-client/links/links-2.6.ebuild b/www-client/links/links-2.6.ebuild
index a83114bc1aad..974d0f8a16c1 100644
--- a/www-client/links/links-2.6.ebuild
+++ b/www-client/links/links-2.6.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/www-client/links/links-2.6.ebuild,v 1.8 2012/04/16 17:03:54 ranger Exp $
+# $Header: /var/cvsroot/gentoo-x86/www-client/links/links-2.6.ebuild,v 1.9 2012/04/22 16:04:16 ssuominen Exp $
EAPI=4
inherit autotools eutils fdo-mime
@@ -23,7 +23,11 @@ RDEPEND=">=sys-libs/ncurses-5.7-r7
fbcon? ( ${GRAPHICS_DEPEND} )
gpm? ( sys-libs/gpm )
jpeg? ( virtual/jpeg )
- livecd? ( ${GRAPHICS_DEPEND} )
+ livecd? (
+ ${GRAPHICS_DEPEND}
+ sys-libs/gpm
+ virtual/jpeg
+ )
lzma? ( app-arch/xz-utils )
ssl? ( dev-libs/openssl:0 )
svga? (
@@ -36,13 +40,13 @@ RDEPEND=">=sys-libs/ncurses-5.7-r7
x11-libs/libXext
)
zlib? ( sys-libs/zlib )"
-DEPEND="${RDEPEND}
- dev-util/pkgconfig"
-GRAPHICS_USE="jpeg gpm"
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ fbcon? ( virtual/os-headers )
+ livecd? ( virtual/os-headers )"
-REQUIRED_USE="fbcon? ( ${GRAPHICS_USE} )
- livecd? ( ${GRAPHICS_USE} )
+REQUIRED_USE="!livecd? ( fbcon? ( gpm ) )
svga? ( suid )"
DOCS=( AUTHORS BRAILLE_HOWTO ChangeLog KEYS NEWS README SITES )
@@ -66,18 +70,17 @@ src_prepare() {
}
src_configure() {
- export ac_cv_lib_gpm_Gpm_Open=$(usex gpm)
-
local myconf
- if use X || use fbcon || use directfb || use svga || use livecd; then
- myconf+=' --enable-graphics'
+ 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 fbcon || use livecd; then
- myconf+=' --with-fb'
- else
- myconf+=' --without-fb'
+ if use X || use fbcon || use directfb || use svga || use livecd; then
+ myconf+=' --enable-graphics'
fi
econf \
@@ -87,6 +90,7 @@ src_configure() {
$(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) \