diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2011-01-19 15:03:24 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2011-01-19 15:03:24 +0000 |
commit | 736d35ae0e9e971b6cee2249c186a73187753f19 (patch) | |
tree | 1530ed5fa3f029164ae423e6ec57ba0195fc5c8c /x11-libs | |
parent | Respect LDFLAGS (diff) | |
download | gentoo-2-736d35ae0e9e971b6cee2249c186a73187753f19.tar.gz gentoo-2-736d35ae0e9e971b6cee2249c186a73187753f19.tar.bz2 gentoo-2-736d35ae0e9e971b6cee2249c186a73187753f19.zip |
Version bump to latest.
(Portage version: 2.2.0_alpha15/cvs/Linux x86_64)
Diffstat (limited to 'x11-libs')
-rw-r--r-- | x11-libs/pixman/ChangeLog | 9 | ||||
-rw-r--r-- | x11-libs/pixman/pixman-0.20.2.ebuild | 45 |
2 files changed, 52 insertions, 2 deletions
diff --git a/x11-libs/pixman/ChangeLog b/x11-libs/pixman/ChangeLog index e1cb31f74438..8797308191da 100644 --- a/x11-libs/pixman/ChangeLog +++ b/x11-libs/pixman/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for x11-libs/pixman -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/pixman/ChangeLog,v 1.84 2010/12/31 20:14:40 jer Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/pixman/ChangeLog,v 1.85 2011/01/19 15:03:24 scarabeus Exp $ + +*pixman-0.20.2 (19 Jan 2011) + + 19 Jan 2011; Tomáš Chvátal <scarabeus@gentoo.org> +pixman-0.20.2.ebuild: + Version bump to latest. 31 Dec 2010; Jeroen Roovers <jer@gentoo.org> pixman-0.20.0.ebuild: Stable for HPPA (bug #344827). diff --git a/x11-libs/pixman/pixman-0.20.2.ebuild b/x11-libs/pixman/pixman-0.20.2.ebuild new file mode 100644 index 000000000000..f5bb67cbc4d5 --- /dev/null +++ b/x11-libs/pixman/pixman-0.20.2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/pixman/pixman-0.20.2.ebuild,v 1.1 2011/01/19 15:03:24 scarabeus Exp $ + +EAPI=3 +inherit xorg-2 toolchain-funcs versionator + +EGIT_REPO_URI="git://anongit.freedesktop.org/git/pixman" +DESCRIPTION="Low-level pixel manipulation routines" + +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="altivec mmx sse2" + +pkg_setup() { + xorg-2_pkg_setup + CONFIGURE_OPTIONS=" + $(use_enable altivec vmx) + --disable-gtk" + + local enable_mmx="$(use mmx && echo 1 || echo 0)" + local enable_sse2="$(use sse2 && echo 1 || echo 0)" + + # this block fixes bug #260287 + if use x86; then + if use sse2 && ! $(version_is_at_least "4.2" "$(gcc-version)"); then + ewarn "SSE2 instructions require GCC 4.2 or higher." + ewarn "pixman will be built *without* SSE2 support" + enable_sse2="0" + fi + fi + + # this block fixes bug #236558 + case "$enable_mmx,$enable_sse2" in + '1,1') + CONFIGURE_OPTIONS="${CONFIGURE_OPTIONS} --enable-mmx --enable-sse2" ;; + '1,0') + CONFIGURE_OPTIONS="${CONFIGURE_OPTIONS} --enable-mmx --disable-sse2" ;; + '0,1') + ewarn "You enabled SSE2 but have MMX disabled. This is an invalid." + ewarn "pixman will be built *without* MMX/SSE2 support." + CONFIGURE_OPTIONS="${CONFIGURE_OPTIONS} --disable-mmx --disable-sse2" ;; + '0,0') + CONFIGURE_OPTIONS="${CONFIGURE_OPTIONS} --disable-mmx --disable-sse2" ;; + esac +} |