Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/vcdimager/
Date: Sat, 07 Apr 2018 20:49:37
Message-Id: 1523134128.36118ca20461b5421246550de2b2af247b5cec7b.asturm@gentoo
1 commit: 36118ca20461b5421246550de2b2af247b5cec7b
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 7 20:32:14 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 7 20:48:48 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36118ca2
7
8 media-video/vcdimager: 2.0.1 version bump
9
10 Bug: https://bugs.gentoo.org/641550
11 Closes: https://bugs.gentoo.org/641470
12 Package-Manager: Portage-2.3.28, Repoman-2.3.9
13
14 media-video/vcdimager/Manifest | 1 +
15 media-video/vcdimager/vcdimager-2.0.1.ebuild | 57 ++++++++++++++++++++++++++++
16 2 files changed, 58 insertions(+)
17
18 diff --git a/media-video/vcdimager/Manifest b/media-video/vcdimager/Manifest
19 index e56f0870de7..f0057c24754 100644
20 --- a/media-video/vcdimager/Manifest
21 +++ b/media-video/vcdimager/Manifest
22 @@ -1 +1,2 @@
23 DIST vcdimager-0.7.24.tar.gz 1066815 BLAKE2B b58648a4ab54b3151448c2aa17306105ada45d9708375c7461c7f9087b851339f8288855c0d38d1521317b303c79b432b5e99b39ca7b8f59da8ae7aff7238582 SHA512 162f361d3c871c85887f0b25e70c207c511dcf597f337633be3ce925e8c589a8ba26275b8378d1002b8c5eb56995eda017f5f1cf52e52a38e9ff900acba7a214
24 +DIST vcdimager-2.0.1.tar.gz 1115207 BLAKE2B edf70212e81a89924e64115cae9eab77619f7e639e5529b85cc6a80c6ef4f4028c8a207bec86c41283b9768f6a0f56ef56adfad18c7bba20c315b1e5554a83a9 SHA512 55a9d235149a35fe26576703c623a2c9a3f7deedd2e42e01271fdf1e1fdf14c51ee040ee3b5d15fe1b5860fbd4cbeb437362b1a1f40187c8d4d691b6b89a2230
25
26 diff --git a/media-video/vcdimager/vcdimager-2.0.1.ebuild b/media-video/vcdimager/vcdimager-2.0.1.ebuild
27 new file mode 100644
28 index 00000000000..618eb4d7ef3
29 --- /dev/null
30 +++ b/media-video/vcdimager/vcdimager-2.0.1.ebuild
31 @@ -0,0 +1,57 @@
32 +# Copyright 1999-2018 Gentoo Foundation
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=6
36 +
37 +inherit multilib-minimal
38 +
39 +DESCRIPTION="GNU VCDimager"
40 +HOMEPAGE="https://www.gnu.org/software/vcdimager/"
41 +SRC_URI="mirror://gnu/${PN}/${P}.tar.gz"
42 +
43 +LICENSE="GPL-2"
44 +SLOT="0"
45 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
46 +IUSE="static-libs +xml"
47 +
48 +RDEPEND="
49 + >=dev-libs/libcdio-2.0.0:0=[-minimal,${MULTILIB_USEDEP}]
50 + dev-libs/popt
51 + xml? ( dev-libs/libxml2:2 )
52 +"
53 +DEPEND="${RDEPEND}
54 + virtual/pkgconfig
55 +"
56 +
57 +DOCS=( AUTHORS BUGS ChangeLog FAQ HACKING NEWS README THANKS TODO )
58 +
59 +src_prepare() {
60 + default
61 +
62 + # Avoid building useless programs. Bug #226249
63 + sed -i \
64 + -e 's/check_PROGRAMS =/check_PROGRAMS +=/' \
65 + -e 's/noinst_PROGRAMS =/check_PROGRAMS =/' \
66 + test/Makefile.in || die
67 + sed -i \
68 + -e 's/noinst_PROGRAMS =/check_PROGRAMS =/' \
69 + example/Makefile.in || die
70 +}
71 +
72 +multilib_src_configure() {
73 + local myeconfargs=(
74 + $(use_enable static-libs static)
75 + )
76 + multilib_is_native_abi || myeconfargs+=( --without-cli-frontend )
77 + if ! use xml || ! multilib_is_native_abi ; then
78 + myeconfargs+=( --without-xml-frontend )
79 + fi
80 +
81 + ECONF_SOURCE="${S}" \
82 + econf ${myeconfargs[@]}
83 +}
84 +
85 +multilib_src_install_all() {
86 + find "${D}" -name '*.la' -delete || die
87 + einstalldocs
88 +}