commit:     2810ea9fbaa0739451fd6f32b584d3ce6e6aa889
Author:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 31 06:56:19 2020 +0000
Commit:     Alexis Ballier <aballier <AT> gentoo <DOT> org>
CommitDate: Mon Aug 31 09:10:20 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2810ea9f

media-libs/libdc1394: bump to 2.2.6

add subslot

Package-Manager: Portage-3.0.4, Repoman-3.0.1
Signed-off-by: Alexis Ballier <aballier <AT> gentoo.org>

 media-libs/libdc1394/Manifest               |  1 +
 media-libs/libdc1394/libdc1394-2.2.6.ebuild | 55 +++++++++++++++++++++++++++++
 2 files changed, 56 insertions(+)

diff --git a/media-libs/libdc1394/Manifest b/media-libs/libdc1394/Manifest
index 92ad54697a8..eb0f127a118 100644
--- a/media-libs/libdc1394/Manifest
+++ b/media-libs/libdc1394/Manifest
@@ -1,2 +1,3 @@
 DIST libdc1394-2.2.5.tar.gz 611918 BLAKE2B 
64a5e156bfcef1f7a0ab2ec9be6cab65cf47bdc79ec3387d183778287ea1f72234325f7df5b67745289d68aea0105f24d7c55a4f13e913a60d43e3d74fcd4979
 SHA512 
4a02560b7b2db7199b91c35786cb9d5af51398795fc1b7f0cb577d3563b27c0d03d407fa472d9756a2f87b658350a55d29c16fef401a74f835ba86e25214d13c
+DIST libdc1394-2.2.6.tar.gz 612067 BLAKE2B 
bf2c5f1ce86220229d66db0549a637efeeb2bf80880fefc830510c65d7a63090b79f1c40df7a12f655808263b7ac5166391a5de63b2158a804e30edee35e89e9
 SHA512 
2d60ed1054da67d8518e870193b60c1d79778858f48cc6487e252de00cc57a08548515d41914a37d0227d29e158d68892c290f83930ffd95f4a483dce5aa3d25
 DIST sdl.m4-20140620.tar.xz 2420 BLAKE2B 
2057bd14817809fc4ce8188971e846d70deda495c25dc3e1e87499f61b67373870c4b3f171edd9e5cf20e29c5d4c1eb11858001c67658e06715be3550668a61d
 SHA512 
d8844d0967809241b642e0b6aaf45f2a5e94567d239d338aee45aaeb0e38765bcae419660562b7064d91afec63cc6ade0878fc7d6f36c61c083d136098a9af55

diff --git a/media-libs/libdc1394/libdc1394-2.2.6.ebuild 
b/media-libs/libdc1394/libdc1394-2.2.6.ebuild
new file mode 100644
index 00000000000..b03c606af7c
--- /dev/null
+++ b/media-libs/libdc1394/libdc1394-2.2.6.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools multilib-minimal
+
+DESCRIPTION="Library to interface with IEEE 1394 cameras following the IIDC 
specification"
+HOMEPAGE="https://sourceforge.net/projects/libdc1394/";
+SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz
+       https://dev.gentoo.org/~ssuominen/sdl.m4-20140620.tar.xz";
+
+LICENSE="LGPL-2.1"
+SLOT="2/25"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc static-libs"
+
+RDEPEND="
+       >=sys-libs/libraw1394-2.1.0-r1[${MULTILIB_USEDEP}]
+       >=virtual/libusb-1-r1:1[${MULTILIB_USEDEP}]"
+DEPEND="${RDEPEND}
+       virtual/pkgconfig
+       doc? ( app-doc/doxygen )"
+
+PATCHES=( "${FILESDIR}"/${PN}-2.2.1-pthread.patch )
+
+src_prepare() {
+       default
+       AT_M4DIR=${WORKDIR}/aclocal eautoreconf
+}
+
+multilib_src_configure() {
+       local myeconfargs=(
+               $(use_enable doc doxygen-html)
+               $(use_enable static-libs static)
+               --disable-examples
+               --program-suffix=2
+               --without-x # only useful for (disabled) examples
+       )
+
+       multilib_is_native_abi || myeconfargs+=( --disable-doxygen-html )
+
+       ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
+}
+
+multilib_src_compile() {
+       default
+       multilib_is_native_abi && use doc && emake doc
+}
+
+multilib_src_install() {
+       multilib_is_native_abi && use doc && local HTML_DOCS=( doc/html/. )
+       default
+       find "${ED}" -name '*.la' -delete || die
+}

Reply via email to