Date: Saturday, May 21, 2022 @ 19:28:05
  Author: arojas
Revision: 1209883

Fix closing to system tray (FS#74796)

Modified:
  strawberry/trunk/PKGBUILD

----------+
 PKGBUILD |   12 +++++++++---
 1 file changed, 9 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-05-21 19:20:34 UTC (rev 1209882)
+++ PKGBUILD    2022-05-21 19:28:05 UTC (rev 1209883)
@@ -3,7 +3,7 @@
 
 pkgname=strawberry
 pkgver=1.0.4
-pkgrel=2
+pkgrel=3
 pkgdesc='A music player aimed at audio enthusiasts and music collectors'
 arch=(x86_64)
 url='https://www.strawbs.org/'
@@ -13,9 +13,15 @@
 optdepends=('gst-libav: additional codecs'
             'gst-plugins-bad: additional codecs'
             'gst-plugins-ugly: additional codecs')
-source=(https://github.com/strawberrymusicplayer/strawberry/releases/download/$pkgver/$pkgname-$pkgver.tar.xz)
-sha256sums=('ec68f42326b70870d1c9c0ad1182136897e299d7d187fbc2994467c19afac07e')
+source=(https://github.com/strawberrymusicplayer/strawberry/releases/download/$pkgver/$pkgname-$pkgver.tar.xz
+        
https://github.com/strawberrymusicplayer/strawberry/commit/36eb1312.patch)
+sha256sums=('ec68f42326b70870d1c9c0ad1182136897e299d7d187fbc2994467c19afac07e'
+            '3af8c220197699ad1f116e056df375a91556ec6454ea74c818a8faf889bd159c')
 
+prepare() {
+  patch -d $pkgname-$pkgver -p1 < 36eb1312.patch # Fix closing to system tray 
on Wayland
+}
+
 build() {
   cmake -B build -S $pkgname-$pkgver \
     -DCMAKE_INSTALL_PREFIX=/usr \

Reply via email to