diff --git a/srcpkgs/tomahawk-qt5-devel b/srcpkgs/tomahawk-qt5-devel new file mode 120000 index 00000000000..9bb91079021 --- /dev/null +++ b/srcpkgs/tomahawk-qt5-devel @@ -0,0 +1 @@ +tomahawk-qt5 \ No newline at end of file diff --git a/srcpkgs/tomahawk-qt5/template b/srcpkgs/tomahawk-qt5/template new file mode 100644 index 00000000000..6c82d507c6d --- /dev/null +++ b/srcpkgs/tomahawk-qt5/template @@ -0,0 +1,40 @@ +# Template file for 'tomahawk' +pkgname=tomahawk-qt5 +version=0.8.4 +revision=1 +wrksrc=${pkgname%-*}-${version} +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=OFF \ + -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 Lucene++-devel qt5-devel taglib-devel sparsehash + gnutls-devel qt5-webkit-devel qca-qt5-devel attica-qt5-devel qtkeychain-qt5-devel + qt5-svg-devel qt5-tools-devel phonon-qt5-devel liblastfm-qt5-devel quazip-qt5-devel + libechonest-qt5-devel libressl-devel $(vopt_if hatchet websocketpp) + $(vopt_if xmpp jreen-qt5-devel) $(vopt_if kde telepathy-qt5-devel)" +depends="virtual?phonon-backend qt5-plugin-sqlite $(vopt_if xmpp qca-qt5-ossl) + qca-qt5 quazip-qt5" +short_desc="Multi-source social music player" +maintainer="Duncaen " +license="GPL-3" +homepage="http://tomahawk-player.org/" +distfiles="http://download.tomahawk-player.org/${pkgname%-*}-${version}.tar.bz2" +checksum=0fb04bc6b7009e17186b3d384057939727c6f289d22f7f9a5ed2c9c9cd800449 + +tomahawk-qt5-devel_package() { + depends="tomahawk-qt5>=${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/cmake + } +}