2015-01-24 21:59:15 +01:00
|
|
|
# Template file for 'tomahawk'
|
|
|
|
pkgname=tomahawk
|
2015-04-15 13:15:13 +02:00
|
|
|
version=0.8.4
|
2015-04-12 14:24:03 +02:00
|
|
|
revision=1
|
2015-01-24 21:59:15 +01:00
|
|
|
build_style=cmake
|
|
|
|
build_options="upower hatchet kde xmpp"
|
|
|
|
desc_option_hatchet="Enable support for http://hatchet.is"
|
|
|
|
desc_option_kde="Enable support for KDE"
|
|
|
|
desc_option_xmpp="Enable support for XMPP"
|
|
|
|
build_options_default=${build_options}
|
|
|
|
configure_args="-DBUILD_RELEASE=ON \
|
|
|
|
$(vopt_if hatchet '-DBUILD_HATCHET=ON' '-DBUILD_HATCHET=OFF') \
|
|
|
|
-DBUILD_WITH_QT4=ON \
|
|
|
|
-DWITH_CRASHREPORTER=OFF
|
|
|
|
$(vopt_if kde '-DWITH_KDE4=ON' '-DWITH_KDE4=OFF') \
|
|
|
|
$(vopt_if upower '-DWITH_UPOWER=ON' '-DWITH_UPOWER=OFF')"
|
|
|
|
hostmakedepends="cmake pkg-config"
|
|
|
|
makedepends="boost-devel qt-devel qjson-devel taglib-devel sparsehash gnutls-devel
|
|
|
|
qca-devel Lucene++-devel attica-devel quazip-devel qtkeychain-devel
|
2015-03-27 10:50:40 +01:00
|
|
|
phonon-devel liblastfm-devel libechonest-devel libressl-devel
|
2015-01-24 21:59:15 +01:00
|
|
|
$(vopt_if hatchet websocketpp) $(vopt_if xmpp jreen-devel)
|
|
|
|
$(vopt_if kde kde-baseapps-devel) $(vopt_if kde telepathy-qt-devel)"
|
|
|
|
depends="virtual?phonon-backend qt-plugin-sqlite $(vopt_if xmpp qca-ossl)"
|
|
|
|
short_desc="Multi-source social music player"
|
|
|
|
maintainer="Duncan Overbruck <mail@duncano.de>"
|
|
|
|
license="GPL-3"
|
|
|
|
homepage="http://tomahawk-player.org/"
|
|
|
|
distfiles="http://download.tomahawk-player.org/${pkgname}-${version}.tar.bz2"
|
2015-04-15 13:15:13 +02:00
|
|
|
checksum=0fb04bc6b7009e17186b3d384057939727c6f289d22f7f9a5ed2c9c9cd800449
|
|
|
|
nocross=yes
|
2015-01-24 21:59:15 +01:00
|
|
|
|
|
|
|
tomahawk-devel_package() {
|
|
|
|
depends="tomahawk>=${version}_${revision}"
|
|
|
|
short_desc+=" - development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/cmake
|
|
|
|
}
|
|
|
|
}
|