kde-plasma/plasma-pa: Revbump to not automagically depend on gconf.
authorLars Wendler <polynomial-c@gentoo.org>
Sat, 28 Jul 2018 11:33:13 +0000 (13:33 +0200)
committerLars Wendler <polynomial-c@gentoo.org>
Sat, 28 Jul 2018 11:33:28 +0000 (13:33 +0200)
Bug: https://bugs.gentoo.org/658660
Package-Manager: Portage-2.3.43, Repoman-2.3.10

kde-plasma/plasma-pa/files/plasma-pa-5.13.3-automagic_gconf.patch [new file with mode: 0644]
kde-plasma/plasma-pa/plasma-pa-5.13.3-r2.ebuild [moved from kde-plasma/plasma-pa/plasma-pa-5.13.3-r1.ebuild with 94% similarity]

diff --git a/kde-plasma/plasma-pa/files/plasma-pa-5.13.3-automagic_gconf.patch b/kde-plasma/plasma-pa/files/plasma-pa-5.13.3-automagic_gconf.patch
new file mode 100644 (file)
index 0000000..8e58077
--- /dev/null
@@ -0,0 +1,18 @@
+--- plasma-pa-5.13.3/CMakeLists.txt
++++ plasma-pa-5.13.3/CMakeLists.txt
+@@ -18,12 +18,9 @@
+ include(KDECompilerSettings NO_POLICY_SCOPE)
+ include(ECMOptionalAddSubdirectory)
+-include(FindPkgConfig)
+-pkg_check_modules(GCONF gconf-2.0)
+-pkg_check_modules(GOBJECT gobject-2.0)
+-if (GCONF_FOUND AND GOBJECT_FOUND)
+-    set(HAVE_GCONF TRUE)
+-endif()
++# Don't even try to use gconf.
++# >=pulseaudio-12.0 recommends to no longer use it anyway.
++set(HAVE_GCONF FALSE)
+ find_package(Qt5 ${QT_MIN_VERSION} REQUIRED COMPONENTS
+     Core
similarity index 94%
rename from kde-plasma/plasma-pa/plasma-pa-5.13.3-r1.ebuild
rename to kde-plasma/plasma-pa/plasma-pa-5.13.3-r2.ebuild
index 12b95df456c0b2960f4ad1a1090423a4ad5cb0a4..3c1d7097d87dc267fe96b5ec649c98788b969a2d 100644 (file)
@@ -29,4 +29,5 @@ RDEPEND="${DEPEND}"
 PATCHES=(
        "${FILESDIR}/${P}-wrong-port-avail.patch"
        "${FILESDIR}/${P}-optional_gconf.patch"
+       "${FILESDIR}/${P}-automagic_gconf.patch"
 )