summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-03-02 01:07:00 +0000
committerMike Frysinger <vapier@gentoo.org>2005-03-02 01:07:00 +0000
commit7c2249072fd305cfc87eea2d844e18a835c57f51 (patch)
tree60a5d86b276341519a3f81ad6fbd319741be6bac /dev-libs/DirectFB
parentstabilize (diff)
downloadhistorical-7c2249072fd305cfc87eea2d844e18a835c57f51.tar.gz
historical-7c2249072fd305cfc87eea2d844e18a835c57f51.tar.bz2
historical-7c2249072fd305cfc87eea2d844e18a835c57f51.zip
Version bump.
Package-Manager: portage-2.0.51.18
Diffstat (limited to 'dev-libs/DirectFB')
-rw-r--r--dev-libs/DirectFB/ChangeLog9
-rw-r--r--dev-libs/DirectFB/DirectFB-0.9.20-r1.ebuild4
-rw-r--r--dev-libs/DirectFB/DirectFB-0.9.21.ebuild4
-rw-r--r--dev-libs/DirectFB/DirectFB-0.9.22.ebuild104
-rw-r--r--dev-libs/DirectFB/Manifest8
-rw-r--r--dev-libs/DirectFB/files/digest-DirectFB-0.9.221
6 files changed, 121 insertions, 9 deletions
diff --git a/dev-libs/DirectFB/ChangeLog b/dev-libs/DirectFB/ChangeLog
index 4f935c9a7444..e3716c5a6808 100644
--- a/dev-libs/DirectFB/ChangeLog
+++ b/dev-libs/DirectFB/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/DirectFB
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/ChangeLog,v 1.45 2004/12/24 10:24:31 vapier Exp $
+# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/ChangeLog,v 1.46 2005/03/02 01:07:00 vapier Exp $
+
+*DirectFB-0.9.22 (01 Mar 2005)
+
+ 01 Mar 2005; Mike Frysinger <vapier@gentoo.org> +DirectFB-0.9.22.ebuild:
+ Version bump.
*DirectFB-0.9.21 (24 Dec 2004)
diff --git a/dev-libs/DirectFB/DirectFB-0.9.20-r1.ebuild b/dev-libs/DirectFB/DirectFB-0.9.20-r1.ebuild
index e3cf104905ea..7548a02a017b 100644
--- a/dev-libs/DirectFB/DirectFB-0.9.20-r1.ebuild
+++ b/dev-libs/DirectFB/DirectFB-0.9.20-r1.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# 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.20-r1.ebuild,v 1.3 2004/12/05 00:18:36 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/DirectFB-0.9.20-r1.ebuild,v 1.4 2005/03/02 01:07:00 vapier Exp $
inherit eutils 64-bit flag-o-matic gcc
diff --git a/dev-libs/DirectFB/DirectFB-0.9.21.ebuild b/dev-libs/DirectFB/DirectFB-0.9.21.ebuild
index c8fd9c59615f..a0da52033dc4 100644
--- a/dev-libs/DirectFB/DirectFB-0.9.21.ebuild
+++ b/dev-libs/DirectFB/DirectFB-0.9.21.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2004 Gentoo Foundation
+# 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.21.ebuild,v 1.2 2005/03/02 00:30:30 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/DirectFB/DirectFB-0.9.21.ebuild,v 1.3 2005/03/02 01:07:00 vapier Exp $
inherit eutils 64-bit flag-o-matic gcc
diff --git a/dev-libs/DirectFB/DirectFB-0.9.22.ebuild b/dev-libs/DirectFB/DirectFB-0.9.22.ebuild
new file mode 100644
index 000000000000..2654ed6a7c85
--- /dev/null
+++ b/dev-libs/DirectFB/DirectFB-0.9.22.ebuild
@@ -0,0 +1,104 @@
+# 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 $
+
+inherit eutils 64-bit flag-o-matic gcc
+
+IUSE_VIDEO_CARDS="ati128 cle266 cyber5k i810 mach64 matrox neomagic nsc nvidia radeon savage sis315 tdfx unichrome"
+
+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="sdl jpeg gif png truetype mpeg mmx sse fusion debug fbcon static"
+
+DEPEND="sdl? ( media-libs/libsdl )
+ gif? ( media-libs/giflib )
+ png? ( media-libs/libpng )
+ jpeg? ( media-libs/jpeg )
+ mpeg? ( media-libs/libmpeg3 )
+ 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"
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ #36924
+ sed -i \
+ -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
+ # should support mmx and see. Travis Tilley <lv@gentoo.org>
+ use amd64 && epatch "${FILESDIR}"/0.9.21-simd-amd64.patch
+}
+
+src_compile() {
+ local vidcards card
+ for card in ${VIDEO_CARDS} ; do
+ has ${card} ${IUSE_VIDEO_CARDS} && vidcards="${vidcards},${card}"
+ done
+ [[ -z ${vidcards} ]] \
+ && vidcards="all" \
+ || vidcards="${vidcards: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
+ $(gcc-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) \
+ ${sdlconf} \
+ --with-gfxdrivers="${vidcards}" \
+ || 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'."
+}
diff --git a/dev-libs/DirectFB/Manifest b/dev-libs/DirectFB/Manifest
index a8b4c2d9440c..94b183b3ceec 100644
--- a/dev-libs/DirectFB/Manifest
+++ b/dev-libs/DirectFB/Manifest
@@ -1,10 +1,12 @@
-MD5 54e6878a71bec17f13b960affdecfa03 ChangeLog 7034
-MD5 5569f2d9e310ea41182eac8a83cd65d1 DirectFB-0.9.20-r1.ebuild 3546
+MD5 d8de09f6d99b8c99fb599279526f8a28 ChangeLog 7158
+MD5 b240969f40a13e860ecbd73c8c964c06 DirectFB-0.9.20-r1.ebuild 3543
MD5 b798773c0060701f402cec4cddc05f5d metadata.xml 754
-MD5 c462b5d19e9ed1c96ebb3f2f490754f0 DirectFB-0.9.21.ebuild 3046
+MD5 569e6f06e9ed0a60e50071757116b115 DirectFB-0.9.21.ebuild 3046
+MD5 c43e9b09015c19dd633703e3205dc80c DirectFB-0.9.22.ebuild 3038
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
MD5 cf391a4bf3d83146b5f6e5e93fdf779d files/DirectFB-0.9.20-simd-amd64.diff 6152
MD5 938ad0cd729c90ede0f844b39cbeffa5 files/digest-DirectFB-0.9.20-r1 68
+MD5 2a322a95caff6a561082846ca8f0d700 files/digest-DirectFB-0.9.22 68
MD5 51cf3c6f205c566235b00a488947f835 files/0.9.21-simd-amd64.patch 6156
diff --git a/dev-libs/DirectFB/files/digest-DirectFB-0.9.22 b/dev-libs/DirectFB/files/digest-DirectFB-0.9.22
new file mode 100644
index 000000000000..50320f188b72
--- /dev/null
+++ b/dev-libs/DirectFB/files/digest-DirectFB-0.9.22
@@ -0,0 +1 @@
+MD5 f52e23f4bb56db0d284d2a78ebc4a586 DirectFB-0.9.22.tar.gz 1957905