summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-12-24 10:27:40 +0000
committerMike Frysinger <vapier@gentoo.org>2007-12-24 10:27:40 +0000
commit9b6e165a297cff9c1d1bd40bd1fb59f5dc548ad2 (patch)
tree0bdc30c58e89194167074ee36318683edf68e843 /dev-libs/DirectFB
parentx86/amd64 stable, bug #198632. Remove old. (diff)
downloadgentoo-2-9b6e165a297cff9c1d1bd40bd1fb59f5dc548ad2.tar.gz
gentoo-2-9b6e165a297cff9c1d1bd40bd1fb59f5dc548ad2.tar.bz2
gentoo-2-9b6e165a297cff9c1d1bd40bd1fb59f5dc548ad2.zip
Add support for USE=X #201970 by Alexis Ballier.
(Portage version: 2.1.4_rc11)
Diffstat (limited to 'dev-libs/DirectFB')
-rw-r--r--dev-libs/DirectFB/ChangeLog5
-rw-r--r--dev-libs/DirectFB/DirectFB-1.1.1.ebuild12
2 files changed, 12 insertions, 5 deletions
diff --git a/dev-libs/DirectFB/ChangeLog b/dev-libs/DirectFB/ChangeLog
index 29529f9bf207..2a9a5fe971f3 100644
--- a/dev-libs/DirectFB/ChangeLog
+++ b/dev-libs/DirectFB/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-libs/DirectFB
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/ChangeLog,v 1.67 2007/12/24 10:20:03 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/ChangeLog,v 1.68 2007/12/24 10:27:40 vapier Exp $
+
+ 24 Dec 2007; Mike Frysinger <vapier@gentoo.org> DirectFB-1.1.1.ebuild:
+ Add support for USE=X #201970 by Alexis Ballier.
*DirectFB-1.1.1 (24 Dec 2007)
diff --git a/dev-libs/DirectFB/DirectFB-1.1.1.ebuild b/dev-libs/DirectFB/DirectFB-1.1.1.ebuild
index 0cf7782c0df7..8d00042badd8 100644
--- a/dev-libs/DirectFB/DirectFB-1.1.1.ebuild
+++ b/dev-libs/DirectFB/DirectFB-1.1.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/DirectFB-1.1.1.ebuild,v 1.1 2007/12/24 10:20:03 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/DirectFB-1.1.1.ebuild,v 1.2 2007/12/24 10:27:40 vapier Exp $
inherit eutils toolchain-funcs
@@ -14,16 +14,19 @@ SRC_URI="http://www.directfb.org/download/DirectFB/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 -mips ~ppc ~ppc64 ~sh -sparc ~x86"
-IUSE="debug fbcon fusion gif jpeg mmx png sdl sse sysfs truetype v4l v4l2 zlib"
+IUSE="debug fbcon fusion gif jpeg mmx png sdl sse sysfs truetype v4l v4l2 X zlib"
# fusion? ( >=dev-libs/linux-fusion-7.0.1 )
-DEPEND="sdl? ( media-libs/libsdl )
+RDEPEND="sdl? ( media-libs/libsdl )
gif? ( media-libs/giflib )
png? ( media-libs/libpng )
jpeg? ( media-libs/jpeg )
sysfs? ( sys-fs/sysfsutils )
zlib? ( sys-libs/zlib )
- truetype? ( >=media-libs/freetype-2.0.1 )"
+ truetype? ( >=media-libs/freetype-2.0.1 )
+ X? ( x11-libs/libXext x11-libs/libX11 )"
+DEPEND="${RDEPEND}
+ X? ( x11-proto/xextproto x11-proto/xproto )"
pkg_setup() {
if [[ -z ${VIDEO_CARDS} ]] ; then
@@ -91,6 +94,7 @@ src_compile() {
econf \
--enable-static \
+ $(use_enable x11 X) \
$(use_enable fbcon fbdev) \
$(use_enable mmx) \
$(use_enable sse) \