1 |
commit: 15616183a35ecfe321e28a99868882d7a3a29465 |
2 |
Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Nov 23 14:47:03 2017 +0000 |
4 |
Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Nov 23 14:49:04 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15616183 |
7 |
|
8 |
dev-libs/libcdio-paranoia: Bump to version 0.94_p2 |
9 |
|
10 |
Package-Manager: Portage-2.3.16, Repoman-2.3.6 |
11 |
|
12 |
dev-libs/libcdio-paranoia/Manifest | 1 + |
13 |
.../libcdio-paranoia-0.94_p2.ebuild | 70 ++++++++++++++++++++++ |
14 |
2 files changed, 71 insertions(+) |
15 |
|
16 |
diff --git a/dev-libs/libcdio-paranoia/Manifest b/dev-libs/libcdio-paranoia/Manifest |
17 |
index 5cc246f27ea..633c0df63bd 100644 |
18 |
--- a/dev-libs/libcdio-paranoia/Manifest |
19 |
+++ b/dev-libs/libcdio-paranoia/Manifest |
20 |
@@ -1,3 +1,4 @@ |
21 |
DIST libcdio-paranoia-10.2+0.90+1.tar.gz 634050 SHA256 7608c8e3195ba438aa1ae05b60d76ef9aacbcc27233a3eb03a0439abea464be6 SHA512 c3d00b57f22deb19be929ba87f41bbd83fc51ca66e8ccc1da7acb4131d85449fdd38161cc3ec0f1714fc0571e219d72029b5a72f853c139aa479695df783aad6 WHIRLPOOL 920d8d8f377dd6ae4f95e777d3c926250b24572d27fcf7171ec5cdf434dbbf5b084b30448303d9ae93328eee7003d763df082455d318440fb9a5f3d0e9c9e7db |
22 |
DIST libcdio-paranoia-10.2+0.93+1.tar.gz 686055 SHA256 4617792b4eb301de45b61732bdc0617447ad06b53068ae45db37695275c0dd4c SHA512 2bb418c99ef037aeb90ba3db841ea9182c5bc401e74c6f4b552730e6c8561552f7d3e27be71ef4fbb07b4fcd9db418a4fe330d5278e8f41cdd99c757aa4b8bc6 WHIRLPOOL 2109ff999820e63b07853ea26c059e3f60af4b2ac42083f122551dbf7e8b78d5ad522df209f236040bd355dc134d68d4ef3345c57c65bc7392327667d1facd38 |
23 |
DIST libcdio-paranoia-10.2+0.94+1.tar.gz 703424 SHA256 ce22ab868b61ee3b648359dbdec83566b37b1e03f26a2460be6ccdf4a6ad3c99 SHA512 9b2381491271090bac08594cb1d84de98e9f0a5afc6a2c98e9ffcf4b95addc3adcd0f0b9adeb928dfbf8178356ad6a7ccfeb048685c823d138b2af232f0b4c93 WHIRLPOOL fc2441ac70e8f4fa0e36380476c3982d04874a8806dce9a0fe2f62c4fdfa515064da9ce9b575f5c3153549c211361528cfb44444b70615782fed044a1229e511 |
24 |
+DIST libcdio-paranoia-10.2+0.94+2.tar.gz 704560 BLAKE2B babb912a7252b25b1d32f7d3cc80d73235383170b16118c4f6fcddd58ded534b2e5a8bb61aa8ca784270fc4631ea3e53cdc88d03b0a7686f74ab1cef7ca35980 SHA512 0e4ed5cc52d0758e945ac7f956c1ca870068f6444df912e2ba5f597947962c471d1c526b5cdab4e092fecb924ecb317667df454497b2e515a4e985693cd86f47 |
25 |
|
26 |
diff --git a/dev-libs/libcdio-paranoia/libcdio-paranoia-0.94_p2.ebuild b/dev-libs/libcdio-paranoia/libcdio-paranoia-0.94_p2.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..e144afa35ec |
29 |
--- /dev/null |
30 |
+++ b/dev-libs/libcdio-paranoia/libcdio-paranoia-0.94_p2.ebuild |
31 |
@@ -0,0 +1,70 @@ |
32 |
+# Copyright 1999-2017 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+MY_P=${PN}-10.2+${PV/_p/+} |
37 |
+ |
38 |
+inherit eutils autotools multilib-minimal flag-o-matic |
39 |
+ |
40 |
+DESCRIPTION="an advanced CDDA reader with error correction" |
41 |
+HOMEPAGE="https://www.gnu.org/software/libcdio/" |
42 |
+SRC_URI="mirror://gnu/${PN%-*}/${MY_P}.tar.gz" |
43 |
+ |
44 |
+# COPYING-GPL from cdparanoia says "2 or later" |
45 |
+# COPYING-LGPL from cdparanoia says "2.1 or later" but 2 files are without the |
46 |
+# clause "or later" so we use LGPL-2.1 without + |
47 |
+LICENSE="GPL-3+ GPL-2+ LGPL-2.1" |
48 |
+SLOT="0" |
49 |
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris" |
50 |
+IUSE="+cxx static-libs test" |
51 |
+ |
52 |
+RDEPEND="app-eselect/eselect-cdparanoia |
53 |
+ >=dev-libs/libcdio-0.94:0=[${MULTILIB_USEDEP}] |
54 |
+ >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}] |
55 |
+ abi_x86_32? ( !<=app-emulation/emul-linux-x86-medialibs-20130224-r10 |
56 |
+ !app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)] )" |
57 |
+DEPEND="${RDEPEND} |
58 |
+ sys-devel/gettext |
59 |
+ virtual/pkgconfig |
60 |
+ test? ( dev-lang/perl )" |
61 |
+ |
62 |
+S="${WORKDIR}/${MY_P}" |
63 |
+ |
64 |
+DOCS=( AUTHORS ChangeLog NEWS README.md THANKS ) |
65 |
+ |
66 |
+PATCHES=("${FILESDIR}"/${PN}-0.90-oos-tests.patch) |
67 |
+ |
68 |
+src_prepare() { |
69 |
+ sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.ac || die #466410 |
70 |
+ default |
71 |
+ eautoreconf |
72 |
+ |
73 |
+ [[ ${CC} == *clang* ]] && append-flags -std=gnu89 |
74 |
+} |
75 |
+ |
76 |
+multilib_src_configure() { |
77 |
+ local myeconfargs=( |
78 |
+ --disable-maintainer-mode |
79 |
+ --disable-example-progs |
80 |
+ $(use_enable cxx) |
81 |
+ --disable-cpp-progs |
82 |
+ --with-cd-paranoia-name=libcdio-paranoia |
83 |
+ # upstream accidentally default-disabled it |
84 |
+ # reenable it to preserve ABI compat with previous versions |
85 |
+ # https://bugs.gentoo.org/616054 |
86 |
+ # https://savannah.gnu.org/bugs/index.php?50978 |
87 |
+ --enable-ld-version-script |
88 |
+ ) |
89 |
+ # Darwin linker doesn't get this |
90 |
+ [[ ${CHOST} == *-darwin* ]] && myeconfargs+=( --disable-ld-version-script ) |
91 |
+ ECONF_SOURCE="${S}" \ |
92 |
+ econf "${myeconfargs[@]}" |
93 |
+} |
94 |
+ |
95 |
+pkg_postinst() { |
96 |
+ eselect cdparanoia update ifunset |
97 |
+} |
98 |
+ |
99 |
+pkg_postrm() { |
100 |
+ eselect cdparanoia update ifunset |
101 |
+} |