summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2013-08-11 15:01:04 +0000
committerAlexis Ballier <aballier@gentoo.org>2013-08-11 15:01:04 +0000
commitbb107198fd3619e0be67e5a835e3addfec0dcec0 (patch)
tree9684095611669cd6ac455eb81988f30696464209 /media-libs/libdc1394
parentsci-biology/abyss: Version BUmp, respect AR, #477580 (diff)
downloadgentoo-2-bb107198fd3619e0be67e5a835e3addfec0dcec0.tar.gz
gentoo-2-bb107198fd3619e0be67e5a835e3addfec0dcec0.tar.bz2
gentoo-2-bb107198fd3619e0be67e5a835e3addfec0dcec0.zip
Version bump and convert to multilib
(Portage version: 2.2.0_alpha196/cvs/Linux x86_64, signed Manifest commit with key 160F534A)
Diffstat (limited to 'media-libs/libdc1394')
-rw-r--r--media-libs/libdc1394/ChangeLog9
-rw-r--r--media-libs/libdc1394/libdc1394-2.2.1.ebuild45
2 files changed, 52 insertions, 2 deletions
diff --git a/media-libs/libdc1394/ChangeLog b/media-libs/libdc1394/ChangeLog
index 609ecec32e2f..21a598a54c93 100644
--- a/media-libs/libdc1394/ChangeLog
+++ b/media-libs/libdc1394/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/libdc1394
-# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libdc1394/ChangeLog,v 1.69 2012/05/05 08:02:42 jdhore Exp $
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libdc1394/ChangeLog,v 1.70 2013/08/11 15:01:04 aballier Exp $
+
+*libdc1394-2.2.1 (11 Aug 2013)
+
+ 11 Aug 2013; Alexis Ballier <aballier@gentoo.org> +libdc1394-2.2.1.ebuild:
+ Version bump and convert to multilib
05 May 2012; Jeff Horelick <jdhore@gentoo.org> libdc1394-2.1.3-r1.ebuild,
libdc1394-2.1.4.ebuild:
diff --git a/media-libs/libdc1394/libdc1394-2.2.1.ebuild b/media-libs/libdc1394/libdc1394-2.2.1.ebuild
new file mode 100644
index 000000000000..5abe7aa6528f
--- /dev/null
+++ b/media-libs/libdc1394/libdc1394-2.2.1.ebuild
@@ -0,0 +1,45 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libdc1394/libdc1394-2.2.1.ebuild,v 1.1 2013/08/11 15:01:04 aballier Exp $
+
+EAPI=5
+
+inherit 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"
+
+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-1.2.0[${MULTILIB_USEDEP}]
+ virtual/libusb:1[${MULTILIB_USEDEP}]"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig
+ doc? ( app-doc/doxygen )"
+
+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 {} +
+}