38 lines
1.5 KiB
Text
38 lines
1.5 KiB
Text
# Template file for 'tomahawk'
|
|
pkgname=tomahawk
|
|
version=0.8.2
|
|
revision=2
|
|
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>=2.1.4
|
|
$(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=522d2ef873f8548990ac1fc736c11dd08c347687c77d63b520f55207f19db3ae
|
|
|
|
tomahawk-devel_package() {
|
|
depends="tomahawk>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/cmake
|
|
}
|
|
}
|