Gentoo Archives: gentoo-commits

From: "Alexandre Rostovtsev (tetromino)" <tetromino@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-libs/liboil: liboil-0.3.17-r1.ebuild liboil-0.3.17.ebuild ChangeLog
Date: Mon, 29 Oct 2012 00:56:57
Message-Id: 20121029005643.CE2C921600@flycatcher.gentoo.org
1 tetromino 12/10/29 00:56:43
2
3 Modified: liboil-0.3.17.ebuild ChangeLog
4 Added: liboil-0.3.17-r1.ebuild
5 Log:
6 Add upstream patch to fix CPU detection on amd64. Add prefix keywords (bug #440082, thanks to Christoph Junghans). Remove useless doc USE flag, and install docs in the location where tools like devhelp expect them. Punt .la files, and make static libs optional.
7
8 (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key CF0ADD61)
9
10 Revision Changes Path
11 1.10 dev-libs/liboil/liboil-0.3.17.ebuild
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/liboil/liboil-0.3.17.ebuild?rev=1.10&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/liboil/liboil-0.3.17.ebuild?rev=1.10&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/liboil/liboil-0.3.17.ebuild?r1=1.9&r2=1.10
16
17 Index: liboil-0.3.17.ebuild
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/dev-libs/liboil/liboil-0.3.17.ebuild,v
20 retrieving revision 1.9
21 retrieving revision 1.10
22 diff -u -r1.9 -r1.10
23 --- liboil-0.3.17.ebuild 6 Jun 2012 03:34:34 -0000 1.9
24 +++ liboil-0.3.17.ebuild 29 Oct 2012 00:56:43 -0000 1.10
25 @@ -1,11 +1,11 @@
26 # Copyright 1999-2012 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/liboil/liboil-0.3.17.ebuild,v 1.9 2012/06/06 03:34:34 zmedico Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/liboil/liboil-0.3.17.ebuild,v 1.10 2012/10/29 00:56:43 tetromino Exp $
30
31 EAPI=2
32 inherit eutils flag-o-matic multilib
33
34 -DESCRIPTION="library of simple functions that are optimized for various CPUs"
35 +DESCRIPTION="Library of simple functions that are optimized for various CPUs"
36 HOMEPAGE="http://liboil.freedesktop.org/"
37 SRC_URI="http://liboil.freedesktop.org/download/${P}.tar.gz"
38
39 @@ -16,6 +16,7 @@
40
41 RDEPEND="examples? ( dev-libs/glib:2 )"
42 DEPEND="${RDEPEND}
43 + virtual/pkgconfig
44 doc? ( >=dev-util/gtk-doc-1 )"
45
46 src_prepare() {
47
48
49
50 1.92 dev-libs/liboil/ChangeLog
51
52 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/liboil/ChangeLog?rev=1.92&view=markup
53 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/liboil/ChangeLog?rev=1.92&content-type=text/plain
54 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/liboil/ChangeLog?r1=1.91&r2=1.92
55
56 Index: ChangeLog
57 ===================================================================
58 RCS file: /var/cvsroot/gentoo-x86/dev-libs/liboil/ChangeLog,v
59 retrieving revision 1.91
60 retrieving revision 1.92
61 diff -u -r1.91 -r1.92
62 --- ChangeLog 6 Jun 2012 03:34:34 -0000 1.91
63 +++ ChangeLog 29 Oct 2012 00:56:43 -0000 1.92
64 @@ -1,6 +1,16 @@
65 # ChangeLog for dev-libs/liboil
66 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
67 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/liboil/ChangeLog,v 1.91 2012/06/06 03:34:34 zmedico Exp $
68 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/liboil/ChangeLog,v 1.92 2012/10/29 00:56:43 tetromino Exp $
69 +
70 +*liboil-0.3.17-r1 (29 Oct 2012)
71 +
72 + 29 Oct 2012; Alexandre Rostovtsev <tetromino@g.o>
73 + liboil-0.3.17.ebuild, +liboil-0.3.17-r1.ebuild,
74 + +files/liboil-0.3.17-amd64-cpuid.patch:
75 + Add upstream patch to fix CPU detection on amd64. Add prefix keywords (bug
76 + #440082, thanks to Christoph Junghans). Remove useless doc USE flag, and
77 + install docs in the location where tools like devhelp expect them. Punt .la
78 + files, and make static libs optional.
79
80 06 Jun 2012; Zac Medico <zmedico@g.o> liboil-0.3.17.ebuild:
81 inherit eutils for epatch
82
83
84
85 1.1 dev-libs/liboil/liboil-0.3.17-r1.ebuild
86
87 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/liboil/liboil-0.3.17-r1.ebuild?rev=1.1&view=markup
88 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-libs/liboil/liboil-0.3.17-r1.ebuild?rev=1.1&content-type=text/plain
89
90 Index: liboil-0.3.17-r1.ebuild
91 ===================================================================
92 # Copyright 1999-2012 Gentoo Foundation
93 # Distributed under the terms of the GNU General Public License v2
94 # $Header: /var/cvsroot/gentoo-x86/dev-libs/liboil/liboil-0.3.17-r1.ebuild,v 1.1 2012/10/29 00:56:43 tetromino Exp $
95
96 EAPI=4
97 inherit eutils flag-o-matic multilib
98
99 DESCRIPTION="Library of simple functions that are optimized for various CPUs"
100 HOMEPAGE="http://liboil.freedesktop.org/"
101 SRC_URI="http://liboil.freedesktop.org/download/${P}.tar.gz"
102
103 LICENSE="BSD-2"
104 SLOT="0.3"
105 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
106 IUSE="+examples static-libs test"
107
108 RDEPEND="examples? ( dev-libs/glib:2 )"
109 DEPEND="${RDEPEND}
110 dev-util/gtk-doc-am
111 virtual/pkgconfig"
112
113 src_prepare() {
114 if ! use examples; then
115 sed "s/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/" \
116 -i Makefile.am Makefile.in || die
117 fi
118
119 if ! use test; then
120 sed "s/^\(SUBDIRS =.*\)testsuite\(.*\)$/\1\2/" \
121 -i Makefile.am Makefile.in || die
122 fi
123
124 epatch "${FILESDIR}/${P}-amd64-cpuid.patch"
125 has x32 $(get_all_abis) && epatch "${FILESDIR}"/${PN}-0.3.17-x32.patch
126 }
127
128 src_configure() {
129 strip-flags
130 filter-flags -O?
131 append-flags -O2
132
133 econf $(use_enable static-libs static)
134 }
135
136 src_install() {
137 DOCS="AUTHORS BUG-REPORTING HACKING NEWS README"
138 default
139 prune_libtool_files
140 }
141
142 pkg_postinst() {
143 if ! use examples; then
144 ewarn "You have disabled examples USE flag. Beware that upstream might"
145 ewarn "want the output of some utilities that are only built with"
146 ewarn "USE='examples' if you report bugs to them."
147 fi
148 }