summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-03-09 02:33:57 +0000
committerMike Frysinger <vapier@gentoo.org>2005-03-09 02:33:57 +0000
commit29d69a20ada6ae96135c32f1c2e40b60e447c777 (patch)
tree1135fe9e3793e9650514c701dc890f8e147b1730 /dev-libs/DirectFB
parentUSE=sysfs (diff)
downloadhistorical-29d69a20ada6ae96135c32f1c2e40b60e447c777.tar.gz
historical-29d69a20ada6ae96135c32f1c2e40b60e447c777.tar.bz2
historical-29d69a20ada6ae96135c32f1c2e40b60e447c777.zip
fix i830 detection and add support for USE=sysfs #84477
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'dev-libs/DirectFB')
-rw-r--r--dev-libs/DirectFB/DirectFB-0.9.22.ebuild14
-rw-r--r--dev-libs/DirectFB/Manifest2
2 files changed, 10 insertions, 6 deletions
diff --git a/dev-libs/DirectFB/DirectFB-0.9.22.ebuild b/dev-libs/DirectFB/DirectFB-0.9.22.ebuild
index 2654ed6a7c85..2a1980dba83f 100644
--- a/dev-libs/DirectFB/DirectFB-0.9.22.ebuild
+++ b/dev-libs/DirectFB/DirectFB-0.9.22.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/DirectFB-0.9.22.ebuild,v 1.1 2005/03/02 01:07:00 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/DirectFB-0.9.22.ebuild,v 1.2 2005/03/09 02:33:57 vapier Exp $
inherit eutils 64-bit flag-o-matic gcc
@@ -13,13 +13,14 @@ SRC_URI="http://www.directfb.org/download/DirectFB/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 -mips ~ppc -sparc ~x86"
-IUSE="sdl jpeg gif png truetype mpeg mmx sse fusion debug fbcon static"
+IUSE="debug fbcon fusion gif jpeg mmx mpeg png sdl sse static sysfs truetype"
DEPEND="sdl? ( media-libs/libsdl )
gif? ( media-libs/giflib )
png? ( media-libs/libpng )
jpeg? ( media-libs/jpeg )
mpeg? ( media-libs/libmpeg3 )
+ sysfs? ( sys-fs/sysfsutils )
truetype? ( >=media-libs/freetype-2.0.1 )"
pkg_setup() {
@@ -34,12 +35,14 @@ src_unpack() {
unpack ${A}
cd "${S}"
- #36924
+ # Make sure i830 is detected
+ # force disable wm97xx #36924
sed -i \
- -e 's:wm97xx_ts=yes:wm97xx_ts=no:' configure \
+ -e 's:^//::' \
+ -e 's:wm97xx_ts=yes:wm97xx_ts=no:' \
+ configure \
|| die "sed configure failed"
-
# This patch enables simd optimisations for amd64. Since mmx and sse are
# masked USE flags on amd64 due to their enabling x86 specific asm more
# often than not, we'll just enable them by default. All x86_64 cpus
@@ -80,6 +83,7 @@ src_compile() {
$(use_enable fusion multi) \
$(use_enable debug) \
$(use_enable static) \
+ $(use_enable sysfs) \
${sdlconf} \
--with-gfxdrivers="${vidcards}" \
|| die
diff --git a/dev-libs/DirectFB/Manifest b/dev-libs/DirectFB/Manifest
index 94b183b3ceec..f4b9ff040ed3 100644
--- a/dev-libs/DirectFB/Manifest
+++ b/dev-libs/DirectFB/Manifest
@@ -2,7 +2,7 @@ MD5 d8de09f6d99b8c99fb599279526f8a28 ChangeLog 7158
MD5 b240969f40a13e860ecbd73c8c964c06 DirectFB-0.9.20-r1.ebuild 3543
MD5 b798773c0060701f402cec4cddc05f5d metadata.xml 754
MD5 569e6f06e9ed0a60e50071757116b115 DirectFB-0.9.21.ebuild 3046
-MD5 c43e9b09015c19dd633703e3205dc80c DirectFB-0.9.22.ebuild 3038
+MD5 7e9791903170fe01d84d43ed88ce6dae DirectFB-0.9.22.ebuild 3171
MD5 e9dedca8e82842a80fa7bd1507d5f1c6 files/DirectFB-0.9.20-64bit.diff 5060
MD5 19ec05b9146f1b76d6bc46c937a14500 files/digest-DirectFB-0.9.21 68
MD5 ba5b8492b20c817af4f669c914a4fe04 files/0.9.20-linux-2.6.patch 809