void-packages/srcpkgs/tomahawk/template
2015-04-15 13:15:26 +02:00

39 lines
1.5 KiB
Bash

# Template file for 'tomahawk'
pkgname=tomahawk
version=0.8.4
revision=1
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
phonon-devel liblastfm-devel libechonest-devel libressl-devel
$(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"
checksum=0fb04bc6b7009e17186b3d384057939727c6f289d22f7f9a5ed2c9c9cd800449
nocross=yes
tomahawk-devel_package() {
depends="tomahawk>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
}
}