void-packages/srcpkgs/ncmpcpp/template

29 lines
886 B
Bash

# Template file for 'ncmpcpp'
pkgname=ncmpcpp
version=0.8.2
revision=7
build_style=gnu-configure
configure_args=" BOOST_LIB_SUFFIX= --enable-clock --enable-outputs
--enable-unicode --enable-visualizer --with-curl --with-taglib --with-fftw"
hostmakedepends="pkg-config"
makedepends="boost-devel fftw-devel icu-devel libcurl-devel libmpdclient-devel
readline-devel taglib-devel"
short_desc="Ncurses mpd client inspired by ncmpc"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://ncmpcpp.rybczak.net/"
distfiles="http://ncmpcpp.rybczak.net/stable/ncmpcpp-${version}.tar.bz2"
checksum=650ba3e8089624b7ad9e4cc19bc1ac6028edb7523cc111fa1686ea44c0921554
# Required by waddwstr() with ncurses on musl
CXXFLAGS="-D_XOPEN_SOURCE=600"
pre_configure() {
sed -i '/^docdir/d' {,doc/}Makefile.in
}
post_install() {
vsconf doc/bindings
vsconf doc/config
}