Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-libs/grilo/
Date: Sun, 25 Aug 2019 16:46:49
Message-Id: 1566751592.4d67b13c32215db562aab10d7ad6bb21cb271fe7.leio@gentoo
1 commit: 4d67b13c32215db562aab10d7ad6bb21cb271fe7
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 25 16:30:13 2019 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 25 16:46:32 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4d67b13c
7
8 media-libs/grilo: bump to 0.3.9
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
12
13 media-libs/grilo/Manifest | 1 +
14 media-libs/grilo/grilo-0.3.9.ebuild | 75 +++++++++++++++++++++++++++++++++++++
15 2 files changed, 76 insertions(+)
16
17 diff --git a/media-libs/grilo/Manifest b/media-libs/grilo/Manifest
18 index 73f842d226c..276c3d61ab9 100644
19 --- a/media-libs/grilo/Manifest
20 +++ b/media-libs/grilo/Manifest
21 @@ -1 +1,2 @@
22 DIST grilo-0.3.7.tar.xz 232544 BLAKE2B 2d1f7942b09808bb5e09040b4a633a6bd354220ba1369d31ff6160c12ab15c1e2642617ae7f35c8320d7a5842736d8714c6e7dc7f3cb0651d841b6513633f5c9 SHA512 82c41d63edc23c056e189a73b0de87db342bba575d42efeda78ed4bf78fb8994111a2e9457e6f2453045b9b7b2d171b9e89d71c3a107cfa06af24644d9cb71df
23 +DIST grilo-0.3.9.tar.xz 233616 BLAKE2B c22b868d5bcb6731024b212d6bc1502b493950e363127202ded0ed80f3e937bf78062ba6f2803e29f686ff8cfc521147e69b8f4a7b33060d81e30f34a231e37b SHA512 250596f277ea76d8f6a071fb0e48dd7ea735a534f48a4f2e3f69f7c62a2b5b4c995714a8435ffa9107345e86bba5b21fc136cc47b956f461723a00d0e6ede9bf
24
25 diff --git a/media-libs/grilo/grilo-0.3.9.ebuild b/media-libs/grilo/grilo-0.3.9.ebuild
26 new file mode 100644
27 index 00000000000..f07a46d3c8d
28 --- /dev/null
29 +++ b/media-libs/grilo/grilo-0.3.9.ebuild
30 @@ -0,0 +1,75 @@
31 +# Copyright 1999-2019 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=7
35 +PYTHON_COMPAT=( python{2_7,3_5,3_6,3_7} )
36 +VALA_USE_DEPEND="vapigen"
37 +
38 +inherit gnome.org meson python-any-r1 vala xdg
39 +
40 +DESCRIPTION="A framework for easy media discovery and browsing"
41 +HOMEPAGE="https://wiki.gnome.org/Projects/Grilo"
42 +
43 +LICENSE="LGPL-2.1+"
44 +SLOT="0.3/0" # subslot is libgrilo-0.3 soname suffix
45 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
46 +
47 +IUSE="gtk gtk-doc +introspection +network +playlist test vala"
48 +REQUIRED_USE="vala? ( introspection )"
49 +RESTRICT="!test? ( test )"
50 +
51 +# oauth could be optional if meson is patched - used for flickr oauth in grilo-test-ui tool
52 +RDEPEND="
53 + >=dev-libs/glib-2.44:2
54 + dev-libs/libxml2:2
55 + network? ( >=net-libs/libsoup-2.41.3:2.4[introspection?] )
56 + playlist? ( >=dev-libs/totem-pl-parser-3.4.1 )
57 + introspection? ( >=dev-libs/gobject-introspection-1.54:= )
58 +
59 + gtk? (
60 + net-libs/liboauth
61 + >=x11-libs/gtk+-3.14:3 )
62 +"
63 +DEPEND="${RDEPEND}"
64 +BDEPEND="
65 + dev-util/glib-utils
66 + >=sys-devel/gettext-0.19.8
67 + virtual/pkgconfig
68 + gtk-doc? (
69 + >=dev-util/gtk-doc-1.10
70 + app-text/docbook-xml-dtd:4.3 )
71 + ${PYTHON_DEPS}
72 + test? ( sys-apps/dbus )
73 + vala? ( $(vala_depend) )
74 +"
75 +
76 +src_prepare() {
77 + sed -i -e "s:'GETTEXT_PACKAGE', meson.project_name():'GETTEXT_PACKAGE', 'grilo-${SLOT%/*}':" meson.build || die
78 + sed -i -e "s:meson.project_name():'grilo-${SLOT%/*}':" po/meson.build || die
79 + sed -i -e "s:'grilo':'grilo-${SLOT%/*}':" doc/grilo/meson.build || die
80 +
81 + # Drop explicit unversioned vapigen check
82 + sed -i -e "/vapigen.*=.*find_program/d" meson.build || die
83 +
84 + # Don't build examples; they get embedded in gtk-doc, thus we don't install the sources with USE=examples either
85 + sed -i -e "/subdir('examples')/d" meson.build || die
86 +
87 + xdg_src_prepare
88 + use vala && vala_src_prepare
89 +}
90 +
91 +src_configure() {
92 + local emesonargs=(
93 + $(meson_use network enable-grl-net)
94 + $(meson_use playlist enable-grl-pls)
95 + $(meson_use gtk-doc enable-gtk-doc)
96 + $(meson_use introspection enable-introspection)
97 + $(meson_use gtk enable-test-ui)
98 + $(meson_use vala enable-vala)
99 + )
100 + meson_src_configure
101 +}
102 +
103 +src_test() {
104 + dbus-run-session meson test -C "${BUILD_DIR}" || die
105 +}