Gentoo Archives: gentoo-commits

From: "Tomas Chvatal (scarabeus)" <scarabeus@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in x11-libs/pixman: pixman-0.22.0.ebuild ChangeLog pixman-0.21.8.ebuild
Date: Mon, 02 May 2011 10:23:33
Message-Id: 20110502102323.4DF5620054@flycatcher.gentoo.org
1 scarabeus 11/05/02 10:23:23
2
3 Modified: ChangeLog
4 Added: pixman-0.22.0.ebuild
5 Removed: pixman-0.21.8.ebuild
6 Log:
7 Version bump to latest.
8
9 (Portage version: 2.2.0_alpha30/cvs/Linux x86_64)
10
11 Revision Changes Path
12 1.98 x11-libs/pixman/ChangeLog
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/pixman/ChangeLog?rev=1.98&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/pixman/ChangeLog?rev=1.98&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/pixman/ChangeLog?r1=1.97&r2=1.98
17
18 Index: ChangeLog
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/x11-libs/pixman/ChangeLog,v
21 retrieving revision 1.97
22 retrieving revision 1.98
23 diff -u -r1.97 -r1.98
24 --- ChangeLog 20 Apr 2011 20:43:03 -0000 1.97
25 +++ ChangeLog 2 May 2011 10:23:23 -0000 1.98
26 @@ -1,6 +1,12 @@
27 # ChangeLog for x11-libs/pixman
28 # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
29 -# $Header: /var/cvsroot/gentoo-x86/x11-libs/pixman/ChangeLog,v 1.97 2011/04/20 20:43:03 chithanh Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/x11-libs/pixman/ChangeLog,v 1.98 2011/05/02 10:23:23 scarabeus Exp $
31 +
32 +*pixman-0.22.0 (02 May 2011)
33 +
34 + 02 May 2011; Tomáš Chvátal <scarabeus@g.o> -pixman-0.21.8.ebuild,
35 + +pixman-0.22.0.ebuild:
36 + Version bump to latest.
37
38 *pixman-0.21.8 (20 Apr 2011)
39
40
41
42
43 1.1 x11-libs/pixman/pixman-0.22.0.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/pixman/pixman-0.22.0.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/x11-libs/pixman/pixman-0.22.0.ebuild?rev=1.1&content-type=text/plain
47
48 Index: pixman-0.22.0.ebuild
49 ===================================================================
50 # Copyright 1999-2011 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/x11-libs/pixman/pixman-0.22.0.ebuild,v 1.1 2011/05/02 10:23:23 scarabeus Exp $
53
54 EAPI=4
55 inherit xorg-2 toolchain-funcs versionator
56
57 EGIT_REPO_URI="git://anongit.freedesktop.org/git/pixman"
58 DESCRIPTION="Low-level pixel manipulation routines"
59
60 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"
61 IUSE="altivec mmx neon sse2"
62
63 pkg_setup() {
64 xorg-2_pkg_setup
65
66 local enable_mmx="$(use mmx && echo 1 || echo 0)"
67 local enable_sse2="$(use sse2 && echo 1 || echo 0)"
68
69 # this block fixes bug #260287
70 if use x86; then
71 if use sse2 && ! $(version_is_at_least "4.2" "$(gcc-version)"); then
72 ewarn "SSE2 instructions require GCC 4.2 or higher."
73 ewarn "pixman will be built *without* SSE2 support"
74 enable_sse2="0"
75 fi
76 fi
77
78 local confadd
79 # this block fixes bug #236558
80 case "$enable_mmx,$enable_sse2" in
81 '1,1')
82 confadd=(--enable-mmx --enable-sse2) ;;
83 '1,0')
84 confadd=(--enable-mmx --disable-sse2) ;;
85 '0,1')
86 ewarn "You enabled SSE2 but have MMX disabled. This is an invalid."
87 ewarn "pixman will be built *without* MMX/SSE2 support."
88 confadd=(--disable-mmx --disable-sse2) ;;
89 '0,0')
90 confadd=(--disable-mmx --disable-sse2) ;;
91 esac
92
93 XORG_CONFIGURE_OPTIONS=(
94 "${confadd[@]}"
95 $(use_enable altivec vmx)
96 $(use_enable neon arm-neon)
97 --disable-gtk
98 )
99 }