contrib/ncmpcpp/Pkgfile

33 lines
812 B
Plaintext
Raw Normal View History

2019-12-29 13:32:28 +01:00
# 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
2019-12-29 13:32:28 +01:00
name=ncmpcpp
2021-01-26 11:07:44 +01:00
version=0.9.2
2022-12-17 15:17:15 +01:00
release=2
2024-01-28 16:19:09 +01:00
source=(https://github.com/arybczak/$name/archive/$version/$name-$version.tar.gz
taglib.patch)
2019-12-29 13:32:28 +01:00
build() {
cd $name-$version
2024-01-28 16:19:09 +01:00
prt-get isinst fftw && PKGMK_NCMPCPP+=' --with-fftw --enable-visualizer'
prt-get isinst taglib && PKGMK_NCMPCPP+=' --with-taglib'
patch -Np1 -i $SRC/taglib.patch
2019-12-29 13:32:28 +01:00
./autogen.sh
./configure $PKGMK_NCMPCPP \
2019-12-29 13:32:28 +01:00
--prefix=/usr \
--enable-shared='yes' \
--enable-static='no' \
--enable-fast-install='yes' \
--enable-clock \
--enable-outputs
2019-12-29 13:32:28 +01:00
make
make DESTDIR=$PKG install
rm -rf $PKG/usr/share
}