Gentoo Archives: gentoo-commits

From: Lars Wendler <polynomial-c@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libcdio/
Date: Thu, 18 Apr 2019 15:25:35
Message-Id: 1555601118.74b266480b5f1993ae643254f3e8c211ef82c2bb.polynomial-c@gentoo
1 commit: 74b266480b5f1993ae643254f3e8c211ef82c2bb
2 Author: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 18 11:21:03 2019 +0000
4 Commit: Lars Wendler <polynomial-c <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 18 15:25:18 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74b26648
7
8 dev-libs/libcdio: Bump to version 2.1.0
9
10 Package-Manager: Portage-2.3.63, Repoman-2.3.12
11 Signed-off-by: Lars Wendler <polynomial-c <AT> gentoo.org>
12
13 dev-libs/libcdio/Manifest | 1 +
14 dev-libs/libcdio/libcdio-2.1.0.ebuild | 76 +++++++++++++++++++++++++++++++++++
15 2 files changed, 77 insertions(+)
16
17 diff --git a/dev-libs/libcdio/Manifest b/dev-libs/libcdio/Manifest
18 index f137928cfd7..b6c43e44160 100644
19 --- a/dev-libs/libcdio/Manifest
20 +++ b/dev-libs/libcdio/Manifest
21 @@ -3,3 +3,4 @@ DIST libcdio-0.94.tar.gz 2355452 BLAKE2B c6a720fb714e6aa0d4425ccf92e4c08172d26d7
22 DIST libcdio-1.0.0.tar.gz 2343992 BLAKE2B d187a0aba99efa1172cab302fcd020dc2a581633368230a6ba00db6250c8e7d5e66111fba1804ecb0ba5416c876f88f1d07549118bb003d4631c14d0f3e85ba6 SHA512 2beb5c9cf455c5b56f0a8ba641b8fe322c487256b017108fadbdf288e92787fa0b956d2291aa877df5a9b4494f8425de58c0f71d587ef5f9346987733f66e5dc
23 DIST libcdio-1.1.0.tar.gz 2348106 BLAKE2B c63959d6cd92288b2d098f19b28a61fc5a7005390186045c6f72392becf9eb5808da7a8b952de166c5b263b9c10e594031a3fb908331eda040c210b984b3e11e SHA512 fe5a0d726974c8678b59de74ce043a5ed464f6ab595bf938e90bc5a348e9e882755e75aa3eecce50ce910b28e2498b5a892402fc0ea8728d382d1af36db71985
24 DIST libcdio-2.0.0.tar.gz 2354813 BLAKE2B d3ebf9a20004cc8c75d1e6f97a2cea68f490517e34a4cf84f343d717e49cbb9cd612a3c6911894501f16373e3222e7fc6d175fd6d93d1c967cd21502716b22f8 SHA512 8f48cc71d28b427b16f48e50bcaf0aea171055c72a9aeee383ac4374eee1d3d288323814c3a3f308a9ba097aa815319429c1931072897985a3b02b814766fd4f
25 +DIST libcdio-2.1.0.tar.bz2 1759040 BLAKE2B 4859fc545cf81246279b7b0434c02916e874681b40d00f8253fd7837941a34c5a717a81b1c3b1714153ad343e03c28668984f6fd5647662ec4e6759752326cb0 SHA512 c290821da55fd9ae366670a58857aa6efcebc9f25b7caea063cf12f9cbda84fe770c5f59f972227fda50517ca58c5f39c0137daa0f93179e3daa45303d8b610f
26
27 diff --git a/dev-libs/libcdio/libcdio-2.1.0.ebuild b/dev-libs/libcdio/libcdio-2.1.0.ebuild
28 new file mode 100644
29 index 00000000000..91ca3e370f2
30 --- /dev/null
31 +++ b/dev-libs/libcdio/libcdio-2.1.0.ebuild
32 @@ -0,0 +1,76 @@
33 +# Copyright 1999-2019 Gentoo Authors
34 +# Distributed under the terms of the GNU General Public License v2
35 +
36 +EAPI=7
37 +
38 +inherit autotools libtool multilib-minimal
39 +
40 +DESCRIPTION="A library to encapsulate CD-ROM reading and control"
41 +HOMEPAGE="https://www.gnu.org/software/libcdio/"
42 +SRC_URI="mirror://gnu/${PN}/${P}.tar.bz2"
43 +
44 +LICENSE="GPL-3"
45 +SLOT="0/19" # subslot is based on SONAME
46 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
47 +IUSE="cddb +cxx minimal static-libs test"
48 +
49 +RDEPEND="
50 + !minimal? (
51 + >=sys-libs/ncurses-5.7-r7:0=
52 + cddb? ( >=media-libs/libcddb-1.3.2 )
53 + )
54 + >=virtual/libiconv-0-r1[${MULTILIB_USEDEP}]
55 +"
56 +DEPEND="${RDEPEND}"
57 +BDEPEND="
58 + sys-apps/sed
59 + sys-devel/gettext
60 + virtual/pkgconfig
61 + test? ( dev-lang/perl )
62 +"
63 +
64 +DOCS=( AUTHORS ChangeLog NEWS.md README{,.libcdio} THANKS TODO )
65 +
66 +MULTILIB_WRAPPED_HEADERS=(
67 + /usr/include/cdio/cdio_config.h
68 + /usr/include/cdio/version.h
69 +)
70 +
71 +src_prepare() {
72 + default
73 +
74 + eautoreconf
75 +
76 + #sed \
77 + # -e "s:-lncurses:$($(tc-getPKG_CONFIG) --libs ncurses):g" \
78 + # -i configure || die
79 +
80 + elibtoolize # to prevent -L/usr/lib ending up in the linker line wrt 499510
81 +}
82 +
83 +multilib_src_configure() {
84 + local util_switch
85 + if ! multilib_is_native_abi || use minimal ; then
86 + util_switch="--without"
87 + else
88 + util_switch="--with"
89 + fi
90 +
91 + local myeconfargs=(
92 + --disable-maintainer-mode
93 + $(use_enable cxx)
94 + --disable-cpp-progs
95 + --disable-example-progs
96 + $(use_enable static-libs static)
97 + $(use_enable cddb)
98 + --disable-vcd-info
99 + ${util_switch}-{cd-drive,cd-info,cdda-player,cd-read,iso-info,iso-read}
100 + )
101 + # Tests fail if ECONF_SOURCE is not relative
102 + ECONF_SOURCE="../${P}" econf "${myeconfargs[@]}"
103 +}
104 +
105 +multilib_src_install_all() {
106 + einstalldocs
107 + find "${ED}" -name '*.la' -delete || die
108 +}