summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFredy García2023-06-29 12:43:46 -0500
committerFredy García2023-06-29 12:43:46 -0500
commit4cee59e60837a583e42db47214e483c4be86e716 (patch)
tree0a281bc960ec012c3a605ce6b7615967e5d082f4
parent79b016da70d65dd42e460b52e7ba4443029693a7 (diff)
downloadaur-4cee59e60837a583e42db47214e483c4be86e716.tar.gz
Removing DBusActivatable=true to make shortcut works as expected.
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD7
-rw-r--r--desktop_remove_busactivatable.patch11
3 files changed, 20 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c6cb76bcddd8..1bcf561f23d8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = amarok
pkgdesc = The powerful music player for KDE
pkgver = 2.9.71
- pkgrel = 2
+ pkgrel = 3
url = http://amarok.kde.org/
arch = x86_64
license = FDL
@@ -30,8 +30,10 @@ pkgbase = amarok
optdepends = ifuse: support for Apple iPod Touch and iPhone
optdepends = loudmouth: backend needed by mp3tunes for syncing
source = https://download.kde.org/unstable/amarok/2.9.71/amarok-2.9.71.tar.xz
+ source = desktop_remove_busactivatable.patch
source = ffmpeg5_cmakelist_configure.patch::https://invent.kde.org/multimedia/amarok/-/merge_requests/45.diff
sha256sums = 6a404829d336f69415fb6bb4ea1d5566759fb95e3e84f904ee9ef82a7be4e84f
+ sha256sums = 92083012e10b0fae50f0caa2ef198f085f97d5856796fc9ef36d699b555353ed
sha256sums = 77a1f8cbc7f786e5616fbb5922dcf193614dbdf2a1d3fa2b2196c3fdb2f0387b
pkgname = amarok
diff --git a/PKGBUILD b/PKGBUILD
index d698de04d448..ae87de2e99b9 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
pkgname=amarok
pkgver=2.9.71
-pkgrel=2
+pkgrel=3
pkgdesc="The powerful music player for KDE"
arch=("x86_64")
url="http://${pkgname}.kde.org/"
@@ -19,16 +19,21 @@ optdepends=(
)
source=(
"https://download.kde.org/unstable/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.xz"
+ "desktop_remove_busactivatable.patch"
"ffmpeg5_cmakelist_configure.patch::https://invent.kde.org/multimedia/amarok/-/merge_requests/45.diff"
)
sha256sums=(
"6a404829d336f69415fb6bb4ea1d5566759fb95e3e84f904ee9ef82a7be4e84f"
+ "92083012e10b0fae50f0caa2ef198f085f97d5856796fc9ef36d699b555353ed"
"77a1f8cbc7f786e5616fbb5922dcf193614dbdf2a1d3fa2b2196c3fdb2f0387b"
)
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
+ # Patching to remove DBusActivatable=true to make shortcut works as expected
+ patch -Np1 -i "${srcdir}/desktop_remove_busactivatable.patch"
+
# Patching to fix FFMPEG5 and CMakeLists bug with config.h definition position https://invent.kde.org/multimedia/amarok/-/merge_requests/45
patch -Np1 -i "${srcdir}/ffmpeg5_cmakelist_configure.patch"
diff --git a/desktop_remove_busactivatable.patch b/desktop_remove_busactivatable.patch
new file mode 100644
index 000000000000..b99b8c02ae2a
--- /dev/null
+++ b/desktop_remove_busactivatable.patch
@@ -0,0 +1,11 @@
+diff --git a/src/org.kde.amarok.desktop b/src/org.kde.amarok.desktop
+index 198a0c1..3d82037 100644
+--- a/src/org.kde.amarok.desktop
++++ b/src/org.kde.amarok.desktop
+@@ -234,6 +234,5 @@ X-KDE-Keywords[x-test]=xxmusicxx,xxpodcastxx
+ X-KDE-Keywords[zh_CN]=music,podcast,音乐,播客
+ X-KDE-Keywords[zh_TW]=music,podcast
+ X-KDE-Protocols=http
+-DBusActivatable=true
+ Terminal=false
+ Categories=Qt;KDE;AudioVideo;Audio;Player;