[gentoo-commits] repo/gentoo:master commit in: media-video/aravis/

2024-01-31 Thread Sam James
commit: 925d32ea2fdd5fb4d2efaac8c84fbb82e666ebd1
Author: Sam James  gentoo  org>
AuthorDate: Wed Jan 31 17:26:35 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jan 31 19:11:35 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=925d32ea

media-video/aravis: add github upstream metadata

Signed-off-by: Sam James  gentoo.org>

 media-video/aravis/metadata.xml | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/media-video/aravis/metadata.xml b/media-video/aravis/metadata.xml
index 741807526669..e5676fcd88a9 100644
--- a/media-video/aravis/metadata.xml
+++ b/media-video/aravis/metadata.xml
@@ -20,4 +20,7 @@
Enable packet socket support.
Build the GTK+-based video viewer.

+   
+   AravisProject/aravis
+   
 



[gentoo-commits] repo/gentoo:master commit in: media-video/aravis/

2020-12-31 Thread Sam James
commit: 1f89e0eb693aa4ea34133efd3a05c1cd6904355e
Author: Sam James  gentoo  org>
AuthorDate: Fri Jan  1 03:32:00 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Fri Jan  1 03:32:00 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f89e0eb

media-video/aravis: bump to 0.8.5

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Sam James  gentoo.org>

 media-video/aravis/Manifest|  1 +
 media-video/aravis/aravis-0.8.5.ebuild | 69 ++
 2 files changed, 70 insertions(+)

diff --git a/media-video/aravis/Manifest b/media-video/aravis/Manifest
index a85fb353063..9cf2ceb0ae5 100644
--- a/media-video/aravis/Manifest
+++ b/media-video/aravis/Manifest
@@ -1 +1,2 @@
 DIST aravis-0.7.2.tar.gz 940928 BLAKE2B 
67b6772aaf6195e393caf2f3fcf6d24acace9d7160023c801f93d479e9d488e4082dcd11d40a8db18dea6cd516e0b24cb78e46de09d455a3c822208d9f33af5b
 SHA512 
5cc6c01f77462c595a87a5899df752a5018e72b4de108fc3bcebbb39542482fc535401a7f10732270d98998fe807c929ae9e7750cc7ac0ce089763d1eb148e2a
+DIST aravis-0.8.5.tar.gz 966208 BLAKE2B 
abeb87911e20898765a41a663a539932cafe65a297ae3887379ca2760132150fde1fb87dbd5f718618b90f5eb2f2fd4941a85ebf7139b0d4ae8a6be458338450
 SHA512 
2e6ab898be0d1e9a93555bcf83bb447f19c46c5d3c3a8713b9a2174fd165992d5737393f417f6e46504d120d15955dc67e89342449f11356a3fd1e6968ac233e

diff --git a/media-video/aravis/aravis-0.8.5.ebuild 
b/media-video/aravis/aravis-0.8.5.ebuild
new file mode 100644
index 000..5b917f730ca
--- /dev/null
+++ b/media-video/aravis/aravis-0.8.5.ebuild
@@ -0,0 +1,69 @@
+# Copyright 2019-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit meson xdg
+
+DESCRIPTION="Library for video acquisition using Genicam cameras"
+HOMEPAGE="https://github.com/AravisProject/aravis";
+
+if [[ ${PV} =  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/AravisProject/${PN}";
+else
+   MY_P="${PN^^}_${PV//./_}"
+   SRC_URI="https://github.com/AravisProject/${PN}/archive/${MY_P}.tar.gz 
-> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="LGPL-2+"
+SLOT="0"
+IUSE="gtk-doc fast-heartbeat gstreamer introspection packet-socket test usb 
viewer"
+RESTRICT="!test? ( test )"
+
+GST_DEPEND="
+   media-libs/gstreamer:1.0
+   media-libs/gst-plugins-base:1.0
+"
+BDEPEND="
+   dev-util/glib-utils
+   virtual/pkgconfig
+   gtk-doc? (
+   dev-util/gtk-doc
+   app-text/docbook-xml-dtd:4.3
+   )
+   introspection? ( dev-libs/gobject-introspection:= )
+"
+DEPEND="
+   dev-libs/glib:2[gtk-doc?]
+   dev-libs/libxml2:2
+   sys-libs/zlib
+   gstreamer? ( ${GST_DEPEND} )
+   packet-socket? ( sys-process/audit )
+   usb? ( virtual/libusb:1 )
+   viewer? (
+   ${GST_DEPEND}
+   x11-libs/gtk+:3
+   x11-libs/libnotify
+   )
+"
+RDEPEND="${DEPEND}"
+
+if [[ ${PV} !=  ]]; then
+   S="${WORKDIR}/${PN}-${MY_P}"
+fi
+
+src_configure() {
+   local emesonargs=(
+   $(meson_feature gtk-doc documentation)
+   $(meson_use fast-heartbeat)
+   $(meson_feature gstreamer gst-plugin)
+   $(meson_feature introspection)
+   $(meson_feature packet-socket)
+   $(meson_use test tests)
+   $(meson_feature usb)
+   $(meson_feature viewer)
+   )
+   meson_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: media-video/aravis/

2019-11-01 Thread Joonas Niilola
commit: 63825f50cc3cc9b574364d3cddb557263ad65557
Author: Bernardo Meurer  gmail  com>
AuthorDate: Thu Oct 17 07:18:21 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Nov  1 13:27:50 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=63825f50

media-video/aravis: bump 0.7.2

Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: Bernardo Meurer  standard.ai>
Signed-off-by: Joonas Niilola  gentoo.org>

 media-video/aravis/Manifest|  1 +
 .../{aravis-.ebuild => aravis-0.7.2.ebuild}| 24 ++
 media-video/aravis/aravis-.ebuild  | 24 ++
 3 files changed, 5 insertions(+), 44 deletions(-)

diff --git a/media-video/aravis/Manifest b/media-video/aravis/Manifest
index 5deae26c664..568548bd4d0 100644
--- a/media-video/aravis/Manifest
+++ b/media-video/aravis/Manifest
@@ -1 +1,2 @@
 DIST aravis-0.6.4.tar.gz 2972111 BLAKE2B 
b7f1c4da08bb4e7d11faffcd4ef90b7215b803e5e74ba1730388e04304685b761024ffea49b082c94e3fddc9dc65201545167a277b1088ad7273d41d50fae5b0
 SHA512 
6090fd730ad9fe8e1641e48c52189e8961bf03a88cefb57135a2de985c2ca607c21b05d472a60586976aa1e05ba2121246b06b75179dd3241e1f703aad8dd7be
+DIST aravis-0.7.2.tar.gz 940928 BLAKE2B 
67b6772aaf6195e393caf2f3fcf6d24acace9d7160023c801f93d479e9d488e4082dcd11d40a8db18dea6cd516e0b24cb78e46de09d455a3c822208d9f33af5b
 SHA512 
5cc6c01f77462c595a87a5899df752a5018e72b4de108fc3bcebbb39542482fc535401a7f10732270d98998fe807c929ae9e7750cc7ac0ce089763d1eb148e2a

diff --git a/media-video/aravis/aravis-.ebuild 
b/media-video/aravis/aravis-0.7.2.ebuild
similarity index 64%
copy from media-video/aravis/aravis-.ebuild
copy to media-video/aravis/aravis-0.7.2.ebuild
index 5ffb500be0c..f2dd9137fe0 100644
--- a/media-video/aravis/aravis-.ebuild
+++ b/media-video/aravis/aravis-0.7.2.ebuild
@@ -36,7 +36,7 @@ BDEPEND="
introspection? ( dev-libs/gobject-introspection:= )
 "
 DEPEND="
-   >=dev-libs/glib-2.34:2
+   dev-libs/glib:2[gtk-doc?]
dev-libs/libxml2:2
sys-libs/zlib
gstreamer? ( ${GST_DEPEND} )
@@ -44,7 +44,7 @@ DEPEND="
usb? ( virtual/libusb:1 )
viewer? (
${GST_DEPEND}
-   >=x11-libs/gtk+-3.12:3
+   x11-libs/gtk+:3
x11-libs/libnotify
)
 "
@@ -66,23 +66,3 @@ src_configure() {
)
meson_src_configure
 }
-
-src_install() {
-   meson_src_install
-   # Aravis appends the major and min versions (but not the patch) to it's
-   # binaries and it's folder in /usr/share. Things then end up like
-   # `arv-tool-0.6`. We use this little hack to find out the version of the
-   # current build in a way that works even for a - ebuild.
-   local install_pv="$(ls ${ED}/usr/share | grep aravis- | cut -f 2 -d 
'-')"
-   local install_p="${PN}-${install_pv}"
-
-   # Properly place icons
-   if use viewer; then
-   cp -r "${ED}/usr/share/${install_p}/icons" "${ED}/usr/share" || 
die "Failed to copy icons"
-   fi
-
-   # Symlink versioned binaries to non-versioned
-   dosym "arv-tool-${install_pv}" "usr/bin/arv-tool"
-   dosym "arv-fake-gv-camera-${install_pv}" "usr/bin/arv-fake-gv-camera"
-   use viewer && dosym "arv-viewer-${install_pv}" "usr/bin/arv-viewer"
-}

diff --git a/media-video/aravis/aravis-.ebuild 
b/media-video/aravis/aravis-.ebuild
index 5ffb500be0c..f2dd9137fe0 100644
--- a/media-video/aravis/aravis-.ebuild
+++ b/media-video/aravis/aravis-.ebuild
@@ -36,7 +36,7 @@ BDEPEND="
introspection? ( dev-libs/gobject-introspection:= )
 "
 DEPEND="
-   >=dev-libs/glib-2.34:2
+   dev-libs/glib:2[gtk-doc?]
dev-libs/libxml2:2
sys-libs/zlib
gstreamer? ( ${GST_DEPEND} )
@@ -44,7 +44,7 @@ DEPEND="
usb? ( virtual/libusb:1 )
viewer? (
${GST_DEPEND}
-   >=x11-libs/gtk+-3.12:3
+   x11-libs/gtk+:3
x11-libs/libnotify
)
 "
@@ -66,23 +66,3 @@ src_configure() {
)
meson_src_configure
 }
