Date: Saturday, May 21, 2022 @ 19:28:16 Author: arojas Revision: 1209884
archrelease: copy trunk to community-x86_64 Added: strawberry/repos/community-x86_64/PKGBUILD (from rev 1209883, strawberry/trunk/PKGBUILD) Deleted: strawberry/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 62 +++++++++++++++++++++++++++++++++---------------------------- 1 file changed, 34 insertions(+), 28 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-05-21 19:28:05 UTC (rev 1209883) +++ PKGBUILD 2022-05-21 19:28:16 UTC (rev 1209884) @@ -1,28 +0,0 @@ -# Maintainer: Antonio Rojas <aro...@archlinux.org> -# Contributor: Fabio 'Lolix' Loli <lo...@disroot.org> -> https://github.com/FabioLolix - -pkgname=strawberry -pkgver=1.0.4 -pkgrel=2 -pkgdesc='A music player aimed at audio enthusiasts and music collectors' -arch=(x86_64) -url='https://www.strawbs.org/' -license=(GPL3) -depends=(qt6-base chromaprint protobuf gst-plugins-base gst-plugins-good udisks2 libcdio libgpod libmtp fftw) -makedepends=(cmake boost qt6-tools) -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') - -build() { - cmake -B build -S $pkgname-$pkgver \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DBUILD_WITH_QT6=ON - cmake --build build -} - -package() { - DESTDIR="$pkgdir" cmake --install build -} Copied: strawberry/repos/community-x86_64/PKGBUILD (from rev 1209883, strawberry/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-05-21 19:28:16 UTC (rev 1209884) @@ -0,0 +1,34 @@ +# Maintainer: Antonio Rojas <aro...@archlinux.org> +# Contributor: Fabio 'Lolix' Loli <lo...@disroot.org> -> https://github.com/FabioLolix + +pkgname=strawberry +pkgver=1.0.4 +pkgrel=3 +pkgdesc='A music player aimed at audio enthusiasts and music collectors' +arch=(x86_64) +url='https://www.strawbs.org/' +license=(GPL3) +depends=(qt6-base chromaprint protobuf gst-plugins-base gst-plugins-good udisks2 libcdio libgpod libmtp fftw) +makedepends=(cmake boost qt6-tools) +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 + 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 \ + -DBUILD_WITH_QT6=ON + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build +}