summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/libdc1394')
-rw-r--r--media-libs/libdc1394/Manifest1
-rw-r--r--media-libs/libdc1394/libdc1394-2.2.4.ebuild53
2 files changed, 54 insertions, 0 deletions
diff --git a/media-libs/libdc1394/Manifest b/media-libs/libdc1394/Manifest
index ac33864972f..b791384b541 100644
--- a/media-libs/libdc1394/Manifest
+++ b/media-libs/libdc1394/Manifest
@@ -2,4 +2,5 @@ DIST libdc1394-2.1.3.tar.gz 596778 SHA256 6690e8f97abadd41aa6a5f6e0365e17287847b
DIST libdc1394-2.1.4.tar.gz 576406 SHA256 c605d1f099690a71b743827f01a7733e898a45da69ca31eb912fa007f4a3acf0 SHA512 21f36988cc1b85ec058b8c17b5311ee7c0c61ff3bc69e9ade94c44b9e96ab02fa5f243bead0ed3f1e3f130663cc46843f83cd78d3a960bb8d06fffa3df4ac1e8 WHIRLPOOL 3485bb2f140c6a5b7acb4a6982f8be6979cbf693fe60d588e5967c01614921647902f690583ca5b0eadaa9ab663a9b98b9f3830a4e444d67f8238b13ac732c80
DIST libdc1394-2.2.1.tar.gz 556544 SHA256 920c331abf8bf2e1f73dfee0df103daf9f1850a69552ee825a9824e01ce96cf2 SHA512 e79370d4ac50f60535ef8b6f6ae21d5ede965812c775853e98c5c38e9bfc87929ef6e0d3737a20a443cd60c0225af18944bcba6d2cfb2ba858ac868bfb53c446 WHIRLPOOL 2107a2baf8090151ff5b81933dbe0e67198a87579db204bf69e574625007048d00b6b9d9a29309a026b49f7e55c10847cbe894f431ea976d5cc9f4e33a0f5499
DIST libdc1394-2.2.3.tar.gz 606042 SHA256 4a197880657f54519683ce014e613acdfd909767a69873eb23409fe423232bdd SHA512 d60771fe196cfd5c1ede413c0159ed9f0a977183f4b414f8e26a7be0098c10599c8dd93f8175e7ad38dac1504295c7c9987633bc9cb7de561ad0b64da0c8ca28 WHIRLPOOL b486a2b7075e41b0a6b6b3a4a79580a3fe811f4c66797e419380365562d72e3fea78d90656531a220f20170ca398947fac0113ce0134721b6490d8e39919e165
+DIST libdc1394-2.2.4.tar.gz 609612 SHA256 a93689a353c241884a98727128f315ecf9965db70dca710b08af10e5fa0d2e6f SHA512 adb461fc5562855c3d26279971e25f38f3356c21e6be3fe343390c322d78f2515cf071da00da0ff39aec0d08147851354a2a0dbf325ad2fc179659e6ef5ab6e9 WHIRLPOOL bc0a355f8e0897d5b8cf5593d52dd05635d0d760380187bcd6435059ee797a44fa15555f0cb19bebd70bb563d914d923df60f26c526f68f631e02445c2e78cf9
DIST sdl.m4-20140620.tar.xz 2420 SHA256 855651a9da571ce87c9d62479c82174809dae902bdeb274144f94ca444675560 SHA512 d8844d0967809241b642e0b6aaf45f2a5e94567d239d338aee45aaeb0e38765bcae419660562b7064d91afec63cc6ade0878fc7d6f36c61c083d136098a9af55 WHIRLPOOL a6361961fce75f715943642c185a1750862469aef222cf8d8ddb5c023a878b346919376aa5360c10bd870b79b7309ae62913a63dd51458c64777be50f96ee424
diff --git a/media-libs/libdc1394/libdc1394-2.2.4.ebuild b/media-libs/libdc1394/libdc1394-2.2.4.ebuild
new file mode 100644
index 00000000000..dd390694e1e
--- /dev/null
+++ b/media-libs/libdc1394/libdc1394-2.2.4.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools eutils multilib-minimal
+
+DESCRIPTION="Library to interface with IEEE 1394 cameras following the IIDC specification"
+HOMEPAGE="http://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"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="doc static-libs X"
+
+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 )"
+
+src_prepare() {
+ epatch \
+ "${FILESDIR}"/${PN}-2.2.1-pthread.patch
+
+ AT_M4DIR=${WORKDIR}/aclocal eautoreconf
+}
+
+multilib_src_configure() {
+ local myconf="$(use_enable doc doxygen-html)"
+ multilib_is_native_abi || myconf="--disable-doxygen-html --disable-examples"
+
+ # X is only useful for examples that are not installed.
+ ECONF_SOURCE="${S}" econf \
+ $(use_enable static-libs static) \
+ --program-suffix=2 \
+ --without-x \
+ ${myconf}
+}
+
+multilib_src_compile() {
+ default
+ multilib_is_native_abi && use doc && emake doc
+}
+
+multilib_src_install() {
+ default
+ multilib_is_native_abi && use doc && dohtml doc/html/*
+ find "${ED}" -name '*.la' -exec rm -f {} +
+}