blob: 2f9e11e10f6a2325db5471eb11f4fe2791bedd33 (
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
VALA_MIN_API_VERSION="0.42"
inherit gnome.org meson systemd vala xdg
DESCRIPTION="Rygel is an open source UPnP/DLNA MediaServer"
HOMEPAGE="https://wiki.gnome.org/Projects/Rygel"
LICENSE="LGPL-2.1+ CC-BY-SA-3.0"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE="gtk gtk-doc +introspection +sqlite tracker test transcode"
RESTRICT="!test? ( test )"
DEPEND="
>=dev-libs/glib-2.56.0:2
>=dev-libs/libgee-0.8:0.8
>=dev-libs/libxml2-2.7:2
>=media-libs/gstreamer-1.12:1.0
>=media-libs/gst-plugins-base-1.12:1.0
media-libs/gstreamer-editing-services:1.0
>=media-libs/gupnp-dlna-0.9.4:2.0=
>=media-libs/libmediaart-0.7:2.0[vala]
media-plugins/gst-plugins-soup:1.0
>=net-libs/gssdp-1.1.0:0=[vala]
>=net-libs/gupnp-1.1.0:0=[vala]
>=net-libs/gupnp-av-0.12.8:=
>=net-libs/libsoup-2.44:2.4
>=sys-apps/util-linux-2.20
x11-misc/shared-mime-info
introspection? ( >=dev-libs/gobject-introspection-1.33.4:= )
sqlite? (
>=dev-db/sqlite-3.5:3
dev-libs/libunistring:=
x11-libs/gdk-pixbuf:2
)
tracker? ( app-misc/tracker:3= )
transcode? (
media-libs/gst-plugins-bad:1.0
media-plugins/gst-plugins-twolame:1.0
media-plugins/gst-plugins-libav:1.0
)
gtk? ( >=x11-libs/gtk+-3.22:3 )
"
RDEPEND="${DEPEND}"
BDEPEND="
$(vala_depend)
>=sys-devel/gettext-0.19.7
virtual/pkgconfig
"
# Maintainer only
# app-text/docbook-xsl-stylesheets
# >=dev-lang/vala-0.36
# dev-libs/libxslt
src_prepare() {
vala_src_prepare
default
# Disable test triggering call to gst-plugins-scanner which causes
# sandbox issues when plugins such as clutter are installed
#sed -e 's/return rygel_playbin_renderer_test_main (argv, argc);/return 0;/' \
# -i tests/rygel-playbin-renderer-test.c || die
#default
}
src_configure() {
local emesonargs=(
$(meson_use gtk-doc api-docs)
-Dsystemd-user-units-dir=$(systemd_get_userunitdir)
-Dplugins=gst-launch$(use sqlite && echo ",lms,media-export")$(use tracker && echo ",tracker3")
-Dengines=gstreamer
-Dexamples=false
$(meson_use test tests)
-Dgstreamer=enabled
$(meson_feature gtk)
$(meson_feature introspection)
)
meson_src_configure
}
|