public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/x11:master commit in: x11-libs/pixman/
Date: Fri, 15 Apr 2011 19:04:19 +0000 (UTC)	[thread overview]
Message-ID: <a7ab8f73cb3ad0bf80490cf7b8459557c17b9f78.mgorny@gentoo> (raw)

commit:     a7ab8f73cb3ad0bf80490cf7b8459557c17b9f78
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Fri Apr 15 18:36:39 2011 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri Apr 15 18:36:39 2011 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/x11.git;a=commit;h=a7ab8f73

x11-libs/pixman: Migrate to XORG_CONFIGURE_OPTIONS.

(Portage version: 2.2.0_alpha29_p5/git/Linux x86_64, signed Manifest commit with key 05DE07BB)

---
 x11-libs/pixman/metadata.xml       |    8 ++++++++
 x11-libs/pixman/pixman-9999.ebuild |   22 +++++++++++++---------
 2 files changed, 21 insertions(+), 9 deletions(-)

diff --git a/x11-libs/pixman/metadata.xml b/x11-libs/pixman/metadata.xml
new file mode 100644
index 0000000..3983c53
--- /dev/null
+++ b/x11-libs/pixman/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <herd>x11</herd>
+  <use>
+    <flag name="neon">Enables NEON optimizations for ARM processors.</flag>
+  </use>
+</pkgmetadata>

diff --git a/x11-libs/pixman/pixman-9999.ebuild b/x11-libs/pixman/pixman-9999.ebuild
index 03f0f82..0d489aa 100644
--- a/x11-libs/pixman/pixman-9999.ebuild
+++ b/x11-libs/pixman/pixman-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2011 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
@@ -13,10 +13,6 @@ 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)"
 	local enable_sse2="$(use sse2 && echo 1 || echo 0)"
@@ -30,17 +26,25 @@ pkg_setup() {
 		fi
 	fi
 
+	local confadd
 	# this block fixes bug #236558
 	case "$enable_mmx,$enable_sse2" in
 	'1,1')
-		CONFIGURE_OPTIONS="${CONFIGURE_OPTIONS} --enable-mmx --enable-sse2" ;;
+		confadd=(--enable-mmx --enable-sse2) ;;
 	'1,0')
-		CONFIGURE_OPTIONS="${CONFIGURE_OPTIONS} --enable-mmx --disable-sse2" ;;
+		confadd=(--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" ;;
+		confadd=(--disable-mmx --disable-sse2) ;;
 	'0,0')
-		CONFIGURE_OPTIONS="${CONFIGURE_OPTIONS} --disable-mmx --disable-sse2" ;;
+		confadd=(--disable-mmx --disable-sse2) ;;
 	esac
+
+	XORG_CONFIGURE_OPTIONS=(
+		"${confadd[@]}"
+		$(use_enable altivec vmx)
+		$(use_enable neon arm-neon)
+		--disable-gtk
+	)
 }



             reply	other threads:[~2011-04-15 19:06 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-04-15 19:04 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-10-22  3:16 [gentoo-commits] proj/x11:master commit in: x11-libs/pixman/ Matt Turner
2012-03-14 18:08 Matt Turner
2013-02-08  1:12 Matt Turner
2013-11-07 16:35 Michał Górny
2013-12-04  5:41 Matt Turner
2015-01-28 22:28 Michał Górny
2015-08-22 19:35 Matt Turner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=a7ab8f73cb3ad0bf80490cf7b8459557c17b9f78.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox