Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-plugins/grilo-plugins/
Date: Wed, 17 Aug 2022 00:28:31
Message-Id: 1660696092.e9d3b0ce4cf28d55c1e8c65a95399b0ed7563b32.mattst88@gentoo
1 commit: e9d3b0ce4cf28d55c1e8c65a95399b0ed7563b32
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Wed Aug 17 00:27:47 2022 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Wed Aug 17 00:28:12 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e9d3b0ce
7
8 media-plugins/grilo-plugins: Version bump to 0.3.15
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 media-plugins/grilo-plugins/Manifest | 1 +
13 .../grilo-plugins/grilo-plugins-0.3.15.ebuild | 122 +++++++++++++++++++++
14 2 files changed, 123 insertions(+)
15
16 diff --git a/media-plugins/grilo-plugins/Manifest b/media-plugins/grilo-plugins/Manifest
17 index 9c72c2233921..0d7e4b6ac841 100644
18 --- a/media-plugins/grilo-plugins/Manifest
19 +++ b/media-plugins/grilo-plugins/Manifest
20 @@ -1 +1,2 @@
21 DIST grilo-plugins-0.3.14.tar.xz 1836512 BLAKE2B 28d633a1565c1bc8329a6a69d4f2d8db5e5887cdce5e56fd4167ab31f293a2c203583b9c2a916977a9642c6acc15933d37e50026e9929587f0f35af688c6a9c4 SHA512 941d9524cfb33e33315ac7575051521d9117ef517b169cca90660dee788252eaf1e6f8171ccc7beede5564d63149e065faf08c3244e17f7c1c193bfb7d2af1f8
22 +DIST grilo-plugins-0.3.15.tar.xz 1844584 BLAKE2B dbd25dd79e1676c42e5d36e6253628d7940ef75d1ba7625f5ffc36ad80f44ea0bc61a4beab609be26dc4c2c3f1fbc4f74905064dcb3df8a690cf67a4da2348b3 SHA512 4580990aeea6028668cf1762e8541a13349064e2713d97749126ea4a459e0c590b93a19c0f138103233a8fb7ab1c5009df1473c65ed06dce78e26c24aa63c2db
23
24 diff --git a/media-plugins/grilo-plugins/grilo-plugins-0.3.15.ebuild b/media-plugins/grilo-plugins/grilo-plugins-0.3.15.ebuild
25 new file mode 100644
26 index 000000000000..f1d693f78977
27 --- /dev/null
28 +++ b/media-plugins/grilo-plugins/grilo-plugins-0.3.15.ebuild
29 @@ -0,0 +1,122 @@
30 +# Copyright 1999-2022 Gentoo Authors
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=8
34 +LUA_COMPAT=( lua5-3 )
35 +inherit gnome.org lua-single meson xdg
36 +
37 +DESCRIPTION="A collection of plugins for the Grilo framework"
38 +HOMEPAGE="https://wiki.gnome.org/Projects/Grilo"
39 +
40 +LICENSE="LGPL-2.1+"
41 +SLOT="0.3"
42 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86"
43 +IUSE="daap chromaprint flickr freebox gnome-online-accounts lua test thetvdb tracker upnp-av +youtube"
44 +RESTRICT="!test? ( test )"
45 +REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )"
46 +
47 +# GOA is only optionally used by flickr and lua-factory plugins (checked at v0.3.13)
48 +# json-glib used by tmdb and lua; tmdb currently non-optional
49 +# TODO: validate upnp-av dleyna deps
50 +RDEPEND="
51 + >=dev-libs/glib-2.66:2
52 + >=media-libs/grilo-0.3.13:${SLOT}=[playlist]
53 + freebox? ( net-dns/avahi[dbus] )
54 + >=dev-libs/gom-0.4
55 + chromaprint? (
56 + media-libs/gstreamer:1.0
57 + media-libs/gst-plugins-base:1.0
58 + media-plugins/gst-plugins-chromaprint:1.0
59 + )
60 + dev-libs/json-glib
61 + daap? ( >=net-libs/libdmapsharing-2.9.12:3.0 )
62 + media-libs/libmediaart:2.0
63 + net-libs/libsoup:2.4
64 + dev-libs/libxml2:2
65 + flickr? (
66 + net-libs/liboauth
67 + gnome-online-accounts? ( >=net-libs/gnome-online-accounts-3.17.91:= )
68 + )
69 + dev-db/sqlite:3
70 + >=dev-libs/totem-pl-parser-3.4.1:=
71 + tracker? ( app-misc/tracker:3= )
72 + upnp-av? (
73 + net-libs/dleyna-connector-dbus
74 + net-misc/dleyna-server
75 + )
76 + lua? (
77 + ${LUA_DEPS}
78 + app-arch/libarchive
79 + dev-libs/libxml2:2
80 + gnome-online-accounts? ( >=net-libs/gnome-online-accounts-3.17.91:= )
81 + )
82 + thetvdb? ( app-arch/libarchive )
83 + youtube? ( >=dev-libs/libgdata-0.17.0:= )
84 +"
85 +DEPEND="${RDEPEND}"
86 +BDEPEND="
87 + app-text/docbook-xml-dtd:4.5
88 + dev-util/itstool
89 + >=sys-devel/gettext-0.19.8
90 + upnp-av? ( >=dev-util/gdbus-codegen-2.44 )
91 + virtual/pkgconfig
92 + lua? ( dev-util/gperf )
93 +"
94 +
95 +pkg_pretend() {
96 + if use gnome-online-accounts; then
97 + if ! use flickr && ! use lua; then
98 + ewarn "Ignoring USE=gnome-online-accounts USE does not contain flickr or lua"
99 + fi
100 + fi
101 +}
102 +
103 +pkg_setup() {
104 + use lua && lua-single_pkg_setup
105 +}
106 +
107 +src_prepare() {
108 + default
109 + xdg_environment_reset
110 +
111 + sed -i -e "s:'GETTEXT_PACKAGE', meson.project_name():'GETTEXT_PACKAGE', 'grilo-plugins-${SLOT%/*}':" meson.build || die
112 + sed -i -e "s:meson.project_name():'grilo-plugins-${SLOT%/*}':" po/meson.build || die
113 + sed -i -e "s:meson.project_name():'grilo-plugins-${SLOT%/*}':" help/meson.build || die
114 +
115 + # libdmapsharing-4 is not packaged
116 + sed -i -e "s:libdmapsharing4_dep.found():false:" meson.build || die
117 +}
118 +
119 +src_configure() {
120 + local emesonargs=(
121 + -Denable-bookmarks=yes
122 + -Denable-chromaprint=$(usex chromaprint yes no)
123 + -Denable-dleyna=$(usex upnp-av yes no)
124 + -Denable-dmap=$(usex daap yes no)
125 + -Denable-filesystem=yes
126 + -Denable-flickr=$(usex flickr yes no)
127 + -Denable-freebox=$(usex freebox yes no)
128 + -Denable-gravatar=yes
129 + -Denable-local-metadata=yes
130 + -Denable-lua-factory=$(usex lua yes no)
131 + -Denable-magnatune=yes
132 + -Denable-metadata-store=yes
133 + -Denable-opensubtitles=yes
134 + -Denable-optical-media=yes
135 + -Denable-podcasts=yes
136 + -Denable-raitv=yes
137 + -Denable-shoutcast=yes
138 + -Denable-thetvdb=$(usex thetvdb yes no)
139 + -Denable-tmdb=yes
140 + -Denable-tracker=no
141 + -Denable-tracker3=$(usex tracker yes no)
142 + -Denable-youtube=$(usex youtube yes no)
143 + -Dhelp=no
144 + )
145 + if use flickr || use lua; then
146 + emesonargs+=($(meson_feature gnome-online-accounts goa))
147 + else
148 + emesonargs+=(-Dgoa=disabled)
149 + fi
150 + meson_src_configure
151 +}