commit:     2e880ad0ca50a0b8816ea4a40483d7399c675818
Author:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 24 14:10:43 2018 +0000
Commit:     Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
CommitDate: Sun Jun 24 19:17:21 2018 +0000
URL:        https://gitweb.gentoo.org/proj/gnome.git/commit/?id=2e880ad0

net-misc/rygel: 0.34.0 → 0.36.1

Package-Manager: Portage-2.3.40, Repoman-2.3.9
Manifest-Sign-Key: 0x5A56C8CD0C13248A

 net-misc/rygel/metadata.xml        | 12 +++++
 net-misc/rygel/rygel-0.36.1.ebuild | 97 ++++++++++++++++++++++++++++++++++++++
 2 files changed, 109 insertions(+)

diff --git a/net-misc/rygel/metadata.xml b/net-misc/rygel/metadata.xml
new file mode 100644
index 00000000..359230bd
--- /dev/null
+++ b/net-misc/rygel/metadata.xml
@@ -0,0 +1,12 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+  <maintainer type="project">
+    <email>gn...@gentoo.org</email>
+    <name>Gentoo GNOME Desktop</name>
+  </maintainer>
+  <use>
+    <flag name="tracker">Install dependencies for the tracker plugin</flag>
+    <flag name="transcode">Install dependencies for transcoding support</flag>
+  </use>
+</pkgmetadata>

diff --git a/net-misc/rygel/rygel-0.36.1.ebuild 
b/net-misc/rygel/rygel-0.36.1.ebuild
new file mode 100644
index 00000000..931c5c87
--- /dev/null
+++ b/net-misc/rygel/rygel-0.36.1.ebuild
@@ -0,0 +1,97 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+GNOME2_LA_PUNT="yes"
+
+inherit gnome2 systemd versionator virtualx
+
+DESCRIPTION="Rygel is an open source UPnP/DLNA MediaServer"
+HOMEPAGE="https://wiki.gnome.org/Projects/Rygel";
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="X +introspection +sqlite tracker test transcode"
+
+# The deps for tracker? and transcode? are just the earliest available
+# version at the time of writing this ebuild
+RDEPEND="
+       >=dev-libs/glib-2.40.0:2
+       >=dev-libs/libgee-0.8:0.8
+       >=dev-libs/libxml2-2.7:2
+       >=media-libs/gupnp-dlna-0.9.4:2.0
+       media-libs/gstreamer:1.0
+       media-libs/gst-plugins-base:1.0
+       >=media-libs/libmediaart-0.7:2.0
+       media-plugins/gst-plugins-soup:1.0
+       >=net-libs/gssdp-0.13
+       >=net-libs/gupnp-0.20.14
+       >=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-0.16:= )
+       transcode? (
+               media-libs/gst-plugins-bad:1.0
+               media-plugins/gst-plugins-twolame:1.0
+               media-plugins/gst-plugins-libav:1.0
+       )
+       X? ( >=x11-libs/gtk+-3:3 )
+"
+DEPEND="${RDEPEND}
+       dev-util/gtk-doc-am
+       >=sys-devel/gettext-0.19.7
+       virtual/pkgconfig
+"
+# Maintainer only
+#   app-text/docbook-xsl-stylesheets
+#      >=dev-lang/vala-0.22
+#   dev-libs/libxslt
+
+src_prepare() {
+       # 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
+
+       gnome2_src_prepare
+}
+
+src_configure() {
+       # We set xsltproc because man pages are provided by upstream
+       # and we do not want to regenerate them automagically.
+       gnome2_src_configure \
+               XSLTPROC=$(type -P false) \
+               --enable-gst-launch-plugin \
+               --with-media-engine=gstreamer \
+               --enable-nls \
+               --with-systemduserunitdir=$(systemd_get_userunitdir) \
+               $(use_enable introspection) \
+               $(use_enable sqlite media-export-plugin) \
+               $(use_enable sqlite lms-plugin) \
+               $(use_enable test tests) \
+               $(use_enable tracker tracker-plugin) \
+               $(use_with X ui)
+}
+
+pkg_postinst() {
+       gnome2_pkg_postinst
+       local v
+       for v in ${REPLACING_VERSIONS}; do
+               if ! version_is_at_least 0.28.2-r1 ${v}; then
+                       elog "This version stops forcing the automatical 
starting of"
+                       elog "rygel as upstream pretends. This way, it will 
honor the"
+                       elog "user settings at Sharing section in 
gnome-control-center."
+                       elog "If you desire to keep getting rygel autostarting 
always"
+                       elog "you will need to configure your desktop to do it."
+                       break
+               fi
+       done
+}

Reply via email to