summaryrefslogtreecommitdiff
path: root/media-video/aravis/aravis-0.5.11.ebuild
blob: 8ea305e8bbf86e457ba48ae32023bb6310ec875d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$

EAPI=5

inherit autotools versionator

KEYWORDS="~amd64 ~x86"

MY_PV="$(replace_all_version_separators '_')"

MY_PN="${PN^^}"

SRC_URI="https://github.com/AravisProject/${PN}/archive/${MY_PN}_${MY_PV}.tar.gz"

DESCRIPTION="Library for video acquisition using Genicam cameras"

HOMEPAGE="https://github.com/AravisProject/aravis"

LICENSE="LGPL-2"

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"

S="${WORKDIR}/${PN}-${MY_PN}_${MY_PV}"

src_prepare() {
	eautoreconf
}