diff options
author | Fredy García | 2023-06-29 12:43:46 -0500 |
---|---|---|
committer | Fredy García | 2023-06-29 12:43:46 -0500 |
commit | 4cee59e60837a583e42db47214e483c4be86e716 (patch) | |
tree | 0a281bc960ec012c3a605ce6b7615967e5d082f4 | |
parent | 79b016da70d65dd42e460b52e7ba4443029693a7 (diff) | |
download | aur-4cee59e60837a583e42db47214e483c4be86e716.tar.gz |
Removing DBusActivatable=true to make shortcut works as expected.
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 7 | ||||
-rw-r--r-- | desktop_remove_busactivatable.patch | 11 |
3 files changed, 20 insertions, 2 deletions
@@ -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 @@ -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; |