summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2011-03-20 19:16:23 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2011-03-20 19:16:23 +0000
commitaac1d0006ac9839c564c6a1fd6c2824fad0d8895 (patch)
tree4067433f334e170f9f6df4f2c5cf9ba794f2e064 /x11-libs/pixman
parentMake building of static libraries optional (diff)
downloadgentoo-2-aac1d0006ac9839c564c6a1fd6c2824fad0d8895.tar.gz
gentoo-2-aac1d0006ac9839c564c6a1fd6c2824fad0d8895.tar.bz2
gentoo-2-aac1d0006ac9839c564c6a1fd6c2824fad0d8895.zip
Add neon USE flag to enable SIMD optimisations on ARM.
(Portage version: 2.2.0_alpha28/cvs/Linux x86_64)
Diffstat (limited to 'x11-libs/pixman')
-rw-r--r--x11-libs/pixman/ChangeLog6
-rw-r--r--x11-libs/pixman/metadata.xml5
-rw-r--r--x11-libs/pixman/pixman-0.20.2.ebuild5
3 files changed, 12 insertions, 4 deletions
diff --git a/x11-libs/pixman/ChangeLog b/x11-libs/pixman/ChangeLog
index 501066a35e1c..153ec79c1232 100644
--- a/x11-libs/pixman/ChangeLog
+++ b/x11-libs/pixman/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for x11-libs/pixman
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/x11-libs/pixman/ChangeLog,v 1.95 2011/03/07 21:06:18 scarabeus Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/pixman/ChangeLog,v 1.96 2011/03/20 19:16:23 flameeyes Exp $
+
+ 20 Mar 2011; Diego E. Pettenò <flameeyes@gentoo.org> pixman-0.20.2.ebuild,
+ metadata.xml:
+ Add neon USE flag to enable SIMD optimisations on ARM.
07 Mar 2011; Tomáš Chvátal <scarabeus@gentoo.org> -pixman-0.20.0.ebuild:
old
diff --git a/x11-libs/pixman/metadata.xml b/x11-libs/pixman/metadata.xml
index 01c4c004e735..3983c53283cc 100644
--- a/x11-libs/pixman/metadata.xml
+++ b/x11-libs/pixman/metadata.xml
@@ -1,5 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
-<herd>x11</herd>
+ <herd>x11</herd>
+ <use>
+ <flag name="neon">Enables NEON optimizations for ARM processors.</flag>
+ </use>
</pkgmetadata>
diff --git a/x11-libs/pixman/pixman-0.20.2.ebuild b/x11-libs/pixman/pixman-0.20.2.ebuild
index 2d90b8e88174..8637397954c5 100644
--- a/x11-libs/pixman/pixman-0.20.2.ebuild
+++ b/x11-libs/pixman/pixman-0.20.2.ebuild
@@ -1,6 +1,6 @@
# 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.8 2011/03/05 17:56:59 xarthisius Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-libs/pixman/pixman-0.20.2.ebuild,v 1.9 2011/03/20 19:16:23 flameeyes Exp $
EAPI=3
inherit xorg-2 toolchain-funcs versionator
@@ -9,12 +9,13 @@ 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 ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
-IUSE="altivec mmx sse2"
+IUSE="altivec mmx neon sse2"
pkg_setup() {
xorg-2_pkg_setup
CONFIGURE_OPTIONS="
$(use_enable altivec vmx)
+ $(use_enable neon arm-neon)
--disable-gtk"
local enable_mmx="$(use mmx && echo 1 || echo 0)"