summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-10-28 00:21:35 +0000
committerMike Frysinger <vapier@gentoo.org>2005-10-28 00:21:35 +0000
commitfbd1d655d7c4a9d2f592f5ff4078e80577660bd1 (patch)
tree9d09913a4325c17b2c40f8812c20160a14093078 /dev-libs/DirectFB
parentmoved to convertlit #110567 (diff)
downloadhistorical-fbd1d655d7c4a9d2f592f5ff4078e80577660bd1.tar.gz
historical-fbd1d655d7c4a9d2f592f5ff4078e80577660bd1.tar.bz2
historical-fbd1d655d7c4a9d2f592f5ff4078e80577660bd1.zip
Version bump #110627 by James Gatt.
Package-Manager: portage-2.0.53_rc6
Diffstat (limited to 'dev-libs/DirectFB')
-rw-r--r--dev-libs/DirectFB/ChangeLog7
-rw-r--r--dev-libs/DirectFB/DirectFB-0.9.24.ebuild118
-rw-r--r--dev-libs/DirectFB/Manifest14
-rw-r--r--dev-libs/DirectFB/files/digest-DirectFB-0.9.241
4 files changed, 133 insertions, 7 deletions
diff --git a/dev-libs/DirectFB/ChangeLog b/dev-libs/DirectFB/ChangeLog
index 932d2ebbbc4c..68c8fde30f03 100644
--- a/dev-libs/DirectFB/ChangeLog
+++ b/dev-libs/DirectFB/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/DirectFB
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/ChangeLog,v 1.49 2005/09/02 00:18:45 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/ChangeLog,v 1.50 2005/10/28 00:21:35 vapier Exp $
+
+*DirectFB-0.9.24 (28 Oct 2005)
+
+ 28 Oct 2005; Mike Frysinger <vapier@gentoo.org> +DirectFB-0.9.24.ebuild:
+ Version bump #110627 by James Gatt.
02 Sep 2005; Mike Frysinger <vapier@gentoo.org>
+files/DirectFB-0.9.22-i830-detect.patch, DirectFB-0.9.22.ebuild:
diff --git a/dev-libs/DirectFB/DirectFB-0.9.24.ebuild b/dev-libs/DirectFB/DirectFB-0.9.24.ebuild
new file mode 100644
index 000000000000..2a31a4f49150
--- /dev/null
+++ b/dev-libs/DirectFB/DirectFB-0.9.24.ebuild
@@ -0,0 +1,118 @@
+# 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.24.ebuild,v 1.1 2005/10/28 00:21:35 vapier Exp $
+
+inherit eutils flag-o-matic toolchain-funcs
+
+IUSE_VIDEO_CARDS="ati128 cle266 cyber5k i810 i830 mach64 matrox neomagic nsc nvidia radeon r200 savage sis315 tdfx unichrome"
+IUSE_INPUT_DRIVERS="dbox2remote elo-input h3600_ts joystick keyboard dreamboxremote linuxinput lirc mutouch ps2mouse serialmouse sonypijofdial wm97xx"
+
+DESCRIPTION="Thin library on top of the Linux framebuffer devices"
+HOMEPAGE="http://www.directfb.org/"
+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="debug fbcon fusion gif jpeg mmx mpeg png sdl sse static sysfs truetype zlib"
+
+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 )
+ zlib? ( sys-libs/zlib )
+ truetype? ( >=media-libs/freetype-2.0.1 )"
+
+pkg_setup() {
+ if [[ -z ${VIDEO_CARDS} ]] ; then
+ ewarn "All video drivers will be built since you did not specify"
+ ewarn "via the VIDEO_CARDS variable what video card you use."
+ einfo "DirectFB supports: ${IUSE_VIDEO_CARDS} all none"
+ echo
+ fi
+ if [[ -z ${INPUT_DRIVERS} ]] ; then
+ ewarn "All input drivers will be built since you did not specify"
+ ewarn "via the INPUT_DRIVERS variable which input drivers to use."
+ einfo "DirectFB supports: ${IUSE_INPUT_DRIVERS} all none"
+ echo
+ fi
+}
+
+src_compile() {
+ # force disable wm97xx #36924
+# export ac_cv_header_linux_wm97xx_h=no
+ # force disable of sis315 #77391
+# export ac_cv_header_linux_sisfb_h=no
+
+ local vidcards card input inputdrivers
+ for card in ${VIDEO_CARDS} ; do
+ has ${card} ${IUSE_VIDEO_CARDS} && vidcards="${vidcards},${card}"
+ done
+ [[ -z ${vidcards} ]] \
+ && vidcards="all" \
+ || vidcards=${vidcards:1}
+ for input in ${INPUT_DRIVERS} ; do
+ has ${input} ${IUSE_INPUT_DRIVERS} && inputdrivers="${inputdrivers},${input}"
+ done
+ [[ -z ${inputdrivers} ]] \
+ && inputdrivers="all" \
+ || inputdrivers=${inputdrivers:1}
+
+ local sdlconf="--disable-sdl"
+ if use sdl ; then
+ # since SDL can link against DirectFB and trigger a
+ # dependency loop, only link against SDL if it isn't
+ # broken #61592
+ echo 'int main(){}' > sdl-test.c
+ $(tc-getCC) sdl-test.c -lSDL 2>/dev/null \
+ && sdlconf="--enable-sdl" \
+ || ewarn "Disabling SDL since libSDL.so is broken"
+ fi
+
+ use mpeg && export CPPFLAGS="${CPPFLAGS} -I/usr/include/libmpeg3"
+ econf \
+ $(use_enable fbcon fbdev) \
+ $(use_enable mmx) \
+ $(use_enable sse) \
+ $(use_enable mpeg libmpeg3) \
+ $(use_enable jpeg) \
+ $(use_enable png) \
+ $(use_enable gif) \
+ $(use_enable truetype freetype) \
+ $(use_enable fusion multi) \
+ $(use_enable debug) \
+ $(use_enable static) \
+ $(use_enable sysfs) \
+ $(use_enable zlib) \
+ ${sdlconf} \
+ --with-gfxdrivers="${vidcards}" \
+ --with-inputdrivers="${inputdrivers}" \
+ --disable-vnc \
+ || die
+ emake || die
+}
+
+src_install() {
+ insinto /etc
+ doins fb.modes
+
+ make DESTDIR="${D}" install || die "make install failed"
+
+ dodoc AUTHORS ChangeLog NEWS README* TODO
+ dohtml -r docs/html/*
+}
+
+pkg_postinst() {
+ ewarn "Each DirectFB update in the 0.9.xx series"
+ ewarn "breaks DirectFB related applications."
+ ewarn "Please run \"revdep-rebuild\" which can be"
+ ewarn "found by emerging the package 'gentoolkit'."
+ ewarn
+ ewarn "If you have an ALPS touchpad, then you might"
+ ewarn "get your mouse unexpectedly set in absolute"
+ ewarn "mode in all DirectFB applications."
+ ewarn "This can be fixed by removing linuxinput from"
+ ewarn "INPUT_DRIVERS."
+}
diff --git a/dev-libs/DirectFB/Manifest b/dev-libs/DirectFB/Manifest
index 64ae8d61794f..a9f6a49c507c 100644
--- a/dev-libs/DirectFB/Manifest
+++ b/dev-libs/DirectFB/Manifest
@@ -1,16 +1,18 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 b798773c0060701f402cec4cddc05f5d metadata.xml 754
+MD5 2ca23fe422120bbd1e5e13cd4bf228c2 ChangeLog 7752
MD5 e91c5a57b150b16a26ed178bf020c9d6 DirectFB-0.9.22.ebuild 4178
-MD5 b2ade4dfff293e045e924f8bb104ca17 ChangeLog 7606
-MD5 c4d29f6e0f6e36e8e07b97fefe0a33cb files/DirectFB-0.9.22-i830-detect.patch 347
+MD5 ecd79d9c08e670a4e5bafeffc37f296a DirectFB-0.9.24.ebuild 3758
MD5 51cf3c6f205c566235b00a488947f835 files/0.9.21-simd-amd64.patch 6156
+MD5 c4d29f6e0f6e36e8e07b97fefe0a33cb files/DirectFB-0.9.22-i830-detect.patch 347
MD5 2a322a95caff6a561082846ca8f0d700 files/digest-DirectFB-0.9.22 68
+MD5 090fc7e6b282df21935f318ee88b5f68 files/digest-DirectFB-0.9.24 68
+MD5 b798773c0060701f402cec4cddc05f5d metadata.xml 754
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
-iD8DBQFDF5qEgIKl8Uu19MoRAnSEAJ9OfuaSab5539Hm8qmphWSc9xC1IQCfZmGF
-3Q5KbgZio97CSxQyPNWtzMo=
-=Q0tX
+iD8DBQFDYW8fgIKl8Uu19MoRApxYAJ9YGgeqyVPl6OJ9VcL4AEVsNc+fBgCcCi7O
+zBRa9cXqS1TiKbYfj4/kbVQ=
+=xCar
-----END PGP SIGNATURE-----
diff --git a/dev-libs/DirectFB/files/digest-DirectFB-0.9.24 b/dev-libs/DirectFB/files/digest-DirectFB-0.9.24
new file mode 100644
index 000000000000..cc52b9af2022
--- /dev/null
+++ b/dev-libs/DirectFB/files/digest-DirectFB-0.9.24
@@ -0,0 +1 @@
+MD5 1f4b56b20d4e6f5c6ceb15c1c4fd2ecd DirectFB-0.9.24.tar.gz 1938861