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-libs/libdc1394/, media-libs/libdc1394/files/
Date: Mon, 19 Feb 2018 10:17:24
Message-Id: 1519035424.d4c5770383ab4b8793e0bbbdd5650df2d32f7356.asturm@gentoo
1 commit: d4c5770383ab4b8793e0bbbdd5650df2d32f7356
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 18 22:34:25 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Mon Feb 19 10:17:04 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4c57703
7
8 media-libs/libdc1394: EAPI 6 bump
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 .../libdc1394/files/libdc1394-2.2.1-pthread.patch | 4 +-
13 media-libs/libdc1394/libdc1394-2.2.5-r1.ebuild | 53 ++++++++++++++++++++++
14 2 files changed, 55 insertions(+), 2 deletions(-)
15
16 diff --git a/media-libs/libdc1394/files/libdc1394-2.2.1-pthread.patch b/media-libs/libdc1394/files/libdc1394-2.2.1-pthread.patch
17 index 6ea7651e146..535dc9040d8 100644
18 --- a/media-libs/libdc1394/files/libdc1394-2.2.1-pthread.patch
19 +++ b/media-libs/libdc1394/files/libdc1394-2.2.1-pthread.patch
20 @@ -1,7 +1,7 @@
21 http://bugs.gentoo.org/514008
22
23 ---- dc1394/usb/Makefile.am
24 -+++ dc1394/usb/Makefile.am
25 +--- a/dc1394/usb/Makefile.am
26 ++++ b/dc1394/usb/Makefile.am
27 @@ -8,7 +8,7 @@
28 endif
29
30
31 diff --git a/media-libs/libdc1394/libdc1394-2.2.5-r1.ebuild b/media-libs/libdc1394/libdc1394-2.2.5-r1.ebuild
32 new file mode 100644
33 index 00000000000..100614100ce
34 --- /dev/null
35 +++ b/media-libs/libdc1394/libdc1394-2.2.5-r1.ebuild
36 @@ -0,0 +1,53 @@
37 +# Copyright 1999-2018 Gentoo Foundation
38 +# Distributed under the terms of the GNU General Public License v2
39 +
40 +EAPI=6
41 +
42 +inherit autotools multilib-minimal
43 +
44 +DESCRIPTION="Library to interface with IEEE 1394 cameras following the IIDC specification"
45 +HOMEPAGE="https://sourceforge.net/projects/libdc1394/"
46 +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
47 + https://dev.gentoo.org/~ssuominen/sdl.m4-20140620.tar.xz"
48 +
49 +LICENSE="LGPL-2.1"
50 +SLOT="2"
51 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
52 +IUSE="doc static-libs X"
53 +
54 +RDEPEND="
55 + >=sys-libs/libraw1394-2.1.0-r1[${MULTILIB_USEDEP}]
56 + >=virtual/libusb-1-r1:1[${MULTILIB_USEDEP}]"
57 +DEPEND="${RDEPEND}
58 + virtual/pkgconfig
59 + doc? ( app-doc/doxygen )"
60 +
61 +PATCHES=( "${FILESDIR}"/${PN}-2.2.1-pthread.patch )
62 +
63 +src_prepare() {
64 + default
65 + AT_M4DIR=${WORKDIR}/aclocal eautoreconf
66 +}
67 +
68 +multilib_src_configure() {
69 + local myconf="$(use_enable doc doxygen-html)"
70 + multilib_is_native_abi || myconf="--disable-doxygen-html --disable-examples"
71 +
72 + # X is only useful for examples that are not installed.
73 + ECONF_SOURCE="${S}" econf \
74 + $(use_enable static-libs static) \
75 + --program-suffix=2 \
76 + --without-x \
77 + ${myconf}
78 +}
79 +
80 +multilib_src_compile() {
81 + default
82 + multilib_is_native_abi && use doc && emake doc
83 +}
84 +
85 +multilib_src_install() {
86 + multilib_is_native_abi && use doc && local HTML_DOCS=( doc/html/. )
87 + default
88 + find "${ED}" -name '*.la' -delete || die
89 +}