Gentoo Archives: gentoo-commits

From: Alexis Ballier <aballier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/libdc1394/
Date: Mon, 31 Aug 2020 09:10:37
Message-Id: 1598865020.2810ea9fbaa0739451fd6f32b584d3ce6e6aa889.aballier@gentoo
1 commit: 2810ea9fbaa0739451fd6f32b584d3ce6e6aa889
2 Author: Alexis Ballier <aballier <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 31 06:56:19 2020 +0000
4 Commit: Alexis Ballier <aballier <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 31 09:10:20 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2810ea9f
7
8 media-libs/libdc1394: bump to 2.2.6
9
10 add subslot
11
12 Package-Manager: Portage-3.0.4, Repoman-3.0.1
13 Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>
14
15 media-libs/libdc1394/Manifest | 1 +
16 media-libs/libdc1394/libdc1394-2.2.6.ebuild | 55 +++++++++++++++++++++++++++++
17 2 files changed, 56 insertions(+)
18
19 diff --git a/media-libs/libdc1394/Manifest b/media-libs/libdc1394/Manifest
20 index 92ad54697a8..eb0f127a118 100644
21 --- a/media-libs/libdc1394/Manifest
22 +++ b/media-libs/libdc1394/Manifest
23 @@ -1,2 +1,3 @@
24 DIST libdc1394-2.2.5.tar.gz 611918 BLAKE2B 64a5e156bfcef1f7a0ab2ec9be6cab65cf47bdc79ec3387d183778287ea1f72234325f7df5b67745289d68aea0105f24d7c55a4f13e913a60d43e3d74fcd4979 SHA512 4a02560b7b2db7199b91c35786cb9d5af51398795fc1b7f0cb577d3563b27c0d03d407fa472d9756a2f87b658350a55d29c16fef401a74f835ba86e25214d13c
25 +DIST libdc1394-2.2.6.tar.gz 612067 BLAKE2B bf2c5f1ce86220229d66db0549a637efeeb2bf80880fefc830510c65d7a63090b79f1c40df7a12f655808263b7ac5166391a5de63b2158a804e30edee35e89e9 SHA512 2d60ed1054da67d8518e870193b60c1d79778858f48cc6487e252de00cc57a08548515d41914a37d0227d29e158d68892c290f83930ffd95f4a483dce5aa3d25
26 DIST sdl.m4-20140620.tar.xz 2420 BLAKE2B 2057bd14817809fc4ce8188971e846d70deda495c25dc3e1e87499f61b67373870c4b3f171edd9e5cf20e29c5d4c1eb11858001c67658e06715be3550668a61d SHA512 d8844d0967809241b642e0b6aaf45f2a5e94567d239d338aee45aaeb0e38765bcae419660562b7064d91afec63cc6ade0878fc7d6f36c61c083d136098a9af55
27
28 diff --git a/media-libs/libdc1394/libdc1394-2.2.6.ebuild b/media-libs/libdc1394/libdc1394-2.2.6.ebuild
29 new file mode 100644
30 index 00000000000..b03c606af7c
31 --- /dev/null
32 +++ b/media-libs/libdc1394/libdc1394-2.2.6.ebuild
33 @@ -0,0 +1,55 @@
34 +# Copyright 1999-2020 Gentoo Authors
35 +# Distributed under the terms of the GNU General Public License v2
36 +
37 +EAPI=6
38 +
39 +inherit autotools multilib-minimal
40 +
41 +DESCRIPTION="Library to interface with IEEE 1394 cameras following the IIDC specification"
42 +HOMEPAGE="https://sourceforge.net/projects/libdc1394/"
43 +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
44 + https://dev.gentoo.org/~ssuominen/sdl.m4-20140620.tar.xz"
45 +
46 +LICENSE="LGPL-2.1"
47 +SLOT="2/25"
48 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
49 +IUSE="doc static-libs"
50 +
51 +RDEPEND="
52 + >=sys-libs/libraw1394-2.1.0-r1[${MULTILIB_USEDEP}]
53 + >=virtual/libusb-1-r1:1[${MULTILIB_USEDEP}]"
54 +DEPEND="${RDEPEND}
55 + virtual/pkgconfig
56 + doc? ( app-doc/doxygen )"
57 +
58 +PATCHES=( "${FILESDIR}"/${PN}-2.2.1-pthread.patch )
59 +
60 +src_prepare() {
61 + default
62 + AT_M4DIR=${WORKDIR}/aclocal eautoreconf
63 +}
64 +
65 +multilib_src_configure() {
66 + local myeconfargs=(
67 + $(use_enable doc doxygen-html)
68 + $(use_enable static-libs static)
69 + --disable-examples
70 + --program-suffix=2
71 + --without-x # only useful for (disabled) examples
72 + )
73 +
74 + multilib_is_native_abi || myeconfargs+=( --disable-doxygen-html )
75 +
76 + ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
77 +}
78 +
79 +multilib_src_compile() {
80 + default
81 + multilib_is_native_abi && use doc && emake doc
82 +}
83 +
84 +multilib_src_install() {
85 + multilib_is_native_abi && use doc && local HTML_DOCS=( doc/html/. )
86 + default
87 + find "${ED}" -name '*.la' -delete || die
88 +}