void-packages/srcpkgs/ncmpcpp/template
2020-12-22 00:49:49 -03:00

28 lines
885 B
Bash

# Template file for 'ncmpcpp'
pkgname=ncmpcpp
version=0.9
revision=1
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="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://ncmpcpp.rybczak.net/"
distfiles="http://ncmpcpp.rybczak.net/stable/ncmpcpp-${version}.tar.bz2"
checksum=4148687f481b8eb016aa5889f74b4ae8871920d46c0a6c004a9ede140d2f1667
# Required by waddwstr() with ncurses on musl
CXXFLAGS="-D_XOPEN_SOURCE=600"
pre_configure() {
vsed -i '/^docdir/d' {,doc/}Makefile.in
}
post_install() {
vsconf doc/bindings
vsconf doc/config
}