summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2012-02-07 19:16:38 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2012-02-07 19:16:38 +0000
commitccbc55f03be8dee8f77a0dda96bd3011a7f556b3 (patch)
tree99f43e1acca12be807dcd58b7aca9dd32c842193 /media-video
parentPunt USE="minimal" to unbreak the build wrt #402349 by Myckel Habets (diff)
downloadhistorical-ccbc55f03be8dee8f77a0dda96bd3011a7f556b3.tar.gz
historical-ccbc55f03be8dee8f77a0dda96bd3011a7f556b3.tar.bz2
historical-ccbc55f03be8dee8f77a0dda96bd3011a7f556b3.zip
Initial import of Aravis project, maintained by me and Luca.
Package-Manager: portage-2.2.0_alpha85/cvs/Linux x86_64
Diffstat (limited to 'media-video')
-rw-r--r--media-video/aravis/ChangeLog11
-rw-r--r--media-video/aravis/Manifest15
-rw-r--r--media-video/aravis/aravis-0.1.11.ebuild66
-rw-r--r--media-video/aravis/aravis-9999.ebuild66
-rw-r--r--media-video/aravis/metadata.xml23
5 files changed, 181 insertions, 0 deletions
diff --git a/media-video/aravis/ChangeLog b/media-video/aravis/ChangeLog
new file mode 100644
index 000000000000..1921ca610c18
--- /dev/null
+++ b/media-video/aravis/ChangeLog
@@ -0,0 +1,11 @@
+# ChangeLog for media-video/aravis
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/aravis/ChangeLog,v 1.1 2012/02/07 19:16:38 flameeyes Exp $
+
+*aravis-9999 (07 Feb 2012)
+*aravis-0.1.11 (07 Feb 2012)
+
+ 07 Feb 2012; Diego E. Pettenò <flameeyes@gentoo.org> +aravis-0.1.11.ebuild,
+ +aravis-9999.ebuild, +metadata.xml:
+ Initial import of Aravis project, maintained by me and Luca.
+
diff --git a/media-video/aravis/Manifest b/media-video/aravis/Manifest
new file mode 100644
index 000000000000..45b5bf8c2d81
--- /dev/null
+++ b/media-video/aravis/Manifest
@@ -0,0 +1,15 @@
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+DIST aravis-0.1.11.tar.xz 384248 RMD160 badaa8a41b4d8b986ae98dcdf16c4348f2ec417e SHA1 2f5af8b27c6d977297380c510338ff1a1238689d SHA256 857929f42b917b72b9d6540b4fb872784e45a77ec08346077426aa29fc5963b3
+EBUILD aravis-0.1.11.ebuild 1483 RMD160 d3123c2b2910094182434164af8f6526870b4989 SHA1 7a9c1351f82760d1cd43e2dc3264084482449327 SHA256 d43b4c51c74d2e799aafdceca14ac23c3e2ce5682e00bc994d193f42e832e3ec
+EBUILD aravis-9999.ebuild 1481 RMD160 09b0a8cf2f3a63c5341c8e79ba633c7e3f93940b SHA1 bbfed9e6bc59ac6c7025192b0fd44454a2d56bd8 SHA256 bf62424b07749e6c7134ca156d2ea43b5ae8abf72c1ec5f98367a6095283e2df
+MISC ChangeLog 450 RMD160 b4d942328883dd805e384abd5081097941cf6c64 SHA1 6ab2580939ea7e1644b89866c0d34b606ead4958 SHA256 61e9be0860c1c5fdeec5b2a001761b880c49af96768808d392c06c0451e4f623
+MISC metadata.xml 615 RMD160 9c718caa8ed27e27bf1d5e5e7bedb61411d952db SHA1 349e1b9d4c49e9539133614b6fb9f385115d2ccb SHA256 df0e5a3c4fd59a2d01c85039c99f18d4ecde21256dea3b5d4c7a2aebc603d599
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v2.0.18 (GNU/Linux)
+
+iEYEARECAAYFAk8xeJ4ACgkQAiZjviIA2XgTKACeNu/99AV7cclme69R/TRY8DwZ
+UvEAoKsksQxfyK7G05pEKajKoZViA8I0
+=74l0
+-----END PGP SIGNATURE-----
diff --git a/media-video/aravis/aravis-0.1.11.ebuild b/media-video/aravis/aravis-0.1.11.ebuild
new file mode 100644
index 000000000000..35c69f203f00
--- /dev/null
+++ b/media-video/aravis/aravis-0.1.11.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/aravis/aravis-0.1.11.ebuild,v 1.1 2012/02/07 19:16:38 flameeyes Exp $
+
+EAPI=4
+
+KEYWORDS="~amd64"
+
+if [[ ${PV} == "9999" ]]; then
+ KEYWORDS=""
+ EGIT_REPO_URI="git://git.gnome.org/aravis"
+ EGIT_COMMIT="${aravis_LIVE_COMMIT:-master}"
+fi
+
+inherit versionator ${EGIT_COMMIT+git-2 autotools}
+
+DESCRIPTION="Library for video acquisition using Genicam cameras."
+HOMEPAGE="http://live.gnome.org/Aravis"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+
+IUSE="X gstreamer"
+
+GST_DEPEND="media-libs/gstreamer
+ media-libs/gst-plugins-base"
+
+RDEPEND=">=dev-libs/glib-2.22
+ dev-libs/libxml2
+ X? (
+ >=x11-libs/gtk+-2.12:2
+ ${GST_DEPEND}
+ media-libs/gst-plugins-base
+ media-plugins/gst-plugins-xvideo
+ )
+ gstreamer? ( ${GST_DEPEND} )"
+DEPEND="${RDEPEND}
+ dev-libs/gobject-introspection"
+
+if [[ -z ${EGIT_COMMIT} ]]; then
+ SRC_URI="mirror://gnome/sources/${PN}/$(get_version_component_range 1-2)/${P}.tar.xz"
+else
+ DEPEND+=" dev-util/gtk-doc dev-util/intltool"
+fi
+
+src_prepare() {
+ if [[ -n ${EGIT_COMMIT} ]]; then
+ intltoolize || die
+ gtkdocize || die
+ eautoreconf
+ fi
+}
+
+src_configure() {
+ econf \
+ --disable-silent-rules \
+ --disable-static \
+ $(use_enable X viewer) \
+ $(use_enable gstreamer gst-plugin) \
+ --enable-introspection
+}
+
+src_install() {
+ emake install DESTDIR="${D}" aravisdocdir="/usr/share/doc/${PF}"
+ find "${D}" -name '*.la' -delete
+}
diff --git a/media-video/aravis/aravis-9999.ebuild b/media-video/aravis/aravis-9999.ebuild
new file mode 100644
index 000000000000..18de68897fb0
--- /dev/null
+++ b/media-video/aravis/aravis-9999.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/aravis/aravis-9999.ebuild,v 1.1 2012/02/07 19:16:38 flameeyes Exp $
+
+EAPI=4
+
+KEYWORDS="~amd64"
+
+if [[ ${PV} == "9999" ]]; then
+ KEYWORDS=""
+ EGIT_REPO_URI="git://git.gnome.org/aravis"
+ EGIT_COMMIT="${aravis_LIVE_COMMIT:-master}"
+fi
+
+inherit versionator ${EGIT_COMMIT+git-2 autotools}
+
+DESCRIPTION="Library for video acquisition using Genicam cameras."
+HOMEPAGE="http://live.gnome.org/Aravis"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+
+IUSE="X gstreamer"
+
+GST_DEPEND="media-libs/gstreamer
+ media-libs/gst-plugins-base"
+
+RDEPEND=">=dev-libs/glib-2.22
+ dev-libs/libxml2
+ X? (
+ >=x11-libs/gtk+-2.12:2
+ ${GST_DEPEND}
+ media-libs/gst-plugins-base
+ media-plugins/gst-plugins-xvideo
+ )
+ gstreamer? ( ${GST_DEPEND} )"
+DEPEND="${RDEPEND}
+ dev-libs/gobject-introspection"
+
+if [[ -z ${EGIT_COMMIT} ]]; then
+ SRC_URI="mirror://gnome/sources/${PN}/$(get_version_component_range 1-2)/${P}.tar.xz"
+else
+ DEPEND+=" dev-util/gtk-doc dev-util/intltool"
+fi
+
+src_prepare() {
+ if [[ -n ${EGIT_COMMIT} ]]; then
+ intltoolize || die
+ gtkdocize || die
+ eautoreconf
+ fi
+}
+
+src_configure() {
+ econf \
+ --disable-silent-rules \
+ --disable-static \
+ $(use_enable X viewer) \
+ $(use_enable gstreamer gst-plugin) \
+ --enable-introspection
+}
+
+src_install() {
+ emake install DESTDIR="${D}" aravisdocdir="/usr/share/doc/${PF}"
+ find "${D}" -name '*.la' -delete
+}
diff --git a/media-video/aravis/metadata.xml b/media-video/aravis/metadata.xml
new file mode 100644
index 000000000000..d33e52c9fded
--- /dev/null
+++ b/media-video/aravis/metadata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>video</herd>
+ <maintainer>
+ <email>flameeyes@gentoo.org</email>
+ </maintainer>
+ <maintainer>
+ <email>lu_zero@gentoo.org</email>
+ </maintainer>
+
+ <use>
+ <flag name='X'>
+ Build the GTK+-based video viewer for aravis. This requires
+ GStreamer and a few plugins but technically not the GST plugin
+ for aravis.
+ </flag>
+
+ <flag name='gstreamer'>
+ Build the GStreamer plugin for aravis, but not the video viewer.
+ </flag>
+ </use>
+</pkgmetadata>