void-packages/srcpkgs/ncmpcpp/template
2021-08-11 16:16:11 +02:00

28 lines
872 B
Bash

# Template file for 'ncmpcpp'
pkgname=ncmpcpp
version=0.9.2
revision=2
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="https://rybczak.net/ncmpcpp"
distfiles="${homepage}/stable/ncmpcpp-${version}.tar.bz2"
checksum=faabf6157c8cb1b24a059af276e162fa9f9a3b9cd3810c43b9128860c9383a1b
# 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
}