tomahawk: unbreak for musl.
This commit is contained in:
parent
c064b6f6c1
commit
1a699ed5f2
1 changed files with 7 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'tomahawk'
|
||||
pkgname=tomahawk
|
||||
version=0.8.4
|
||||
revision=4
|
||||
revision=5
|
||||
build_style=cmake
|
||||
build_options="upower hatchet kde xmpp"
|
||||
desc_option_hatchet="Enable support for http://hatchet.is"
|
||||
|
@ -15,7 +15,7 @@ configure_args="-DBUILD_RELEASE=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 akonadi-devel"
|
||||
hostmakedepends="pkg-config akonadi-devel"
|
||||
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
|
||||
|
@ -30,6 +30,11 @@ distfiles="http://download.tomahawk-player.org/${pkgname}-${version}.tar.bz2"
|
|||
checksum=0fb04bc6b7009e17186b3d384057939727c6f289d22f7f9a5ed2c9c9cd800449
|
||||
nocross=yes
|
||||
|
||||
post_extract() {
|
||||
# fix musl build
|
||||
sed -i '41a#include <sys/user.h>' src/libtomahawk/accounts/ResolverAccount.cpp
|
||||
}
|
||||
|
||||
tomahawk-devel_package() {
|
||||
depends="tomahawk>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
|
|
Loading…
Reference in a new issue