Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/rygel/
Date: Sun, 13 Aug 2017 17:03:27
Message-Id: 1502643770.f48f4b2dc88702d6749ab4a20e1617122ea2458e.eva@gentoo
1 commit: f48f4b2dc88702d6749ab4a20e1617122ea2458e
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 13 15:25:43 2017 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 13 17:02:50 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f48f4b2d
7
8 net-misc/rygel: version bump 0.32.1 → 0.34.0
9
10 Package-Manager: Portage-2.3.7, Repoman-2.3.3
11
12 net-misc/rygel/Manifest | 1 +
13 net-misc/rygel/rygel-0.34.0.ebuild | 97 ++++++++++++++++++++++++++++++++++++++
14 2 files changed, 98 insertions(+)
15
16 diff --git a/net-misc/rygel/Manifest b/net-misc/rygel/Manifest
17 index ba84c14e538..dd609c0a513 100644
18 --- a/net-misc/rygel/Manifest
19 +++ b/net-misc/rygel/Manifest
20 @@ -1 +1,2 @@
21 DIST rygel-0.32.1.tar.xz 3977648 SHA256 94300e7349e7d161fc8b2d42cd4d5ac4d161362b81f58f126abd98d000f9d2c8 SHA512 55aaed85a44496792bf9bc34d150f1f9d79b7c440da4351c730580200cc7e3a19f378dd93fdf2ab5b4c19cd793a25481c2bf15f3e7043595e6971eca983f0767 WHIRLPOOL c1947bcd4b29a29a8405a83ffd43393060825069cab0230a1819e8e4f11601e672e9ef26e88986ad39386f6fb0080e952e52810f90d491f77eae3a806bbb2afd
22 +DIST rygel-0.34.0.tar.xz 3997364 SHA256 fbb2d46cbe4e750df6610b4c66b2278f06d1f71a257c7903e676ccb394dad418 SHA512 90e582f42e73376bbe6b06f33d44c6a70969961728dc512523bcc578b5b7c3f826cb425b469ade87d3fdf82117309f8589c30b1cdd8ba74cc14424c7f2efdb21 WHIRLPOOL f9a083f555460c4bedfa2df4943b2886c2aba3cb9f10944685361395484951bf7e5ec14d04c3dbaedc0f6071e05803e62a58667f192b5ff417fcebe5016d2c40
23
24 diff --git a/net-misc/rygel/rygel-0.34.0.ebuild b/net-misc/rygel/rygel-0.34.0.ebuild
25 new file mode 100644
26 index 00000000000..034de1e2366
27 --- /dev/null
28 +++ b/net-misc/rygel/rygel-0.34.0.ebuild
29 @@ -0,0 +1,97 @@
30 +# Copyright 1999-2017 Gentoo Foundation
31 +# Distributed under the terms of the GNU General Public License v2
32 +
33 +EAPI=6
34 +GNOME2_LA_PUNT="yes"
35 +
36 +inherit gnome2 systemd versionator virtualx
37 +
38 +DESCRIPTION="Rygel is an open source UPnP/DLNA MediaServer"
39 +HOMEPAGE="https://wiki.gnome.org/Projects/Rygel"
40 +
41 +LICENSE="GPL-2"
42 +SLOT="0"
43 +KEYWORDS="~amd64 ~x86"
44 +IUSE="X +introspection +sqlite tracker test transcode"
45 +
46 +# The deps for tracker? and transcode? are just the earliest available
47 +# version at the time of writing this ebuild
48 +RDEPEND="
49 + >=dev-libs/glib-2.40.0:2
50 + >=dev-libs/libgee-0.8:0.8
51 + >=dev-libs/libxml2-2.7:2
52 + >=media-libs/gupnp-dlna-0.9.4:2.0
53 + media-libs/gstreamer:1.0
54 + media-libs/gst-plugins-base:1.0
55 + >=media-libs/libmediaart-0.7:2.0
56 + media-plugins/gst-plugins-soup:1.0
57 + >=net-libs/gssdp-0.13
58 + >=net-libs/gupnp-0.20.14
59 + >=net-libs/gupnp-av-0.12.8
60 + >=net-libs/libsoup-2.44:2.4
61 + >=sys-apps/util-linux-2.20
62 + x11-misc/shared-mime-info
63 + introspection? ( >=dev-libs/gobject-introspection-1.33.4:= )
64 + sqlite? (
65 + >=dev-db/sqlite-3.5:3
66 + dev-libs/libunistring:=
67 + x11-libs/gdk-pixbuf:2
68 + )
69 + tracker? ( >=app-misc/tracker-0.16:= )
70 + transcode? (
71 + media-libs/gst-plugins-bad:1.0
72 + media-plugins/gst-plugins-twolame:1.0
73 + media-plugins/gst-plugins-libav:1.0
74 + )
75 + X? ( >=x11-libs/gtk+-3:3 )
76 +"
77 +DEPEND="${RDEPEND}
78 + dev-util/gtk-doc-am
79 + >=sys-devel/gettext-0.19.7
80 + virtual/pkgconfig
81 +"
82 +# Maintainer only
83 +# app-text/docbook-xsl-stylesheets
84 +# >=dev-lang/vala-0.22
85 +# dev-libs/libxslt
86 +
87 +src_prepare() {
88 + # Disable test triggering call to gst-plugins-scanner which causes
89 + # sandbox issues when plugins such as clutter are installed
90 + sed -e 's/return rygel_playbin_renderer_test_main (argv, argc);/return 0;/' \
91 + -i tests/rygel-playbin-renderer-test.c || die
92 +
93 + gnome2_src_prepare
94 +}
95 +
96 +src_configure() {
97 + # We set xsltproc because man pages are provided by upstream
98 + # and we do not want to regenerate them automagically.
99 + gnome2_src_configure \
100 + XSLTPROC=$(type -P false) \
101 + --enable-gst-launch-plugin \
102 + --with-media-engine=gstreamer \
103 + --enable-nls \
104 + --with-systemduserunitdir=$(systemd_get_userunitdir) \
105 + $(use_enable introspection) \
106 + $(use_enable sqlite media-export-plugin) \
107 + $(use_enable sqlite lms-plugin) \
108 + $(use_enable test tests) \
109 + $(use_enable tracker tracker-plugin) \
110 + $(use_with X ui)
111 +}
112 +
113 +pkg_postinst() {
114 + gnome2_pkg_postinst
115 + local v
116 + for v in ${REPLACING_VERSIONS}; do
117 + if ! version_is_at_least 0.28.2-r1 ${v}; then
118 + elog "This version stops forcing the automatical starting of"
119 + elog "rygel as upstream pretends. This way, it will honor the"
120 + elog "user settings at Sharing section in gnome-control-center."
121 + elog "If you desire to keep getting rygel autostarting always"
122 + elog "you will need to configure your desktop to do it."
123 + break
124 + fi
125 + done
126 +}