Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/aravis/
Date: Fri, 01 Nov 2019 13:37:52
Message-Id: 1572614874.f03e1a08a9599e81a4eb09309842f0174943b14c.juippis@gentoo
1 commit: f03e1a08a9599e81a4eb09309842f0174943b14c
2 Author: Bernardo Meurer <meurerbernardo <AT> gmail <DOT> com>
3 AuthorDate: Thu Oct 17 07:19:01 2019 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Fri Nov 1 13:27:54 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f03e1a08
7
8 media-video/aravis: yank 0.6.4
9
10 Package-Manager: Portage-2.3.77, Repoman-2.3.17
11 Signed-off-by: Bernardo Meurer <bernardo <AT> standard.ai>
12 Closes: https://github.com/gentoo/gentoo/pull/13322
13 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
14
15 media-video/aravis/Manifest | 1 -
16 media-video/aravis/aravis-0.6.4.ebuild | 88 ----------------------------------
17 2 files changed, 89 deletions(-)
18
19 diff --git a/media-video/aravis/Manifest b/media-video/aravis/Manifest
20 index 568548bd4d0..a85fb353063 100644
21 --- a/media-video/aravis/Manifest
22 +++ b/media-video/aravis/Manifest
23 @@ -1,2 +1 @@
24 -DIST aravis-0.6.4.tar.gz 2972111 BLAKE2B b7f1c4da08bb4e7d11faffcd4ef90b7215b803e5e74ba1730388e04304685b761024ffea49b082c94e3fddc9dc65201545167a277b1088ad7273d41d50fae5b0 SHA512 6090fd730ad9fe8e1641e48c52189e8961bf03a88cefb57135a2de985c2ca607c21b05d472a60586976aa1e05ba2121246b06b75179dd3241e1f703aad8dd7be
25 DIST aravis-0.7.2.tar.gz 940928 BLAKE2B 67b6772aaf6195e393caf2f3fcf6d24acace9d7160023c801f93d479e9d488e4082dcd11d40a8db18dea6cd516e0b24cb78e46de09d455a3c822208d9f33af5b SHA512 5cc6c01f77462c595a87a5899df752a5018e72b4de108fc3bcebbb39542482fc535401a7f10732270d98998fe807c929ae9e7750cc7ac0ce089763d1eb148e2a
26
27 diff --git a/media-video/aravis/aravis-0.6.4.ebuild b/media-video/aravis/aravis-0.6.4.ebuild
28 deleted file mode 100644
29 index 5ffb500be0c..00000000000
30 --- a/media-video/aravis/aravis-0.6.4.ebuild
31 +++ /dev/null
32 @@ -1,88 +0,0 @@
33 -# Copyright 2019 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -inherit meson xdg
38 -
39 -DESCRIPTION="Library for video acquisition using Genicam cameras"
40 -HOMEPAGE="https://github.com/AravisProject/aravis"
41 -
42 -if [[ ${PV} = 9999 ]]; then
43 - inherit git-r3
44 - EGIT_REPO_URI="https://github.com/AravisProject/${PN}"
45 -else
46 - MY_P="${PN^^}_${PV//./_}"
47 - SRC_URI="https://github.com/AravisProject/${PN}/archive/${MY_P}.tar.gz -> ${P}.tar.gz"
48 - KEYWORDS="~amd64 ~x86"
49 -fi
50 -
51 -LICENSE="LGPL-2+"
52 -SLOT="0"
53 -# FIXME: As of right now tests are always built, once that changes a USE flag
54 -# should be added. c.f. https://github.com/AravisProject/aravis/issues/286
55 -IUSE="gtk-doc fast-heartbeat gstreamer introspection packet-socket usb viewer"
56 -
57 -GST_DEPEND="
58 - media-libs/gstreamer:1.0
59 - media-libs/gst-plugins-base:1.0
60 -"
61 -BDEPEND="
62 - dev-util/glib-utils
63 - virtual/pkgconfig
64 - gtk-doc? (
65 - dev-util/gtk-doc
66 - app-text/docbook-xml-dtd:4.3
67 - )
68 - introspection? ( dev-libs/gobject-introspection:= )
69 -"
70 -DEPEND="
71 - >=dev-libs/glib-2.34:2
72 - dev-libs/libxml2:2
73 - sys-libs/zlib
74 - gstreamer? ( ${GST_DEPEND} )
75 - packet-socket? ( sys-process/audit )
76 - usb? ( virtual/libusb:1 )
77 - viewer? (
78 - ${GST_DEPEND}
79 - >=x11-libs/gtk+-3.12:3
80 - x11-libs/libnotify
81 - )
82 -"
83 -RDEPEND="${DEPEND}"
84 -
85 -if [[ ${PV} != 9999 ]]; then
86 - S="${WORKDIR}/${PN}-${MY_P}"
87 -fi
88 -
89 -src_configure() {
90 - local emesonargs=(
91 - $(meson_use gtk-doc documentation)
92 - $(meson_use fast-heartbeat)
93 - $(meson_use gstreamer gst-plugin)
94 - $(meson_use introspection)
95 - $(meson_use packet-socket)
96 - $(meson_use usb)
97 - $(meson_use viewer)
98 - )
99 - meson_src_configure
100 -}
101 -
102 -src_install() {
103 - meson_src_install
104 - # Aravis appends the major and min versions (but not the patch) to it's
105 - # binaries and it's folder in /usr/share. Things then end up like
106 - # `arv-tool-0.6`. We use this little hack to find out the version of the
107 - # current build in a way that works even for a -9999 ebuild.
108 - local install_pv="$(ls ${ED}/usr/share | grep aravis- | cut -f 2 -d '-')"
109 - local install_p="${PN}-${install_pv}"
110 -
111 - # Properly place icons
112 - if use viewer; then
113 - cp -r "${ED}/usr/share/${install_p}/icons" "${ED}/usr/share" || die "Failed to copy icons"
114 - fi
115 -
116 - # Symlink versioned binaries to non-versioned
117 - dosym "arv-tool-${install_pv}" "usr/bin/arv-tool"
118 - dosym "arv-fake-gv-camera-${install_pv}" "usr/bin/arv-fake-gv-camera"
119 - use viewer && dosym "arv-viewer-${install_pv}" "usr/bin/arv-viewer"
120 -}