commit:     c36ab2a59abb21750cfefd92112c027ad2cb5c0e
Author:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
AuthorDate: Sun Mar 19 16:35:38 2017 +0000
Commit:     Mart Raudsepp <leio <AT> gentoo <DOT> org>
CommitDate: Sun Mar 19 16:36:59 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c36ab2a5

net-misc/rygel: Fix REPLACING_VERSIONS handling and gdk-pixbuf dep (USE=sqlite 
only)

Gentoo-bug: 589498

 net-misc/rygel/rygel-0.30.3.ebuild | 20 ++++++++++++--------
 net-misc/rygel/rygel-0.32.1.ebuild | 22 +++++++++++++---------
 2 files changed, 25 insertions(+), 17 deletions(-)

diff --git a/net-misc/rygel/rygel-0.30.3.ebuild 
b/net-misc/rygel/rygel-0.30.3.ebuild
index 69aeeb22b31..459a2906564 100644
--- a/net-misc/rygel/rygel-0.30.3.ebuild
+++ b/net-misc/rygel/rygel-0.30.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -73,11 +73,15 @@ src_configure() {
 
 pkg_postinst() {
        gnome2_pkg_postinst
-       if ! version_is_at_least 0.28.2-r1 ${REPLACING_VERSIONS}; 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."
-       fi
+       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
 }

diff --git a/net-misc/rygel/rygel-0.32.1.ebuild 
b/net-misc/rygel/rygel-0.32.1.ebuild
index 5988bd23161..bccf3fbb206 100644
--- a/net-misc/rygel/rygel-0.32.1.ebuild
+++ b/net-misc/rygel/rygel-0.32.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -30,12 +30,12 @@ RDEPEND="
        >=net-libs/gupnp-av-0.12.8
        >=net-libs/libsoup-2.44:2.4
        >=sys-apps/util-linux-2.20
-       x11-libs/gdk-pixbuf:2
        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? (
@@ -74,11 +74,15 @@ src_configure() {
 
 pkg_postinst() {
        gnome2_pkg_postinst
-       if ! version_is_at_least 0.28.2-r1 ${REPLACING_VERSIONS}; 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."
-       fi
+       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