Gentoo Archives: gentoo-commits

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