Date: Sunday, February 17, 2019 @ 17:29:38 Author: arojas Revision: 434158
Add strawberry music player Added: strawberry/ strawberry/trunk/ strawberry/trunk/PKGBUILD ----------+ PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 1 file changed, 35 insertions(+) Added: strawberry/trunk/PKGBUILD =================================================================== --- strawberry/trunk/PKGBUILD (rev 0) +++ strawberry/trunk/PKGBUILD 2019-02-17 17:29:38 UTC (rev 434158) @@ -0,0 +1,35 @@ +# Maintainer: Antonio Rojas <[email protected]> +# Contributor: Fabio 'Lolix' Loli <[email protected]> -> https://github.com/FabioLolix + +pkgname=strawberry +pkgver=0.5.2 +pkgrel=1 +pkgdesc="A music player aimed at audio enthusiasts and music collectors" +arch=(x86_64) +url="http://www.strawbs.org/" +license=(GPL3) +depends=(chromaprint protobuf gst-plugins-base gst-plugins-good qt5-x11extras udisks2 libcdio libgpod libmtp desktop-file-utils) +makedepends=(cmake boost) +optdepends=('gst-libav: additional codecs' + 'gst-plugins-bad: additional codecs' + 'gst-plugins-ugly: additional codecs') +source=("https://github.com/jonaski/strawberry/releases/download/$pkgver/$pkgname-$pkgver.tar.xz") +sha256sums=('a7a1ad74fcd5039d21b1876814d258b53f7df3227b2c5522f5a403291c148244') + +prepare() { + mkdir -p build +} + +build() { + cd build + cmake ../$pkgname-$pkgver \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DUSE_SYSTEM_TAGLIB=ON \ + -DENABLE_DEEZER=OFF + make +} + +package() { + cd build + make DESTDIR="$pkgdir" install +}
