2015-03-06 00:38:01 +01:00
|
|
|
# Template file for 'clementine'
|
|
|
|
pkgname=clementine
|
2016-05-28 21:22:04 +02:00
|
|
|
version=1.3.1
|
2016-09-17 21:12:02 +02:00
|
|
|
revision=4
|
2015-03-06 00:38:01 +01:00
|
|
|
build_style=cmake
|
2015-03-16 07:35:42 +01:00
|
|
|
hostmakedepends="git cmake sparsehash pkg-config"
|
2016-05-28 21:22:04 +02:00
|
|
|
makedepends="chromaprint-devel boost-devel gst-plugins-base1-devel liblastfm-devel
|
2016-09-17 21:12:02 +02:00
|
|
|
qt-devel qt-webkit-devel glew-devel qjson-devel sqlite-devel protobuf-devel libplist-devel
|
2015-03-16 07:35:42 +01:00
|
|
|
libusbmuxd-devel libmtp-devel libcdio-devel qca-devel pulseaudio-devel glu-devel
|
2016-05-28 21:22:04 +02:00
|
|
|
taglib-devel crypto++-devel libspotify-devel libechonest-devel"
|
2015-03-16 07:35:42 +01:00
|
|
|
depends="desktop-file-utils"
|
2015-03-06 00:38:01 +01:00
|
|
|
short_desc="A modern music player and library organizer"
|
|
|
|
maintainer="Andrea Brancaleoni <miwaxe@gmail.com>"
|
|
|
|
license="GPL-3"
|
|
|
|
homepage="https://www.clementine-player.org/"
|
2015-07-27 00:16:04 +02:00
|
|
|
wrksrc="Clementine-$version"
|
|
|
|
distfiles="https://github.com/clementine-player/Clementine/archive/$version.tar.gz"
|
2016-05-28 21:22:04 +02:00
|
|
|
checksum=f885931a9ab7c88607d07b50c64fcce46fc05f13dd2c0a04188c94eff938f37c
|
2016-04-16 17:03:03 +02:00
|
|
|
patch_args="-p1"
|
2016-04-16 09:08:38 +02:00
|
|
|
nopie=yes
|
2016-05-28 21:22:04 +02:00
|
|
|
|
|
|
|
pre_configure() {
|
|
|
|
sed -i 's|AMAZON_CLOUD_DRIVE OFF|AMAZON_CLOUD_DRIVE ON|g' CMakeLists.txt
|
|
|
|
}
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
rm -r $DESTDIR/builddir
|
|
|
|
}
|
2016-05-29 10:25:13 +02:00
|
|
|
|
|
|
|
clementine-spotify_package() {
|
|
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
|
|
short_desc+=" - spotify extension"
|
|
|
|
repository="nonfree"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/bin/clementine-spotifyblob
|
|
|
|
}
|
|
|
|
}
|