void-packages/srcpkgs/tomahawk/template

39 lines
1.5 KiB
Bash
Raw Normal View History

# Template file for 'tomahawk'
pkgname=tomahawk
2015-04-12 14:24:03 +02:00
version=0.8.3
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"
2015-04-12 14:24:03 +02:00
checksum=920ba0c2247559281e37c7e18980d87addfd817ba7eaa6360d548e17049e5f4e
tomahawk-devel_package() {
depends="tomahawk>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/cmake
}
}