void-packages/srcpkgs/ncmpcpp/template

22 lines
759 B
Text

# Template file for 'ncmpcpp'
pkgname=ncmpcpp
version=0.5.10
revision=2
build_style=gnu-configure
configure_args="--with-curl --with-taglib --enable-outputs --with-fftw --enable-visualizer"
hostmakedepends="pkg-config"
makedepends="ncurses-devel libcurl-devel taglib-devel libmpdclient-devel fftw-devel"
short_desc="NCurses Music Player Client (Plus Plus)"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://ncmpcpp.rybczak.net/"
distfiles="http://ncmpcpp.rybczak.net/stable/ncmpcpp-${version}.tar.bz2"
checksum=ff6d5376a2d9caba6f5bb78e68af77cefbdb2f04cd256f738e39f8ac9a79a4a8
if [ "$CROSS_BUILD" ]; then
# XXX needs host taglib-config
hostmakedepends+=" taglib-devel"
pre_build() {
sed -e 's,-L/usr/lib,,g' -i src/Makefile
}
fi