-
-src_install() {
-   meson_src_install
-   # Aravis appends the major and min versions (but not the patch) to it's
-   # binaries and it's folder in /usr/share. Things then end up like
-   # `arv-tool-0.6`. We use this little hack to find out the version of the
-   # current build in a way that works even for a - ebuild.
-   local install_pv="$(ls ${ED}/usr/share | grep aravis- | cut -f 2 -d 
'-')"
-   local install_p="${PN}-${install_pv}"
-
-   # Properly place icons
-   if use viewer; then
-   cp -r "${ED}/usr/share/${install_p}/icons" "${ED}/usr/share" || 
die "Failed to copy icons"
-   fi
-
-   # Symlink versioned binaries to non-versioned
-   dosym "arv-tool-${install_pv}" "usr/bin/arv-tool"
-   dosym "arv-fake-gv-camera-${install_pv}" "usr/bin/arv-fake-gv-camera"
- 

[gentoo-commits] repo/gentoo:master commit in: media-video/aravis/

2019-11-01 Thread Joonas Niilola
commit: f03e1a08a9599e81a4eb09309842f0174943b14c
Author: Bernardo Meurer  gmail  com>
AuthorDate: Thu Oct 17 07:19:01 2019 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Fri Nov  1 13:27:54 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f03e1a08

media-video/aravis: yank 0.6.4

Package-Manager: Portage-2.3.77, Repoman-2.3.17
Signed-off-by: Bernardo Meurer  standard.ai>
Closes: https://github.com/gentoo/gentoo/pull/13322
Signed-off-by: Joonas Niilola  gentoo.org>

 media-video/aravis/Manifest|  1 -
 media-video/aravis/aravis-0.6.4.ebuild | 88 --
 2 files changed, 89 deletions(-)

diff --git a/media-video/aravis/Manifest b/media-video/aravis/Manifest
index 568548bd4d0..a85fb353063 100644
--- a/media-video/aravis/Manifest
+++ b/media-video/aravis/Manifest
@@ -1,2 +1 @@
-DIST aravis-0.6.4.tar.gz 2972111 BLAKE2B 
b7f1c4da08bb4e7d11faffcd4ef90b7215b803e5e74ba1730388e04304685b761024ffea49b082c94e3fddc9dc65201545167a277b1088ad7273d41d50fae5b0
 SHA512 
6090fd730ad9fe8e1641e48c52189e8961bf03a88cefb57135a2de985c2ca607c21b05d472a60586976aa1e05ba2121246b06b75179dd3241e1f703aad8dd7be
 DIST aravis-0.7.2.tar.gz 940928 BLAKE2B 
67b6772aaf6195e393caf2f3fcf6d24acace9d7160023c801f93d479e9d488e4082dcd11d40a8db18dea6cd516e0b24cb78e46de09d455a3c822208d9f33af5b
 SHA512 
5cc6c01f77462c595a87a5899df752a5018e72b4de108fc3bcebbb39542482fc535401a7f10732270d98998fe807c929ae9e7750cc7ac0ce089763d1eb148e2a

