From cb3e8c6af7661fbcafdcacc7e0ecdfb610d098fa Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 9 Jun 2018 09:27:03 +0100 Subject: gentoo resync : 09.06.2018 --- media-video/aravis/aravis-9999.ebuild | 46 +++++++++++++++++------------------ 1 file changed, 23 insertions(+), 23 deletions(-) (limited to 'media-video/aravis/aravis-9999.ebuild') diff --git a/media-video/aravis/aravis-9999.ebuild b/media-video/aravis/aravis-9999.ebuild index 5d0d72cf0220..ed18bd2b6343 100644 --- a/media-video/aravis/aravis-9999.ebuild +++ b/media-video/aravis/aravis-9999.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} == "9999" ]]; then - KEYWORDS="" - EGIT_REPO_URI="git://git.gnome.org/aravis" - EGIT_COMMIT="${aravis_LIVE_COMMIT:-master}" - inherit git-2 autotools +if [[ ${PV} = *9999 ]]; 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} != *9999 ]]; then DEPEND+=" dev-util/gtk-doc dev-util/intltool" fi src_prepare() { - if [[ -n ${EGIT_COMMIT} ]]; then + default + if [[ ${PV} = *9999 ]]; 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 } -- cgit v1.2.3