blob: 863b9d94d45cc532248fd59699ce9ac2949c97ee (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Maintainer: Fabio 'Lolix' Loli <lolix@disroot.org> -> https://github.com/FabioLolix
pkgname=strawberry-git
pkgver=0.4.1.r16.gb357634
pkgrel=2
pkgdesc="Bitperfect audio player and music collection organizer, fork of Clementine. gstreamer engine only"
arch=(x86_64 i686 arm armv6h armv7h aarch64)
url="http://www.strawbs.org/"
license=(GPL3)
depends=(chromaprint protobuf gst-plugins-base gst-plugins-good qt5-base qt5-x11extras
sqlite3 udisks2 dbus alsa-lib
libcdio taglib)
#depends+=(libimobiledevice libplist libusbmuxd libgpod libmtp phonon-qt5 vlc xine-lib) #customize deps and flags at your needs
makedepends=(git cmake boost libpulse)
optdepends=('libpulse: pulseaudio backend'
gst-plugins-bad
gst-plugins-ugly)
provides=(strawberry)
conflicts=(strawberry)
source=("git+https://github.com/jonaski/strawberry.git")
sha256sums=('SKIP')
pkgver() {
cd "${pkgname/-git/}"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
prepare() {
cd "${pkgname/-git/}"
install -d strawberry-build
}
build() {
cd "${pkgname/-git/}/strawberry-build"
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DUSE_SYSTEM_TAGLIB=ON \
-DENABLE_STREAM_DEEZER=OFF \
-DENABLE_IMOBILEDEVICE=OFF \
-DENABLE_LIBGPOD=OFF \
-DENABLE_LIBMTP=OFF \
-DENABLE_LIBLASTFM=OFF \
-DENABLE_PHONON=OFF \
-DENABLE_SPARKLE=OFF \
-DENABLE_VLC=OFF \
-DENABLE_XINE=OFF
make
}
package() {
cd "${pkgname/-git/}/strawberry-build"
make DESTDIR="${pkgdir}" install
}
|