summaryrefslogtreecommitdiff
path: root/media-libs/libdc1394
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libdc1394')
-rw-r--r--media-libs/libdc1394/Manifest2
-rw-r--r--media-libs/libdc1394/libdc1394-2.2.6.ebuild55
2 files changed, 57 insertions, 0 deletions
diff --git a/media-libs/libdc1394/Manifest b/media-libs/libdc1394/Manifest
index 0bd397905bcc..691d6c0d0c05 100644
--- a/media-libs/libdc1394/Manifest
+++ b/media-libs/libdc1394/Manifest
@@ -1,5 +1,7 @@
AUX libdc1394-2.2.1-pthread.patch 332 BLAKE2B e43035a9b9f9f7dc42806ee5fac9b1c7c7edcef700a82e845fe72e55f09de31904d61795afdbe50a8e8e1638ac2da0efaee5658a0301b183bfe06dea0a5f46f8 SHA512 ae0c6c4ad19da0b06ebae86e2602dcf80997ccea5cc45c18f71b5c55ac668310989d87e99075a1020cc58fe5d9f8bae71435aecae21e786b4c7436628fba808e
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
EBUILD libdc1394-2.2.5-r1.ebuild 1381 BLAKE2B afe9d0304ab4c83decba846eb6d5ba775aee2407f8f1a516d9d6698633c6227aad649dd863c58bf98240b345b4a7e7968712332d6e77f8c5d44e726caf09f315 SHA512 b0d1c5d5120f87717491693fa4608a3f3cc65e6cf1940c9fed3dfdfea98a50f1152d5644ac5da30ac7d937230e964fb1c3996aa28ddb12033633812e758b18a2
+EBUILD libdc1394-2.2.6.ebuild 1391 BLAKE2B f4f405c4876256a82c039881f3a0045aecca05fd16328add8bc904d7d902de63f69d142b64314da7a715c06b6c0505ec6cf6d702f5768cc7247755ed9b911125 SHA512 2a43ccaf911f3b98f678ae75f297c5c1204b435971bd2137813aa460e70aeb6d401cb0da5aef36420266dfa3075e348220dcac4b8c32baa1a8dc14c04c9f3bb9
MISC metadata.xml 310 BLAKE2B e433df9a1c48848c371f278ef408de74d5a78896a17a511cd1dd7cdf35e77a87070178f22ad55f70a200088f8f2186d970b1c5cea7eed8ca66b8bad58549667b SHA512 2fbb994fc42ad1c7e1da90b5525ddc1ee1b1abeefeed6496b3aea4df79d556e7032291c782c022ab855216ecdf1539e624f951766f19e33564fd80646bec25b1
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 000000000000..b03c606af7cb
--- /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
+}