forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Package-Manager: Portage-2.3.77, Repoman-2.3.17 Signed-off-by: Bernardo Meurer <[email protected]> Signed-off-by: Joonas Niilola <[email protected]>
- Loading branch information
1 parent
e882a48
commit 63825f5
Showing
3 changed files
with
71 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
# 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} = 9999 ]]; 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[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} != 9999 ]]; 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 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters