summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-07-19 11:57:10 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2020-07-19 13:14:38 +0200
commita41a4f9b1c2b7ebc9dd87ab149af3cf7fcf3e35f (patch)
tree9c5f4c5809b65d3d477037901d52bda44e7b3c7d /media-sound/soundkonverter
parentdev-libs/pigpio: new version 77 (diff)
downloadgentoo-a41a4f9b1c2b7ebc9dd87ab149af3cf7fcf3e35f.tar.gz
gentoo-a41a4f9b1c2b7ebc9dd87ab149af3cf7fcf3e35f.tar.bz2
gentoo-a41a4f9b1c2b7ebc9dd87ab149af3cf7fcf3e35f.zip
media-sound/soundkonverter: Update deps.patch
Package-Manager: Portage-3.0.0, Repoman-2.3.23 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'media-sound/soundkonverter')
-rw-r--r--media-sound/soundkonverter/files/soundkonverter-3.0.0-deps.patch11
-rw-r--r--media-sound/soundkonverter/files/soundkonverter-3.0.1-deps.patch30
-rw-r--r--media-sound/soundkonverter/soundkonverter-3.0.1-r2.ebuild2
3 files changed, 31 insertions, 12 deletions
diff --git a/media-sound/soundkonverter/files/soundkonverter-3.0.0-deps.patch b/media-sound/soundkonverter/files/soundkonverter-3.0.0-deps.patch
deleted file mode 100644
index aa5f68af9394..000000000000
--- a/media-sound/soundkonverter/files/soundkonverter-3.0.0-deps.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/CMakeLists.txt 2017-09-12 23:39:15.648029711 +0200
-+++ b/CMakeLists.txt 2017-09-12 23:44:47.944469934 +0200
-@@ -30,7 +30,7 @@
- include(ECMInstallIcons)
- include(FeatureSummary)
-
--find_package(Qt5 REQUIRED COMPONENTS Network Core Widgets)
-+find_package(Qt5 REQUIRED COMPONENTS Core Widgets Xml)
- find_package(KF5 REQUIRED COMPONENTS I18n XmlGui KIO Solid Config ConfigWidgets WidgetsAddons KDELibs4Support)
- find_package(KF5Cddb)
- find_package(Phonon4Qt5 REQUIRED)
diff --git a/media-sound/soundkonverter/files/soundkonverter-3.0.1-deps.patch b/media-sound/soundkonverter/files/soundkonverter-3.0.1-deps.patch
new file mode 100644
index 000000000000..b7009d33125d
--- /dev/null
+++ b/media-sound/soundkonverter/files/soundkonverter-3.0.1-deps.patch
@@ -0,0 +1,30 @@
+From 0eda1978640dda400ca02172abeeacbb725f7b7c Mon Sep 17 00:00:00 2001
+From: Andreas Sturmlechner <asturm@gentoo.org>
+Date: Sun, 19 Jul 2020 11:43:30 +0200
+Subject: [PATCH] Consolidate find_package calls inside CMakeLists.txt
+
+- Drop unused Qt5Network
+- Search for Qt5Xml once instead of in most plugins
+- KF5WidgetsAddons and KF5KIO were already being searched for
+
+Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
+---
+ CMakeLists.txt | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index 521d0da..7e578f0 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -30,7 +30,7 @@ include(CMakePackageConfigHelpers)
+ include(ECMInstallIcons)
+ include(FeatureSummary)
+
+-find_package(Qt5 REQUIRED COMPONENTS Network Core Widgets)
++find_package(Qt5 REQUIRED COMPONENTS Core Widgets Xml)
+ find_package(KF5 REQUIRED COMPONENTS I18n XmlGui KIO Solid Config ConfigWidgets WidgetsAddons KDELibs4Support)
+ find_package(KF5Cddb)
+ find_package(Phonon4Qt5 REQUIRED)
+--
+2.27.0
+
diff --git a/media-sound/soundkonverter/soundkonverter-3.0.1-r2.ebuild b/media-sound/soundkonverter/soundkonverter-3.0.1-r2.ebuild
index 0beceea2e00e..5730b13cb606 100644
--- a/media-sound/soundkonverter/soundkonverter-3.0.1-r2.ebuild
+++ b/media-sound/soundkonverter/soundkonverter-3.0.1-r2.ebuild
@@ -45,7 +45,7 @@ RDEPEND="${DEPEND}
"
PATCHES=(
- "${FILESDIR}/${PN}-3.0.0-deps.patch"
+ "${FILESDIR}/${P}-deps.patch" # pending upstream
"${FILESDIR}/${P}-fix-add-dirs.patch"
"${FILESDIR}/${P}-metainfodir.patch"
)