net-misc/rygel: Fix REPLACING_VERSIONS handling and gdk-pixbuf dep (USE=sqlite only)
authorMart Raudsepp <leio@gentoo.org>
Sun, 19 Mar 2017 16:35:38 +0000 (18:35 +0200)
committerMart Raudsepp <leio@gentoo.org>
Sun, 19 Mar 2017 16:36:59 +0000 (18:36 +0200)
Gentoo-bug: 589498

net-misc/rygel/rygel-0.30.3.ebuild
net-misc/rygel/rygel-0.32.1.ebuild

index 69aeeb22b310353a077328aa23c13c5abe9cd5c2..459a2906564ecf26d2f2b7bfafb21ec2d4fc5c6a 100644 (file)
@@ -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
 }
index 5988bd231610582e163930d41126b675477b1e7d..bccf3fbb206e73fd514a6ece14612a936a720d92 100644 (file)
@@ -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
 }