Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/liboil/
Date: Thu, 29 Sep 2016 15:51:57
Message-Id: 1475164299.1c45a804c3003d11f659beeef08d26f63063d2e2.kensington@gentoo
1 commit: 1c45a804c3003d11f659beeef08d26f63063d2e2
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Thu Sep 29 15:50:33 2016 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Thu Sep 29 15:51:39 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c45a804
7
8 dev-libs/liboil: remove old
9
10 Package-Manager: portage-2.3.1
11
12 dev-libs/liboil/liboil-0.3.17-r1.ebuild | 57 --------------------------------
13 dev-libs/liboil/liboil-0.3.17.ebuild | 58 ---------------------------------
14 2 files changed, 115 deletions(-)
15
16 diff --git a/dev-libs/liboil/liboil-0.3.17-r1.ebuild b/dev-libs/liboil/liboil-0.3.17-r1.ebuild
17 deleted file mode 100644
18 index 67b13c3..00000000
19 --- a/dev-libs/liboil/liboil-0.3.17-r1.ebuild
20 +++ /dev/null
21 @@ -1,57 +0,0 @@
22 -# Copyright 1999-2012 Gentoo Foundation
23 -# Distributed under the terms of the GNU General Public License v2
24 -# $Id$
25 -
26 -EAPI=4
27 -inherit eutils flag-o-matic multilib
28 -
29 -DESCRIPTION="Library of simple functions that are optimized for various CPUs"
30 -HOMEPAGE="https://liboil.freedesktop.org/"
31 -SRC_URI="https://liboil.freedesktop.org/download/${P}.tar.gz"
32 -
33 -LICENSE="BSD-2"
34 -SLOT="0.3"
35 -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"
36 -IUSE="+examples static-libs test"
37 -
38 -RDEPEND="examples? ( dev-libs/glib:2 )"
39 -DEPEND="${RDEPEND}
40 - dev-util/gtk-doc-am
41 - virtual/pkgconfig"
42 -
43 -src_prepare() {
44 - if ! use examples; then
45 - sed "s/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/" \
46 - -i Makefile.am Makefile.in || die
47 - fi
48 -
49 - if ! use test; then
50 - sed "s/^\(SUBDIRS =.*\)testsuite\(.*\)$/\1\2/" \
51 - -i Makefile.am Makefile.in || die
52 - fi
53 -
54 - epatch "${FILESDIR}/${P}-amd64-cpuid.patch"
55 - has x32 $(get_all_abis) && epatch "${FILESDIR}"/${PN}-0.3.17-x32.patch
56 -}
57 -
58 -src_configure() {
59 - strip-flags
60 - filter-flags -O?
61 - append-flags -O2
62 -
63 - econf $(use_enable static-libs static)
64 -}
65 -
66 -src_install() {
67 - DOCS="AUTHORS BUG-REPORTING HACKING NEWS README"
68 - default
69 - prune_libtool_files
70 -}
71 -
72 -pkg_postinst() {
73 - if ! use examples; then
74 - ewarn "You have disabled examples USE flag. Beware that upstream might"
75 - ewarn "want the output of some utilities that are only built with"
76 - ewarn "USE='examples' if you report bugs to them."
77 - fi
78 -}
79
80 diff --git a/dev-libs/liboil/liboil-0.3.17.ebuild b/dev-libs/liboil/liboil-0.3.17.ebuild
81 deleted file mode 100644
82 index c566e08..00000000
83 --- a/dev-libs/liboil/liboil-0.3.17.ebuild
84 +++ /dev/null
85 @@ -1,58 +0,0 @@
86 -# Copyright 1999-2012 Gentoo Foundation
87 -# Distributed under the terms of the GNU General Public License v2
88 -# $Id$
89 -
90 -EAPI=2
91 -inherit eutils flag-o-matic multilib
92 -
93 -DESCRIPTION="Library of simple functions that are optimized for various CPUs"
94 -HOMEPAGE="https://liboil.freedesktop.org/"
95 -SRC_URI="https://liboil.freedesktop.org/download/${P}.tar.gz"
96 -
97 -LICENSE="BSD-2"
98 -SLOT="0.3"
99 -KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd"
100 -IUSE="doc +examples test"
101 -
102 -RDEPEND="examples? ( dev-libs/glib:2 )"
103 -DEPEND="${RDEPEND}
104 - virtual/pkgconfig
105 - doc? ( >=dev-util/gtk-doc-1 )"
106 -
107 -src_prepare() {
108 - if ! use examples; then
109 - sed "s/^\(SUBDIRS =.*\)examples\(.*\)$/\1\2/" \
110 - -i Makefile.am Makefile.in || die
111 - fi
112 -
113 - if ! use test; then
114 - sed "s/^\(SUBDIRS =.*\)testsuite\(.*\)$/\1\2/" \
115 - -i Makefile.am Makefile.in || die
116 - fi
117 -
118 - has x32 $(get_all_abis) && epatch "${FILESDIR}"/${PN}-0.3.17-x32.patch
119 -}
120 -
121 -src_configure() {
122 - strip-flags
123 - filter-flags -O?
124 - append-flags -O2
125 -
126 - econf \
127 - --disable-dependency-tracking \
128 - $(use_enable doc gtk-doc) \
129 - --with-html-dir=/usr/share/doc/${PF}/html
130 -}
131 -
132 -src_install() {
133 - emake DESTDIR="${D}" install || die
134 - dodoc AUTHORS BUG-REPORTING HACKING NEWS README || die
135 -}
136 -
137 -pkg_postinst() {
138 - if ! use examples; then
139 - ewarn "You have disabled examples USE flag. Beware that upstream might"
140 - ewarn "want the output of some utilities that are only built with"
141 - ewarn "USE='examples' if you report bugs to them."
142 - fi
143 -}