media-sound/pulseaudio: Revbump adding gconf -> gsettings changes
authorLars Wendler <polynomial-c@gentoo.org>
Thu, 21 Jun 2018 15:05:27 +0000 (17:05 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Thu, 21 Jun 2018 15:07:45 +0000 (17:07 +0200)
as intended by gnome team.

Package-Manager: Portage-2.3.40, Repoman-2.3.9

media-sound/pulseaudio/metadata.xml
media-sound/pulseaudio/pulseaudio-12.0-r1.ebuild [moved from media-sound/pulseaudio/pulseaudio-12.0.ebuild with 96% similarity]

index a36f0e99dc20fe06085c05931e9c80ff8cbe13e4..fd92c03f2b564fbb9b211936a77381d6bf86dbaa 100644 (file)
       PulseAudio plugin enabled. This ensures that clients supporting
       ALSA only will use PulseAudio.
     </flag>
+    <flag name="gconf">
+      Ensure <pkg>gnome-base/gconf</pkg> is present for pulseaudio GConf
+      to GSettings module automatic migration (keeping the user configuration)
+    </flag>
     <flag name="gnome">
       Use GConf to store user preferences on streams and so on. Don't
       enable this flag if you want to use a system wide instance. If
similarity index 96%
rename from media-sound/pulseaudio/pulseaudio-12.0.ebuild
rename to media-sound/pulseaudio/pulseaudio-12.0-r1.ebuild
index 0c45d4f125a8555a13e29a8222fbf5ed16238f74..989b5ba8c180ea81c8f1aeadbb110e8af065ef27 100644 (file)
@@ -18,8 +18,8 @@ SLOT="0"
 KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
 
 # +alsa-plugin as discussed in bug #519530
-IUSE="+alsa +alsa-plugin +asyncns bluetooth +caps dbus doc equalizer +gdbm +glib
-gnome gsettings gtk ipv6 jack libsamplerate libressl lirc native-headset neon ofono-headset
+IUSE="+alsa +alsa-plugin +asyncns bluetooth +caps dbus doc equalizer gconf +gdbm
++glib gtk ipv6 jack libsamplerate libressl lirc native-headset neon ofono-headset
 +orc oss qt5 realtime selinux sox ssl systemd system-wide tcpd test +udev
 +webrtc-aec +X zeroconf"
 
@@ -30,11 +30,10 @@ REQUIRED_USE="
        ofono-headset? ( bluetooth )
        native-headset? ( bluetooth )
        udev? ( || ( alsa oss ) )
-       gsettings? ( !gnome )
 "
 
 # libpcre needed in some cases, bug #472228
-RDEPEND="
+CDEPEND="
        || (
                elibc_glibc? ( virtual/libc )
                elibc_uclibc? ( virtual/libc )
@@ -51,15 +50,13 @@ RDEPEND="
        caps? ( >=sys-libs/libcap-2.22-r2[${MULTILIB_USEDEP}] )
        libsamplerate? ( >=media-libs/libsamplerate-0.1.1-r1 )
        alsa? ( >=media-libs/alsa-lib-1.0.19 )
-       glib? ( >=dev-libs/glib-2.4.0:2[${MULTILIB_USEDEP}] )
+       glib? ( >=dev-libs/glib-2.26.0:2[${MULTILIB_USEDEP}] )
        zeroconf? ( >=net-dns/avahi-0.6.12[dbus] )
        jack? ( virtual/jack )
        tcpd? ( sys-apps/tcp-wrappers[${MULTILIB_USEDEP}] )
        lirc? ( app-misc/lirc )
        dbus? ( >=sys-apps/dbus-1.0.0[${MULTILIB_USEDEP}] )
        gtk? ( x11-libs/gtk+:3 )
-       gnome? ( >=gnome-base/gconf-2.4.0 )
-       gsettings? ( >=dev-libs/glib-2.26.0 )
        bluetooth? (
                >=net-wireless/bluez-5
                >=sys-apps/dbus-1.0.0
@@ -76,7 +73,6 @@ RDEPEND="
                !libressl? ( dev-libs/openssl:0= )
                libressl? ( dev-libs/libressl:= )
        )
-       >=media-libs/speex-1.2.0
        media-libs/speexdsp
        gdbm? ( sys-libs/gdbm:= )
        webrtc-aec? ( >=media-libs/webrtc-audio-processing-0.2 )
@@ -85,6 +81,9 @@ RDEPEND="
        selinux? ( sec-policy/selinux-pulseaudio )
 "
 # it's a valid RDEPEND, libltdl.so is used for native abi
+RDEPEND="${CDEPEND}
+       gconf? ( >=gnome-base/gconf-3.2.6 )
+"
 
 DEPEND="${RDEPEND}
        sys-devel/m4
@@ -161,6 +160,7 @@ multilib_src_configure() {
                --disable-adrian-aec
                --disable-bluez4
                --disable-esound
+               --disable-gconf
                --disable-solaris
                --enable-largefile
                --localstatedir="${EPREFIX}"/var
@@ -168,8 +168,7 @@ multilib_src_configure() {
                --with-udev-rules-dir="${EPREFIX}/$(get_udevdir)"/rules.d
                $(multilib_native_use_enable alsa)
                $(multilib_native_use_enable bluetooth bluez5)
-               $(multilib_native_use_enable gnome gconf)
-               $(multilib_native_use_enable gsettings)
+               $(multilib_native_use_enable glib gsettings)
                $(multilib_native_use_enable gtk gtk3)
                $(multilib_native_use_enable jack)
                $(multilib_native_use_enable libsamplerate samplerate)