void-packages/srcpkgs/clementine/template

39 lines
1.3 KiB
Bash
Raw Normal View History

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
revision=4
2015-03-06 00:38:01 +01:00
build_style=cmake
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
qt-devel qt-webkit-devel glew-devel qjson-devel sqlite-devel protobuf-devel libplist-devel
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"
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
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
2016-10-21 13:03:09 +02:00
sed -i 's;if (fs == NULL);if (!fs);' 3rdparty/libprojectm/MilkdropPresetFactory/Parser.cpp
2016-05-28 21:22:04 +02:00
}
post_install() {
rm -r $DESTDIR/builddir
}
clementine-spotify_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - spotify extension"
repository="nonfree"
pkg_install() {
vmove usr/bin/clementine-spotifyblob
}
}