diff --git a/media-video/aravis/aravis-0.6.4.ebuild 
b/media-video/aravis/aravis-0.6.4.ebuild
deleted file mode 100644
index 5ffb500be0c..000
--- a/media-video/aravis/aravis-0.6.4.ebuild
+++ /dev/null
@@ -1,88 +0,0 @@
-# Copyright 2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit meson xdg
-
-DESCRIPTION="Library for video acquisition using Genicam cameras"
-HOMEPAGE="https://github.com/AravisProject/aravis";
-
-if [[ ${PV} =  ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://github.com/AravisProject/${PN}";
-else
-   MY_P="${PN^^}_${PV//./_}"
-   SRC_URI="https://github.com/AravisProject/${PN}/archive/${MY_P}.tar.gz 
-> ${P}.tar.gz"
-   KEYWORDS="~amd64 ~x86"
-fi
-
-LICENSE="LGPL-2+"
-SLOT="0"
-# FIXME: As of right now tests are always built, once that changes a USE flag
-# should be added. c.f. https://github.com/AravisProject/aravis/issues/286
-IUSE="gtk-doc fast-heartbeat gstreamer introspection packet-socket usb viewer"
-
-GST_DEPEND="
-   media-libs/gstreamer:1.0
-   media-libs/gst-plugins-base:1.0
-"
-BDEPEND="
-   dev-util/glib-utils
-   virtual/pkgconfig
-   gtk-doc? (
-   dev-util/gtk-doc
-   app-text/docbook-xml-dtd:4.3
-   )
-   introspection? ( dev-libs/gobject-introspection:= )
-"
-DEPEND="
-   >=dev-libs/glib-2.34:2
-   dev-libs/libxml2:2
-   sys-libs/zlib
-   gstreamer? ( ${GST_DEPEND} )
-   packet-socket? ( sys-process/audit )
-   usb? ( virtual/libusb:1 )
-   viewer? (
-   ${GST_DEPEND}
-   >=x11-libs/gtk+-3.12:3
-   x11-libs/libnotify
-   )
-"
-RDEPEND="${DEPEND}"
-
-if [[ ${PV} !=  ]]; then
-   S="${WORKDIR}/${PN}-${MY_P}"
-fi
-
-src_configure() {
-   local emesonargs=(
-   $(meson_use gtk-doc documentation)
-   $(meson_use fast-heartbeat)
-   $(meson_use gstreamer gst-plugin)
-   $(meson_use introspection)
-   $(meson_use packet-socket)
-   $(meson_use usb)
-   $(meson_use viewer)
-   )
-   meson_src_configure
-}
-
-src_install() {
-   meson_src_install
-   # Aravis appends the major and min versions (but not the patch) to it's
-   # binaries and it's folder in /usr/share. Things then end up like
-   # `arv-tool-0.6`. We use this little hack to find out the version of the
-   # current build in a way that works even for a - ebuild.
-   local install_pv="$(ls ${ED}/usr/share | grep aravis- | cut -f 2 -d 
'-')"
-   local install_p="${PN}-${install_pv}"
-
-   # Properly place icons
-   if use viewer; then
-   cp -r "${ED}/usr/share/${install_p}/icons" "${ED}/usr/share" || 
die "Failed to copy icons"
-   fi
-
-   # Symlink versioned binaries to non-versioned
-   dosym "arv-tool-${install_pv}" "usr/bin/arv-tool"
-   dosym "arv-fake-gv-camera-${install_pv}" "usr/bin/arv-fake-gv-camera"
-   use viewer && dosym "arv-viewer-${install_pv}" "usr/bin/arv-viewer"
-}



[gentoo-commits] repo/gentoo:master commit in: media-video/aravis/

2019-09-18 Thread Michał Górny
commit: 54f7d30876ba90e10f0fa4ab68223e3bbe32e271
Author: Bernardo Meurer  standard  ai>
AuthorDate: Thu Sep 12 00:21:19 2019 +
Commit: Michał Górny  gentoo  org>
CommitDate: Thu Sep 19 06:42:39 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54f7d308

media-video/aravis: multiple fixes

Closes: https://bugs.gentoo.org/693700
Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Bernardo Meurer  standard.ai>
Closes: https://github.com/gentoo/gentoo/pull/12907
Signed-off-by: Michał Górny  gentoo.org>

 media-video/aravis/aravis-0.6.4.ebuild | 29 -
 media-video/aravis/aravis-.ebuild  | 29 -
 media-video/aravis/metadata.xml|  8 
 3 files changed, 36 insertions(+), 30 deletions(-)

diff --git a/media-video/aravis/aravis-0.6.4.ebuild 
b/media-video/aravis/aravis-0.6.4.ebuild
index 0f78ce56983..5ffb500be0c 100644
--- a/media-video/aravis/aravis-0.6.4.ebuild
+++ b/media-video/aravis/aravis-0.6.4.ebuild
@@ -16,30 +16,33 @@ else
KEYWORDS="~amd64 ~x86"
 fi
 
-LICENSE="LGPL-2"
+LICENSE="LGPL-2+"
 SLOT="0"
 # FIXME: As of right now tests are always built, once that changes a USE flag
 # should be added. c.f. https://github.com/AravisProject/aravis/issues/286
-IUSE="doc fast-heartbeat gstreamer introspection packet-socket usb X"
+IUSE="gtk-doc fast-heartbeat gstreamer introspection packet-socket usb viewer"
 
 GST_DEPEND="
media-libs/gstreamer:1.0
media-libs/gst-plugins-base:1.0
 "
 BDEPEND="
-   >=dev-util/meson-0.47.0
+   dev-util/glib-utils
virtual/pkgconfig
-   doc? ( dev-util/gtk-doc )
-   introspection? ( dev-libs/gobject-introspection )
+   gtk-doc? (
+   dev-util/gtk-doc
+   app-text/docbook-xml-dtd:4.3
+   )
+   introspection? ( dev-libs/gobject-introspection:= )
 "
 DEPEND="
-   >=dev-libs/glib-2.34
-   dev-libs/libxml2:=
-   sys-libs/zlib:=
+   >=dev-libs/glib-2.34:2
+   dev-libs/libxml2:2
+   sys-libs/zlib
gstreamer? ( ${GST_DEPEND} )
packet-socket? ( sys-process/audit )
usb? ( virtual/libusb:1 )
-   X? (
+   viewer? (
${GST_DEPEND}
>=x11-libs/gtk+-3.12:3
x11-libs/libnotify
@@ -53,13 +56,13 @@ fi
 
 src_configure() {
local emesonargs=(
-   $(meson_use doc documentation)
+   $(meson_use gtk-doc documentation)
$(meson_use fast-heartbeat)
$(meson_use gstreamer gst-plugin)
$(meson_use introspection)
$(meson_use packet-socket)
$(meson_use usb)
-   $(meson_use X viewer)
+   $(meson_use viewer)
)
meson_src_configure
 }
@@ -74,12 +77,12 @@ src_install() {
local install_p="${PN}-${install_pv}"
 
# Properly place icons
-   if use X; then
+   if use viewer; then
cp -r "${ED}/usr/share/${install_p}/icons" "${ED}/usr/share" || 
die "Failed to copy icons"
fi
 
# Symlink versioned binaries to non-versioned
dosym "arv-tool-${install_pv}" "usr/bin/arv-tool"
dosym "arv-fake-gv-camera-${install_pv}" "usr/bin/arv-fake-gv-camera"
-   use X && dosym "arv-viewer-${install_pv}" "usr/bin/arv-viewer"
+   use viewer && dosym "arv-viewer-${install_pv}" "usr/bin/arv-viewer"
 }

diff --git a/media-video/aravis/aravis-.ebuild 
b/media-video/aravis/aravis-.ebuild
index 0f78ce56983..5ffb500be0c 100644
--- a/media-video/aravis/aravis-.ebuild
+++ b/media-video/aravis/aravis-.ebuild
@@ -16,30 +16,33 @@ else
KEYWORDS="~amd64 ~x86"
 fi
 
-LICENSE="LGPL-2"
+LICENSE="LGPL-2+"
 SLOT="0"
 # FIXME: As of right now tests are always built, once that changes a USE flag
 # should be added. c.f. https://github.com/AravisProject/aravis/issues/286
-IUSE="doc fast-heartbeat gstreamer introspection packet-socket usb X"
+IUSE="gtk-doc fast-heartbeat gstreamer introspection packet-socket usb viewer"
 
 GST_DEPEND="
media-libs/gstreamer:1.0
media-libs/gst-plugins-base:1.0
 "
 BDEPEND="
-   >=dev-util/meson-0.47.0
+   dev-util/glib-utils
virtual/pkgconfig
-   doc? ( dev-util/gtk-doc )
-   introspection? ( dev-libs/gobject-introspection )
+   gtk-doc? (
+   dev-util/gtk-doc
+   app-text/docbook-xml-dtd:4.3
+   )
+   introspection? ( dev-libs/gobject-introspection:= )
 "
 DEPEND="
-   >=dev-libs/glib-2.34
-   dev-libs/libxml2:=
-   sys-libs/zlib:=
+   >=dev-libs/glib-2.34:2
+   dev-libs/libxml2:2
+   sys-libs/zlib
gstreamer? ( ${GST_DEPEND} )
packet-socket? ( sys-process/audit )
usb? ( virtual/libusb:1 )
-   X? (
+   viewer? (
${GST_DEPEND}
>=x11-libs/gtk+-3.12:3
x11-libs/libnotify
@@ -53,13 +56,13 @@ fi
 
 src_configure() {
 

[gentoo-commits] repo/gentoo:master commit in: media-video/aravis/

2019-09-07 Thread Luca Barbato
commit: 4f460e57ce8674fa3838024f45614f56533707ac
Author: Bernardo Meurer  standard  ai>
AuthorDate: Mon Sep  2 19:33:07 2019 +
Commit: Luca Barbato  gentoo  org>
CommitDate: Sat Sep  7 13:34:09 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f460e57

media-video/aravis: update 

Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Bernardo Meurer  standard.ai>
Signed-off-by: Luca Barbato  gentoo.org>

 media-video/aravis/aravis-.ebuild | 110 --
 1 file changed, 64 insertions(+), 46 deletions(-)

diff --git a/media-video/aravis/aravis-.ebuild 
b/media-video/aravis/aravis-.ebuild
index b62b492a853..0f78ce56983 100644
--- a/media-video/aravis/aravis-.ebuild
+++ b/media-video/aravis/aravis-.ebuild
@@ -1,67 +1,85 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
+inherit meson xdg
 
-if [[ ${PV} = * ]]; then
-   EGIT_REPO_URI="https://github.com/AravisProject/aravis.git";
-   inherit git-r3 autotools
+DESCRIPTION="Library for video acquisition using Genicam cameras"
+HOMEPAGE="https://github.com/AravisProject/aravis";
+
+if [[ ${PV} =  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/AravisProject/${PN}";
 else
-   SRC_URI="mirror://gnome/sources/${PN}/$(ver_cut 1-2)/${P}.tar.xz"
-   KEYWORDS="~amd64"
+   MY_P="${PN^^}_${PV//./_}"
+   SRC_URI="https://github.com/AravisProject/${PN}/archive/${MY_P}.tar.gz 
-> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
 fi
 
-DESCRIPTION="Library for video acquisition using Genicam cameras"
-HOMEPAGE="https://wiki.gnome.org/Projects/Aravis";
-
-LICENSE="LGPL-2.1"
+LICENSE="LGPL-2"
 SLOT="0"
-IUSE="X gstreamer caps"
-
-GST_DEPEND="media-libs/gstreamer:1.0
-   media-libs/gst-plugins-base:1.0"
+# FIXME: As of right now tests are always built, once that changes a USE flag
+# should be added. c.f. https://github.com/AravisProject/aravis/issues/286
+IUSE="doc fast-heartbeat gstreamer introspection packet-socket usb X"
 
-RDEPEND=">=dev-libs/glib-2.26
-   dev-libs/libxml2
+GST_DEPEND="
+   media-libs/gstreamer:1.0
+   media-libs/gst-plugins-base:1.0
+"
+BDEPEND="
+   >=dev-util/meson-0.47.0
+   virtual/pkgconfig
+   doc? ( dev-util/gtk-doc )
+   introspection? ( dev-libs/gobject-introspection )
+"
+DEPEND="
+   >=dev-libs/glib-2.34
+   dev-libs/libxml2:=
+   sys-libs/zlib:=
+   gstreamer? ( ${GST_DEPEND} )
+   packet-socket? ( sys-process/audit )
+   usb? ( virtual/libusb:1 )
X? (
-   >=x11-libs/gtk+-3.12:3
${GST_DEPEND}
-   media-libs/gst-plugins-base:1.0
+   >=x11-libs/gtk+-3.12:3
x11-libs/libnotify
)
-   caps? (
-   sys-libs/libcap-ng
-   sys-process/audit
-   )
-   gstreamer? ( ${GST_DEPEND} )"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   dev-libs/gobject-introspection"
+"
+RDEPEND="${DEPEND}"
 
-if [[ ${PV} != * ]]; then
-   DEPEND+=" dev-util/gtk-doc dev-util/intltool"
+if [[ ${PV} !=  ]]; then
+   S="${WORKDIR}/${PN}-${MY_P}"
 fi
 
-src_prepare() {
-   default
-   if [[ ${PV} = * ]]; then
-   intltoolize || die
-   gtkdocize || die
-   eautoreconf
-   fi
-}
-
 src_configure() {
-   econf \
-   --disable-silent-rules \
-   --disable-static \
-   $(use_enable X viewer) \
-   $(use_enable gstreamer gst-plugin) \
-   $(use_enable caps packet-socket) \
-   --enable-introspection
+   local emesonargs=(
+   $(meson_use doc documentation)
+   $(meson_use fast-heartbeat)
+   $(meson_use gstreamer gst-plugin)
+   $(meson_use introspection)
+   $(meson_use packet-socket)
+   $(meson_use usb)
+   $(meson_use X viewer)
+   )
+   meson_src_configure
 }
 
 src_install() {
-   emake install DESTDIR="${D}" aravisdocdir="/usr/share/doc/${PF}"
-   find "${D}" -name '*.la' -delete
+   meson_src_install
+   # Aravis appends the major and min versions (but not the patch) to it's
+   # binaries and it's folder in /usr/share. Things then end up like
+   # `arv-tool-0.6`. We use this little hack to find out the version of the
+   # current build in a way that works even for a - ebuild.
+   local install_pv="$(ls ${ED}/usr/share | grep aravis- | cut -f 2 -d 
'-')"
+   local install_p="${PN}-${install_pv}"
+
+   # Properly place icons
+   if use X; then
+   cp -r "${ED}/usr/share/${install_p}/icons" "${ED}/usr/share" || 
die "Failed to copy icons"
+   fi
+
+   # Symlink versioned binaries to non-versioned
+   dosym "arv-tool-${install_pv}" "usr/bin/a

[gentoo-commits] repo/gentoo:master commit in: media-video/aravis/

2019-09-07 Thread Luca Barbato
commit: ff3bf49e8e62304f623003dcb010002d29ad9221
Author: Bernardo Meurer  standard  ai>
AuthorDate: Mon Sep  2 06:18:00 2019 +
Commit: Luca Barbato  gentoo  org>
CommitDate: Sat Sep  7 13:34:09 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff3bf49e

media-video/aravis: bump 0.6.4

Closes: https://bugs.gentoo.org/693304
Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Bernardo Meurer  standard.ai>
Signed-off-by: Luca Barbato  gentoo.org>

 media-video/aravis/Manifest|  1 +
 media-video/aravis/aravis-0.6.4.ebuild | 85 ++
 media-video/aravis/metadata.xml| 47 +--
 3 files changed, 109 insertions(+), 24 deletions(-)

diff --git a/media-video/aravis/Manifest b/media-video/aravis/Manifest
index 951af5ec264..cceae36b0a5 100644
--- a/media-video/aravis/Manifest
+++ b/media-video/aravis/Manifest
@@ -1,2 +1,3 @@
 DIST aravis-0.5.10.tar.xz 540700 BLAKE2B 
f12a2bfa2bf8ac1875b28ec0549e5ebe3e5eb1cd646e417acc52a760546343893e19d7fb13741799346286dc69d9ecf2a7d7a3c9ada6ffefafab5c6450468848
 SHA512 
27a182a8fce66416e14baa16609b91307683613fab9324c96f94b9a7dd956ba0d60f5c966b2ec5184374ab8f9f527ad4d7733dffd2c40faa409ff196c344eb29
 DIST aravis-0.6.1.tar.xz 547700 BLAKE2B 
7230cf49e08865b6f4e6621585c394633c54b94b921e4c686757eb21a02d5f51406f5084f92d41ad1880468001c908eb648fd2c2247def46bcbceea92bffa3ce
 SHA512 
098a079c7efc5e5f9d198beef8a6271f525779947d1767eba81262a33c38afa6d9f01f254e25b714b9c74550795beed144bb463c0e14d2a46e6e96d1af19bde4
+DIST aravis-0.6.4.tar.gz 2972111 BLAKE2B 
b7f1c4da08bb4e7d11faffcd4ef90b7215b803e5e74ba1730388e04304685b761024ffea49b082c94e3fddc9dc65201545167a277b1088ad7273d41d50fae5b0
 SHA512 
6090fd730ad9fe8e1641e48c52189e8961bf03a88cefb57135a2de985c2ca607c21b05d472a60586976aa1e05ba2121246b06b75179dd3241e1f703aad8dd7be

diff --git a/media-video/aravis/aravis-0.6.4.ebuild 
b/media-video/aravis/aravis-0.6.4.ebuild
new file mode 100644
index 000..0f78ce56983
--- /dev/null
+++ b/media-video/aravis/aravis-0.6.4.ebuild
@@ -0,0 +1,85 @@
+# Copyright 2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit meson xdg
+
+DESCRIPTION="Library for video acquisition using Genicam cameras"
+HOMEPAGE="https://github.com/AravisProject/aravis";
+
+if [[ ${PV} =  ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/AravisProject/${PN}";
+else
+   MY_P="${PN^^}_${PV//./_}"
+   SRC_URI="https://github.com/AravisProject/${PN}/archive/${MY_P}.tar.gz 
-> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="LGPL-2"
+SLOT="0"
+# FIXME: As of right now tests are always built, once that changes a USE flag
+# should be added. c.f. https://github.com/AravisProject/aravis/issues/286
+IUSE="doc fast-heartbeat gstreamer introspection packet-socket usb X"
+
+GST_DEPEND="
+   media-libs/gstreamer:1.0
+   media-libs/gst-plugins-base:1.0
+"
+BDEPEND="
+   >=dev-util/meson-0.47.0
+   virtual/pkgconfig
+   doc? ( dev-util/gtk-doc )
+   introspection? ( dev-libs/gobject-introspection )
+"
+DEPEND="
+   >=dev-libs/glib-2.34
+   dev-libs/libxml2:=
+   sys-libs/zlib:=
+   gstreamer? ( ${GST_DEPEND} )
+   packet-socket? ( sys-process/audit )
+   usb? ( virtual/libusb:1 )
+   X? (
+   ${GST_DEPEND}
+   >=x11-libs/gtk+-3.12:3
+   x11-libs/libnotify
+   )
+"
+RDEPEND="${DEPEND}"
+
+if [[ ${PV} !=  ]]; then
+   S="${WORKDIR}/${PN}-${MY_P}"
+fi
+
+src_configure() {
+   local emesonargs=(
+   $(meson_use doc documentation)
+   $(meson_use fast-heartbeat)
+   $(meson_use gstreamer gst-plugin)
+   $(meson_use introspection)
+   $(meson_use packet-socket)
+   $(meson_use usb)
+   $(meson_use X viewer)
+   )
+   meson_src_configure
+}
+
+src_install() {
+   meson_src_install
+   # Aravis appends the major and min versions (but not the patch) to it's
+   # binaries and it's folder in /usr/share. Things then end up like
+   # `arv-tool-0.6`. We use this little hack to find out the version of the
+   # current build in a way that works even for a - ebuild.
+   local install_pv="$(ls ${ED}/usr/share | grep aravis- | cut -f 2 -d 
'-')"
+   local install_p="${PN}-${install_pv}"
+
+   # Properly place icons
+   if use X; then
+   cp -r "${ED}/usr/share/${install_p}/icons" "${ED}/usr/share" || 
die "Failed to copy icons"
+   fi
+
+   # Symlink versioned binaries to non-versioned
+   dosym "arv-tool-${install_pv}" "usr/bin/arv-tool"
+   dosym "arv-fake-gv-camera-${install_pv}" "usr/bin/arv-fake-gv-camera"
+   use X && dosym "arv-viewer-${install_pv}" "usr/bin/arv-viewer"
+}

diff --git a/media-video/aravis/metadata.xml b/media-video/aravis/metadata.xml
index b2255741724..0ea071b7518 100644

[gentoo-commits] repo/gentoo:master commit in: media-video/aravis/

2019-09-07 Thread Luca Barbato
commit: 1f712716e3705a79b3545eb0ffd2dc6bf72f5034
Author: Bernardo Meurer  standard  ai>
AuthorDate: Mon Sep  2 06:12:41 2019 +
Commit: Luca Barbato  gentoo  org>
CommitDate: Sat Sep  7 13:34:09 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f712716

media-video/aravis: add myself as maintainer

Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Bernardo Meurer  standard.ai>
Signed-off-by: Luca Barbato  gentoo.org>

 media-video/aravis/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/media-video/aravis/metadata.xml b/media-video/aravis/metadata.xml
index 1bfe243d4f2..b2255741724 100644
--- a/media-video/aravis/metadata.xml
+++ b/media-video/aravis/metadata.xml
@@ -1,6 +1,10 @@
 
 http://www.gentoo.org/dtd/metadata.dtd";>
 
+  
+berna...@standard.ai
+Bernardo Meurer
+  
   
 lu_z...@gentoo.org
   



[gentoo-commits] repo/gentoo:master commit in: media-video/aravis/

2019-09-07 Thread Luca Barbato
commit: d338c29f880220e9b8a3e78c30b05afcf45742ab
Author: Bernardo Meurer  standard  ai>
AuthorDate: Mon Sep  2 06:31:44 2019 +
Commit: Luca Barbato  gentoo  org>
CommitDate: Sat Sep  7 13:34:09 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d338c29f

media-video/aravis: yank 0.6.1

Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Bernardo Meurer  standard.ai>
Signed-off-by: Luca Barbato  gentoo.org>

 media-video/aravis/Manifest|  1 -
 media-video/aravis/aravis-0.6.1.ebuild | 67 --
 2 files changed, 68 deletions(-)

diff --git a/media-video/aravis/Manifest b/media-video/aravis/Manifest
index fe8b2776ef9..5deae26c664 100644
--- a/media-video/aravis/Manifest
+++ b/media-video/aravis/Manifest
@@ -1,2 +1 @@
-DIST aravis-0.6.1.tar.xz 547700 BLAKE2B 
7230cf49e08865b6f4e6621585c394633c54b94b921e4c686757eb21a02d5f51406f5084f92d41ad1880468001c908eb648fd2c2247def46bcbceea92bffa3ce
 SHA512 
098a079c7efc5e5f9d198beef8a6271f525779947d1767eba81262a33c38afa6d9f01f254e25b714b9c74550795beed144bb463c0e14d2a46e6e96d1af19bde4
 DIST aravis-0.6.4.tar.gz 2972111 BLAKE2B 
b7f1c4da08bb4e7d11faffcd4ef90b7215b803e5e74ba1730388e04304685b761024ffea49b082c94e3fddc9dc65201545167a277b1088ad7273d41d50fae5b0
 SHA512 
6090fd730ad9fe8e1641e48c52189e8961bf03a88cefb57135a2de985c2ca607c21b05d472a60586976aa1e05ba2121246b06b75179dd3241e1f703aad8dd7be

diff --git a/media-video/aravis/aravis-0.6.1.ebuild 
b/media-video/aravis/aravis-0.6.1.ebuild
deleted file mode 100644
index 6136076e6a1..000
--- a/media-video/aravis/aravis-0.6.1.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-if [[ ${PV} = * ]]; then
-   EGIT_REPO_URI="https://github.com/AravisProject/aravis.git";
-   inherit git-r3 autotools
-else
-   SRC_URI="mirror://gnome/sources/${PN}/$(ver_cut 1-2)/${P}.tar.xz"
-   KEYWORDS="~amd64"
-fi
-
-DESCRIPTION="Library for video acquisition using Genicam cameras"
-HOMEPAGE="https://wiki.gnome.org/Projects/Aravis";
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-IUSE="X gstreamer caps"
-
-GST_DEPEND="media-libs/gstreamer:1.0
-   media-libs/gst-plugins-base:1.0"
-
-RDEPEND=">=dev-libs/glib-2.32
-   dev-libs/libxml2
-   X? (
-   >=x11-libs/gtk+-3.12:3
-   ${GST_DEPEND}
-   media-libs/gst-plugins-base:1.0
-   x11-libs/libnotify
-   )
-   caps? (
-   sys-libs/libcap-ng
-   sys-process/audit
-   )
-   gstreamer? ( ${GST_DEPEND} )"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   dev-libs/gobject-introspection"
-
-if [[ ${PV} != * ]]; then
-   DEPEND+=" dev-util/gtk-doc dev-util/intltool"
-fi
-
-src_prepare() {
-   default
-   if [[ ${PV} = * ]]; then
-   intltoolize || die
-   gtkdocize || die
-   eautoreconf
-   fi
-}
-
-src_configure() {
-   econf \
-   --disable-silent-rules \
-   --disable-static \
-   $(use_enable X viewer) \
-   $(use_enable gstreamer gst-plugin) \
-   $(use_enable caps packet-socket) \
-   --enable-introspection
-}
-
-src_install() {
-   emake install DESTDIR="${D}" aravisdocdir="/usr/share/doc/${PF}"
-   find "${D}" -name '*.la' -delete
-}



[gentoo-commits] repo/gentoo:master commit in: media-video/aravis/

2019-09-07 Thread Luca Barbato
commit: 7364a11a2699443eeda40548fb8d1cc287f8cda4
Author: Bernardo Meurer  standard  ai>
AuthorDate: Mon Sep  2 06:30:53 2019 +
Commit: Luca Barbato  gentoo  org>
CommitDate: Sat Sep  7 13:34:09 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7364a11a

media-video/aravis: yank 0.5.10

Package-Manager: Portage-2.3.75, Repoman-2.3.17
Signed-off-by: Bernardo Meurer  standard.ai>
Signed-off-by: Luca Barbato  gentoo.org>

 media-video/aravis/Manifest |  1 -
 media-video/aravis/aravis-0.5.10.ebuild | 67 -
 2 files changed, 68 deletions(-)

diff --git a/media-video/aravis/Manifest b/media-video/aravis/Manifest
index cceae36b0a5..fe8b2776ef9 100644
--- a/media-video/aravis/Manifest
+++ b/media-video/aravis/Manifest
@@ -1,3 +1,2 @@
-DIST aravis-0.5.10.tar.xz 540700 BLAKE2B 
f12a2bfa2bf8ac1875b28ec0549e5ebe3e5eb1cd646e417acc52a760546343893e19d7fb13741799346286dc69d9ecf2a7d7a3c9ada6ffefafab5c6450468848
 SHA512 
27a182a8fce66416e14baa16609b91307683613fab9324c96f94b9a7dd956ba0d60f5c966b2ec5184374ab8f9f527ad4d7733dffd2c40faa409ff196c344eb29
 DIST aravis-0.6.1.tar.xz 547700 BLAKE2B 
7230cf49e08865b6f4e6621585c394633c54b94b921e4c686757eb21a02d5f51406f5084f92d41ad1880468001c908eb648fd2c2247def46bcbceea92bffa3ce
 SHA512 
098a079c7efc5e5f9d198beef8a6271f525779947d1767eba81262a33c38afa6d9f01f254e25b714b9c74550795beed144bb463c0e14d2a46e6e96d1af19bde4
 DIST aravis-0.6.4.tar.gz 2972111 BLAKE2B 
b7f1c4da08bb4e7d11faffcd4ef90b7215b803e5e74ba1730388e04304685b761024ffea49b082c94e3fddc9dc65201545167a277b1088ad7273d41d50fae5b0
 SHA512 
6090fd730ad9fe8e1641e48c52189e8961bf03a88cefb57135a2de985c2ca607c21b05d472a60586976aa1e05ba2121246b06b75179dd3241e1f703aad8dd7be

diff --git a/media-video/aravis/aravis-0.5.10.ebuild 
b/media-video/aravis/aravis-0.5.10.ebuild
deleted file mode 100644
index b62b492a853..000
--- a/media-video/aravis/aravis-0.5.10.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-if [[ ${PV} = * ]]; then
-   EGIT_REPO_URI="https://github.com/AravisProject/aravis.git";
-   inherit git-r3 autotools
-else
-   SRC_URI="mirror://gnome/sources/${PN}/$(ver_cut 1-2)/${P}.tar.xz"
-   KEYWORDS="~amd64"
-fi
-
-DESCRIPTION="Library for video acquisition using Genicam cameras"
-HOMEPAGE="https://wiki.gnome.org/Projects/Aravis";
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-IUSE="X gstreamer caps"
-
-GST_DEPEND="media-libs/gstreamer:1.0
-   media-libs/gst-plugins-base:1.0"
-
-RDEPEND=">=dev-libs/glib-2.26
-   dev-libs/libxml2
-   X? (
-   >=x11-libs/gtk+-3.12:3
-   ${GST_DEPEND}
-   media-libs/gst-plugins-base:1.0
-   x11-libs/libnotify
-   )
-   caps? (
-   sys-libs/libcap-ng
-   sys-process/audit
-   )
-   gstreamer? ( ${GST_DEPEND} )"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   dev-libs/gobject-introspection"
-
-if [[ ${PV} != * ]]; then
-   DEPEND+=" dev-util/gtk-doc dev-util/intltool"
-fi
-
-src_prepare() {
-   default
-   if [[ ${PV} = * ]]; then
-   intltoolize || die
-   gtkdocize || die
-   eautoreconf
-   fi
-}
-
-src_configure() {
-   econf \
-   --disable-silent-rules \
-   --disable-static \
-   $(use_enable X viewer) \
-   $(use_enable gstreamer gst-plugin) \
-   $(use_enable caps packet-socket) \
-   --enable-introspection
-}
-
-src_install() {
-   emake install DESTDIR="${D}" aravisdocdir="/usr/share/doc/${PF}"
-   find "${D}" -name '*.la' -delete
-}



[gentoo-commits] repo/gentoo:master commit in: media-video/aravis/

2019-01-15 Thread Luca Barbato
commit: 05fb115367d4e3b2de2a0d98f63b8685a974bf6f
Author: Luca Barbato  gentoo  org>
AuthorDate: Tue Jan 15 15:20:04 2019 +
Commit: Luca Barbato  gentoo  org>
CommitDate: Tue Jan 15 15:20:43 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05fb1153

media-video/aravis: Version bump

New stable version

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Luca Barbato  gentoo.org>

 media-video/aravis/Manifest|  1 +
 media-video/aravis/aravis-0.6.1.ebuild | 67 ++
 2 files changed, 68 insertions(+)

diff --git a/media-video/aravis/Manifest b/media-video/aravis/Manifest
index b6bb7dbfefb..951af5ec264 100644
--- a/media-video/aravis/Manifest
+++ b/media-video/aravis/Manifest
@@ -1 +1,2 @@
 DIST aravis-0.5.10.tar.xz 540700 BLAKE2B 
f12a2bfa2bf8ac1875b28ec0549e5ebe3e5eb1cd646e417acc52a760546343893e19d7fb13741799346286dc69d9ecf2a7d7a3c9ada6ffefafab5c6450468848
 SHA512 
27a182a8fce66416e14baa16609b91307683613fab9324c96f94b9a7dd956ba0d60f5c966b2ec5184374ab8f9f527ad4d7733dffd2c40faa409ff196c344eb29
+DIST aravis-0.6.1.tar.xz 547700 BLAKE2B 
7230cf49e08865b6f4e6621585c394633c54b94b921e4c686757eb21a02d5f51406f5084f92d41ad1880468001c908eb648fd2c2247def46bcbceea92bffa3ce
 SHA512 
098a079c7efc5e5f9d198beef8a6271f525779947d1767eba81262a33c38afa6d9f01f254e25b714b9c74550795beed144bb463c0e14d2a46e6e96d1af19bde4

diff --git a/media-video/aravis/aravis-0.6.1.ebuild 
b/media-video/aravis/aravis-0.6.1.ebuild
new file mode 100644
index 000..6136076e6a1
--- /dev/null
+++ b/media-video/aravis/aravis-0.6.1.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+if [[ ${PV} = * ]]; then
+   EGIT_REPO_URI="https://github.com/AravisProject/aravis.git";
+   inherit git-r3 autotools
+else
+   SRC_URI="mirror://gnome/sources/${PN}/$(ver_cut 1-2)/${P}.tar.xz"
+   KEYWORDS="~amd64"
+fi
+
+DESCRIPTION="Library for video acquisition using Genicam cameras"
+HOMEPAGE="https://wiki.gnome.org/Projects/Aravis";
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+IUSE="X gstreamer caps"
+
+GST_DEPEND="media-libs/gstreamer:1.0
+   media-libs/gst-plugins-base:1.0"
+
+RDEPEND=">=dev-libs/glib-2.32
+   dev-libs/libxml2
+   X? (
+   >=x11-libs/gtk+-3.12:3
+   ${GST_DEPEND}
+   media-libs/gst-plugins-base:1.0
+   x11-libs/libnotify
+   )
+   caps? (
+   sys-libs/libcap-ng
+   sys-process/audit
+   )
+   gstreamer? ( ${GST_DEPEND} )"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   dev-libs/gobject-introspection"
+
+if [[ ${PV} != * ]]; then
+   DEPEND+=" dev-util/gtk-doc dev-util/intltool"
+fi
+
+src_prepare() {
+   default
+   if [[ ${PV} = * ]]; then
+   intltoolize || die
+   gtkdocize || die
+   eautoreconf
+   fi
+}
+
+src_configure() {
+   econf \
+   --disable-silent-rules \
+   --disable-static \
+   $(use_enable X viewer) \
+   $(use_enable gstreamer gst-plugin) \
+   $(use_enable caps packet-socket) \
+   --enable-introspection
+}
+
+src_install() {
+   emake install DESTDIR="${D}" aravisdocdir="/usr/share/doc/${PF}"
+   find "${D}" -name '*.la' -delete
+}



[gentoo-commits] repo/gentoo:master commit in: media-video/aravis/

2018-06-17 Thread Pacho Ramos
commit: ee67d1793096c71326b43766309a9223a2ff94be
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Jun 17 14:11:03 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Jun 17 14:11:03 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee67d179

media-video/aravis: Drop old

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 media-video/aravis/Manifest |  2 -
 media-video/aravis/aravis-0.1.14.ebuild | 67 -
 media-video/aravis/aravis-0.1.15.ebuild | 67 -
 3 files changed, 136 deletions(-)

diff --git a/media-video/aravis/Manifest b/media-video/aravis/Manifest
index 4aabcff0187..b6bb7dbfefb 100644
--- a/media-video/aravis/Manifest
+++ b/media-video/aravis/Manifest
@@ -1,3 +1 @@
-DIST aravis-0.1.14.tar.xz 414932 BLAKE2B 
ea4c443297c5b8d2caf1cc944519bb274998acd6a6e6074ef1099a505296bd92fc264dcdb304bd34b75b3347a7522aedbad6cbc16cbef875627252a856691509
 SHA512 
d84fe519074a69e679b08e0c0933bce191e50cfcdd1b46b743aa68ba33445a3a87cbd1701ba424666b638949f9faf531ec668acbe5d22017712f70cfa9620ea9
-DIST aravis-0.1.15.tar.xz 448348 BLAKE2B 
0a20aab1e434999ab1d08ae55c2654ca4809be2f9d64b65729ce14977b724ba864513dcb652c6ccda3d768b9fe47e5c4cc3951ee716a4d34915768651a814830
 SHA512 
f6a2e1f7fa4f712bea6a91f896bbc92afb3dcf3146109f3f7aee2ad6812a69f0b47a0f2116062cba6163dc058c7981a01a6eec395d4af633da666fe186291929
 DIST aravis-0.5.10.tar.xz 540700 BLAKE2B 
f12a2bfa2bf8ac1875b28ec0549e5ebe3e5eb1cd646e417acc52a760546343893e19d7fb13741799346286dc69d9ecf2a7d7a3c9ada6ffefafab5c6450468848
 SHA512 
27a182a8fce66416e14baa16609b91307683613fab9324c96f94b9a7dd956ba0d60f5c966b2ec5184374ab8f9f527ad4d7733dffd2c40faa409ff196c344eb29

diff --git a/media-video/aravis/aravis-0.1.14.ebuild 
b/media-video/aravis/aravis-0.1.14.ebuild
deleted file mode 100644
index 5d0d72cf022..000
--- a/media-video/aravis/aravis-0.1.14.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-inherit versionator
-
-KEYWORDS="~amd64"
-
-if [[ ${PV} == "" ]]; then
-   KEYWORDS=""
-   EGIT_REPO_URI="git://git.gnome.org/aravis"
-   EGIT_COMMIT="${aravis_LIVE_COMMIT:-master}"
-   inherit git-2 autotools
-fi
-
-DESCRIPTION="Library for video acquisition using Genicam cameras"
-HOMEPAGE="https://live.gnome.org/Aravis";
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-
-IUSE="X gstreamer"
-
-GST_DEPEND="media-libs/gstreamer:0.10
-   media-libs/gst-plugins-base:0.10"
-
-RDEPEND=">=dev-libs/glib-2.22
-   dev-libs/libxml2
-   X? (
-   >=x11-libs/gtk+-2.12:2
-   ${GST_DEPEND}
-   media-libs/gst-plugins-base:0.10
-   media-plugins/gst-plugins-xvideo:0.10
-   )
-   gstreamer? ( ${GST_DEPEND} )"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   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-0.1.15.ebuild 
b/media-video/aravis/aravis-0.1.15.ebuild
deleted file mode 100644
index 5d0d72cf022..000
--- a/media-video/aravis/aravis-0.1.15.ebuild
+++ /dev/null
@@ -1,67 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=4
-
-inherit versionator
-
-KEYWORDS="~amd64"
-
-if [[ ${PV} == "" ]]; then
-   KEYWORDS=""
-   EGIT_REPO_URI="git://git.gnome.org/aravis"
-   EGIT_COMMIT="${aravis_LIVE_COMMIT:-master}"
-   inherit git-2 autotools
-fi
-
-DESCRIPTION="Library for video acquisition using Genicam cameras"
-HOMEPAGE="https://live.gnome.org/Aravis";
-
-LICENSE="LGPL-2.1"
-SLOT="0"
-
-IUSE="X gstreamer"
-
-GST_DEPEND="media-libs/gstreamer:0.10
-   media-libs/gst-plugins-base:0.10"
-
-RDEPEND=">=dev-libs/glib-2.22
-   dev-libs/libxml2
-   X? (
-   >=x11-libs/gtk+-2.12:2
-   ${GST_DEPEND}
-   media-libs/gst-plugins-base:0.10
-   media-plugins/gst-plugins-xvideo:0.10
-   )
-   gstreamer? ( ${GST_DEPEND} )"
-DEPEND="${RDEPEND}
-   virtual/pkgconfig
-   dev-libs/gobject-introspection"
-
-if [[ -z ${EGIT_COMMIT} ]]; then
-   SRC_URI="mirror://gnome/sources/${PN}/$(get_vers

[gentoo-commits] repo/gentoo:master commit in: media-video/aravis/

2018-06-17 Thread Pacho Ramos
commit: a85630e5f5b70fe06956f00e6b5b28d4554f47d6
Author: Pacho Ramos  gentoo  org>
AuthorDate: Sun Jun 17 14:11:34 2018 +
Commit: Pacho Ramos  gentoo  org>
CommitDate: Sun Jun 17 14:11:34 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a85630e5

media-video/aravis: Update HOMEPAGE

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 media-video/aravis/aravis-0.5.10.ebuild | 2 +-
 media-video/aravis/aravis-.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-video/aravis/aravis-0.5.10.ebuild 
b/media-video/aravis/aravis-0.5.10.ebuild
index ed18bd2b634..b62b492a853 100644
--- a/media-video/aravis/aravis-0.5.10.ebuild
+++ b/media-video/aravis/aravis-0.5.10.ebuild
@@ -12,7 +12,7 @@ else
 fi
 
 DESCRIPTION="Library for video acquisition using Genicam cameras"
-HOMEPAGE="https://live.gnome.org/Aravis";
+HOMEPAGE="https://wiki.gnome.org/Projects/Aravis";
 
 LICENSE="LGPL-2.1"
 SLOT="0"

diff --git a/media-video/aravis/aravis-.ebuild 
b/media-video/aravis/aravis-.ebuild
index ed18bd2b634..b62b492a853 100644
--- a/media-video/aravis/aravis-.ebuild
+++ b/media-video/aravis/aravis-.ebuild
@@ -12,7 +12,7 @@ else
 fi
 
 DESCRIPTION="Library for video acquisition using Genicam cameras"
-HOMEPAGE="https://live.gnome.org/Aravis";
+HOMEPAGE="https://wiki.gnome.org/Projects/Aravis";
 
 LICENSE="LGPL-2.1"
 SLOT="0"



[gentoo-commits] repo/gentoo:master commit in: media-video/aravis/

2018-06-03 Thread Andreas Sturmlechner
commit: c71e13b8f81d5be04ad3cfc642449cd7c4867ce0
Author: Andreas Sturmlechner  gentoo  org>
AuthorDate: Sun Jun  3 15:41:55 2018 +
Commit: Andreas Sturmlechner  gentoo  org>
CommitDate: Sun Jun  3 15:45:39 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c71e13b8

media-video/aravis: EAPI-7 bump

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 media-video/aravis/aravis-0.5.10.ebuild | 25 +++---
 media-video/aravis/aravis-.ebuild   | 46 -
 2 files changed, 33 insertions(+), 38 deletions(-)

diff --git a/media-video/aravis/aravis-0.5.10.ebuild 
b/media-video/aravis/aravis-0.5.10.ebuild
index eb90789b01a..ed18bd2b634 100644
--- a/media-video/aravis/aravis-0.5.10.ebuild
+++ b/media-video/aravis/aravis-0.5.10.ebuild
@@ -1,17 +1,14 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit versionator
-
-KEYWORDS="~amd64"
-
-if [[ ${PV} == "" ]]; then
-   KEYWORDS=""
-   EGIT_REPO_URI="git://git.gnome.org/aravis"
-   EGIT_COMMIT="${aravis_LIVE_COMMIT:-master}"
-   inherit git-2 autotools
+if [[ ${PV} = * ]]; then
+   EGIT_REPO_URI="https://github.com/AravisProject/aravis.git";
+   inherit git-r3 autotools
+else
+   SRC_URI="mirror://gnome/sources/${PN}/$(ver_cut 1-2)/${P}.tar.xz"
+   KEYWORDS="~amd64"
 fi
 
 DESCRIPTION="Library for video acquisition using Genicam cameras"
@@ -19,7 +16,6 @@ HOMEPAGE="https://live.gnome.org/Aravis";
 
 LICENSE="LGPL-2.1"
 SLOT="0"
-
 IUSE="X gstreamer caps"
 
 GST_DEPEND="media-libs/gstreamer:1.0
@@ -42,14 +38,13 @@ DEPEND="${RDEPEND}
virtual/pkgconfig
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
+if [[ ${PV} != * ]]; then
DEPEND+=" dev-util/gtk-doc dev-util/intltool"
 fi
 
 src_prepare() {
-   if [[ -n ${EGIT_COMMIT} ]]; then
+   default
+   if [[ ${PV} = * ]]; then
intltoolize || die
gtkdocize || die
eautoreconf

diff --git a/media-video/aravis/aravis-.ebuild 
b/media-video/aravis/aravis-.ebuild
index 5d0d72cf022..ed18bd2b634 100644
--- a/media-video/aravis/aravis-.ebuild
+++ b/media-video/aravis/aravis-.ebuild
@@ -1,17 +1,14 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=4
+EAPI=7
 
-inherit versionator
-
-KEYWORDS="~amd64"
-
-if [[ ${PV} == "" ]]; then
-   KEYWORDS=""
-   EGIT_REPO_URI="git://git.gnome.org/aravis"
-   EGIT_COMMIT="${aravis_LIVE_COMMIT:-master}"
-   inherit git-2 autotools
+if [[ ${PV} = * ]]; then
+   EGIT_REPO_URI="https://github.com/AravisProject/aravis.git";
+   inherit git-r3 autotools
+else
+   SRC_URI="mirror://gnome/sources/${PN}/$(ver_cut 1-2)/${P}.tar.xz"
+   KEYWORDS="~amd64"
 fi
 
 DESCRIPTION="Library for video acquisition using Genicam cameras"
@@ -19,33 +16,35 @@ HOMEPAGE="https://live.gnome.org/Aravis";
 
 LICENSE="LGPL-2.1"
 SLOT="0"
+IUSE="X gstreamer caps"
 
-IUSE="X gstreamer"
+GST_DEPEND="media-libs/gstreamer:1.0
+   media-libs/gst-plugins-base:1.0"
 
-GST_DEPEND="media-libs/gstreamer:0.10
-   media-libs/gst-plugins-base:0.10"
-
-RDEPEND=">=dev-libs/glib-2.22
+RDEPEND=">=dev-libs/glib-2.26
dev-libs/libxml2
X? (
-   >=x11-libs/gtk+-2.12:2
+   >=x11-libs/gtk+-3.12:3
${GST_DEPEND}
-   media-libs/gst-plugins-base:0.10
-   media-plugins/gst-plugins-xvideo:0.10
+   media-libs/gst-plugins-base:1.0
+   x11-libs/libnotify
+   )
+   caps? (
+   sys-libs/libcap-ng
+   sys-process/audit
)
gstreamer? ( ${GST_DEPEND} )"
 DEPEND="${RDEPEND}
virtual/pkgconfig
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
+if [[ ${PV} != * ]]; then
DEPEND+=" dev-util/gtk-doc dev-util/intltool"
 fi
 
 src_prepare() {
-   if [[ -n ${EGIT_COMMIT} ]]; then
+   default
+   if [[ ${PV} = * ]]; then
intltoolize || die
gtkdocize || die
eautoreconf
@@ -58,6 +57,7 @@ src_configure() {
--disable-static \
$(use_enable X viewer) \
$(use_enable gstreamer gst-plugin) \
+   $(use_enable caps packet-socket) \
--enable-introspection
 }
 



[gentoo-commits] repo/gentoo:master commit in: media-video/aravis/

2018-06-03 Thread Luca Barbato
commit: 17513e49f27db21507d7aa9cfbc90b96c9e677fe
Author: Luca Barbato  gentoo  org>
AuthorDate: Sun Jun  3 15:36:23 2018 +
Commit: Luca Barbato  gentoo  org>
CommitDate: Sun Jun  3 15:36:23 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17513e49

media-video/aravis: Bump to eapi 6

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 media-video/aravis/aravis-0.5.10.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-video/aravis/aravis-0.5.10.ebuild 
b/media-video/aravis/aravis-0.5.10.ebuild
index 9dc8fa93266..eb90789b01a 100644
--- a/media-video/aravis/aravis-0.5.10.ebuild
+++ b/media-video/aravis/aravis-0.5.10.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
 inherit versionator
 



[gentoo-commits] repo/gentoo:master commit in: media-video/aravis/

2018-06-03 Thread Luca Barbato
commit: 3b265485a5e7bb6ad4d51e505c58ef18569ad0bf
Author: Luca Barbato  gentoo  org>
AuthorDate: Sun Jun  3 15:18:19 2018 +
Commit: Luca Barbato  gentoo  org>
CommitDate: Sun Jun  3 15:20:00 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b265485

media-video/aravis: Version bump

Compatible with recent gstreamer

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 media-video/aravis/Manifest |  1 +
 media-video/aravis/aravis-0.5.10.ebuild | 72 +
 2 files changed, 73 insertions(+)

diff --git a/media-video/aravis/Manifest b/media-video/aravis/Manifest
index 7add736795d..4aabcff0187 100644
--- a/media-video/aravis/Manifest
+++ b/media-video/aravis/Manifest
@@ -1,2 +1,3 @@
 DIST aravis-0.1.14.tar.xz 414932 BLAKE2B 
ea4c443297c5b8d2caf1cc944519bb274998acd6a6e6074ef1099a505296bd92fc264dcdb304bd34b75b3347a7522aedbad6cbc16cbef875627252a856691509
 SHA512 
d84fe519074a69e679b08e0c0933bce191e50cfcdd1b46b743aa68ba33445a3a87cbd1701ba424666b638949f9faf531ec668acbe5d22017712f70cfa9620ea9
 DIST aravis-0.1.15.tar.xz 448348 BLAKE2B 
0a20aab1e434999ab1d08ae55c2654ca4809be2f9d64b65729ce14977b724ba864513dcb652c6ccda3d768b9fe47e5c4cc3951ee716a4d34915768651a814830
 SHA512 
f6a2e1f7fa4f712bea6a91f896bbc92afb3dcf3146109f3f7aee2ad6812a69f0b47a0f2116062cba6163dc058c7981a01a6eec395d4af633da666fe186291929
+DIST aravis-0.5.10.tar.xz 540700 BLAKE2B 
f12a2bfa2bf8ac1875b28ec0549e5ebe3e5eb1cd646e417acc52a760546343893e19d7fb13741799346286dc69d9ecf2a7d7a3c9ada6ffefafab5c6450468848
 SHA512 
27a182a8fce66416e14baa16609b91307683613fab9324c96f94b9a7dd956ba0d60f5c966b2ec5184374ab8f9f527ad4d7733dffd2c40faa409ff196c344eb29

diff --git a/media-video/aravis/aravis-0.5.10.ebuild 
b/media-video/aravis/aravis-0.5.10.ebuild
new file mode 100644
index 000..9dc8fa93266
--- /dev/null
+++ b/media-video/aravis/aravis-0.5.10.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit versionator
+
+KEYWORDS="~amd64"
+
+if [[ ${PV} == "" ]]; then
+   KEYWORDS=""
+   EGIT_REPO_URI="git://git.gnome.org/aravis"
+   EGIT_COMMIT="${aravis_LIVE_COMMIT:-master}"
+   inherit git-2 autotools
+fi
+
+DESCRIPTION="Library for video acquisition using Genicam cameras"
+HOMEPAGE="https://live.gnome.org/Aravis";
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+
+IUSE="X gstreamer caps"
+
+GST_DEPEND="media-libs/gstreamer:1.0
+   media-libs/gst-plugins-base:1.0"
+
+RDEPEND=">=dev-libs/glib-2.26
+   dev-libs/libxml2
+   X? (
+   >=x11-libs/gtk+-3.12:3
+   ${GST_DEPEND}
+   media-libs/gst-plugins-base:1.0
+   x11-libs/libnotify
+   )
+   caps? (
+   sys-libs/libcap-ng
+   sys-process/audit
+   )
+   gstreamer? ( ${GST_DEPEND} )"
+DEPEND="${RDEPEND}
+   virtual/pkgconfig
+   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) \
+   $(use_enable caps packet-socket) \
+   --enable-introspection
+}
+
+src_install() {
+   emake install DESTDIR="${D}" aravisdocdir="/usr/share/doc/${PF}"
+   find "${D}" -name '*.la' -delete
+}