33 lines
812 B
Plaintext
33 lines
812 B
Plaintext
# Description: An almost exact clone of ncmpc with some new features
|
|
# URL: https://rybczak.net/ncmpcpp/
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: boost libmpdclient
|
|
# Optional: mpd fftw taglib
|
|
|
|
name=ncmpcpp
|
|
version=0.9.2
|
|
release=2
|
|
source=(https://github.com/arybczak/$name/archive/$version/$name-$version.tar.gz
|
|
taglib.patch)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
prt-get isinst fftw && PKGMK_NCMPCPP+=' --with-fftw --enable-visualizer'
|
|
prt-get isinst taglib && PKGMK_NCMPCPP+=' --with-taglib'
|
|
|
|
patch -Np1 -i $SRC/taglib.patch
|
|
|
|
./autogen.sh
|
|
./configure $PKGMK_NCMPCPP \
|
|
--prefix=/usr \
|
|
--enable-shared='yes' \
|
|
--enable-static='no' \
|
|
--enable-fast-install='yes' \
|
|
--enable-clock \
|
|
--enable-outputs
|
|
make
|
|
make DESTDIR=$PKG install
|
|
rm -rf $PKG/usr/share
|
|
}
|