2018-11-11 03:37:14 +01:00
|
|
|
# Maintainer: Jonas Kvinge <jonas@jkvinge.net>
|
|
|
|
pkgname=strawberry
|
|
|
|
pkgver=@STRAWBERRY_VERSION_PAC_V@
|
|
|
|
pkgrel=@STRAWBERRY_VERSION_PAC_R@
|
|
|
|
pkgdesc="A music player aimed at audio enthusiasts and music collectors"
|
|
|
|
arch=(x86_64)
|
|
|
|
url="http://www.strawbs.org/"
|
|
|
|
license=(GPL3)
|
2019-02-23 01:14:36 +01:00
|
|
|
makedepends=(git cmake make gcc boost gettext qt5-tools)
|
2018-11-11 03:37:14 +01:00
|
|
|
depends=(
|
|
|
|
desktop-file-utils
|
|
|
|
hicolor-icon-theme
|
|
|
|
udisks2
|
|
|
|
protobuf
|
|
|
|
qt5-base
|
|
|
|
qt5-x11extras
|
|
|
|
sqlite3
|
|
|
|
alsa-lib
|
2019-01-03 02:44:52 +01:00
|
|
|
libpulse
|
2018-11-11 03:37:14 +01:00
|
|
|
dbus
|
|
|
|
taglib
|
|
|
|
gstreamer
|
|
|
|
gst-plugins-base
|
|
|
|
gst-plugins-good
|
|
|
|
xine-lib
|
|
|
|
vlc
|
|
|
|
chromaprint
|
2019-01-03 02:44:52 +01:00
|
|
|
libgpod
|
|
|
|
libcdio
|
|
|
|
libmtp
|
|
|
|
libusbmuxd
|
|
|
|
libplist
|
|
|
|
libimobiledevice
|
2019-01-03 02:49:08 +01:00
|
|
|
phonon-qt5
|
2018-11-11 03:37:14 +01:00
|
|
|
)
|
|
|
|
optdepends=(
|
2019-01-03 02:44:52 +01:00
|
|
|
gst-plugins-bad
|
|
|
|
gst-plugins-ugly
|
|
|
|
gst-libav
|
2018-11-11 03:37:14 +01:00
|
|
|
)
|
|
|
|
provides=(strawberry)
|
|
|
|
conflicts=(strawberry)
|
2019-02-22 22:57:53 +01:00
|
|
|
source=("strawberry-@STRAWBERRY_VERSION_PACKAGE@.tar.xz")
|
2018-11-11 03:37:14 +01:00
|
|
|
sha256sums=('SKIP')
|
|
|
|
|
|
|
|
prepare() {
|
2019-02-22 22:57:53 +01:00
|
|
|
mkdir -p build
|
2018-11-11 03:37:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
2019-02-22 22:57:53 +01:00
|
|
|
cd build
|
2019-02-23 01:14:36 +01:00
|
|
|
cmake ../${pkgname}-@STRAWBERRY_VERSION_PACKAGE@ \
|
2019-01-03 02:49:08 +01:00
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr \
|
|
|
|
-DUSE_SYSTEM_TAGLIB=ON \
|
2019-02-22 22:57:53 +01:00
|
|
|
-DENABLE_PHONON=ON \
|
|
|
|
-DENABLE_TRANSLATIONS=ON
|
|
|
|
make -j$(nproc)
|
2018-11-11 03:37:14 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2019-02-22 22:57:53 +01:00
|
|
|
cd build
|
2018-11-11 03:37:14 +01:00
|
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
}
|