summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonnie Berkholz <dberkholz@gentoo.org>2009-02-26 07:49:43 +0000
committerDonnie Berkholz <dberkholz@gentoo.org>2009-02-26 07:49:43 +0000
commit3b1e63f61243631796aae5bf177dbdcc9bfc2407 (patch)
tree4bf2e8feb7e0ca116a69fee2555bb28f8b1cff4a /x11-libs/pixman
parentVersion bump. (diff)
downloadgentoo-2-3b1e63f61243631796aae5bf177dbdcc9bfc2407.tar.gz
gentoo-2-3b1e63f61243631796aae5bf177dbdcc9bfc2407.tar.bz2
gentoo-2-3b1e63f61243631796aae5bf177dbdcc9bfc2407.zip
Version bump.
(Portage version: 2.1.6.7/cvs/Linux x86_64)
Diffstat (limited to 'x11-libs/pixman')
-rw-r--r--x11-libs/pixman/ChangeLog8
-rw-r--r--x11-libs/pixman/pixman-0.14.0.ebuild41
2 files changed, 48 insertions, 1 deletions
diff --git a/x11-libs/pixman/ChangeLog b/x11-libs/pixman/ChangeLog
index 804cbbdd5559..b9927ca1de9d 100644
--- a/x11-libs/pixman/ChangeLog
+++ b/x11-libs/pixman/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for x11-libs/pixman
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/pixman/ChangeLog,v 1.23 2009/02/24 18:18:51 armin76 Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/pixman/ChangeLog,v 1.24 2009/02/26 07:49:43 dberkholz Exp $
+
+*pixman-0.14.0 (26 Feb 2009)
+
+ 26 Feb 2009; Donnie Berkholz <dberkholz@gentoo.org>;
+ +pixman-0.14.0.ebuild:
+ Version bump.
24 Feb 2009; Raúl Porcel <armin76@gentoo.org> pixman-0.10.0.ebuild,
pixman-0.11.6.ebuild, pixman-0.11.8.ebuild:
diff --git a/x11-libs/pixman/pixman-0.14.0.ebuild b/x11-libs/pixman/pixman-0.14.0.ebuild
new file mode 100644
index 000000000000..ee90088a83a9
--- /dev/null
+++ b/x11-libs/pixman/pixman-0.14.0.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/pixman/pixman-0.14.0.ebuild,v 1.1 2009/02/26 07:49:43 dberkholz Exp $
+
+# Must be before x-modular eclass is inherited
+#SNAPSHOT="yes"
+
+inherit x-modular toolchain-funcs versionator
+
+DESCRIPTION="Low-level pixel manipulation routines"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE="altivec mmx sse sse2"
+
+CONFIGURE_OPTIONS="$(use_enable altivec vmx) $(use_enable mmx) \
+$(use_enable sse2) --disable-gtk"
+
+pkg_setup() {
+ if use sse2 && ! use sse; then
+ eerror "You enabled SSE2 but have SSE disabled. This is an invalid"
+ eerror "configuration. Either do USE='sse' or USE='-sse2'"
+ die "SSE2 selected without SSE"
+ fi
+
+ if use x86; then
+ if use sse2 && ! $(version_is_at_least "4.2" "$(gcc-version)"); then
+ eerror "SSE2 instructions require GCC 4.2 or higher. Either use"
+ eerror "GCC 4.2 or higher or USE='-sse2'"
+ die "SSE2 instructions require GCC 4.2 or higher"
+ fi
+ fi
+}
+
+src_unpack() {
+ x-modular_src_unpack
+ cd "${S}"
+
+ epatch "${FILESDIR}"/pixman-0.12.0-sse.patch
+
+ eautoreconf
+ elibtoolize
+}