void-packages/srcpkgs/ncmpcpp/template

29 lines
878 B
Bash

# Template file for 'ncmpcpp'
pkgname=ncmpcpp
version=0.9.2
revision=3
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="cinerea0 <cinerea0@protonmail.com>"
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 -e '/^docdir/d' -i {,doc/}Makefile.in
}
post_install() {
vsconf doc/bindings
vsconf doc/config
}