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
|
2020-04-05 19:40:46 +00:00
|
|
|
# Depends on: boost libmpdclient
|
|
|
|
# Optional: mpd fftw taglib
|
2019-12-29 13:32:28 +01:00
|
|
|
|
|
|
|
name=ncmpcpp
|
|
|
|
version=0.8.2
|
2020-10-16 21:22:25 +00:00
|
|
|
release=3
|
|
|
|
source=(https://github.com/arybczak/$name/archive/$version/$name-$version.tar.gz
|
|
|
|
gcc10.patch)
|
2019-12-29 13:32:28 +01:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd $name-$version
|
2020-04-05 19:40:46 +00:00
|
|
|
|
|
|
|
[[ -e /usr/lib/pkgconfig/fftw3.pc ]] && PKGMK_NCMPCPP+=' --with-fftw --enable-visualizer'
|
|
|
|
[[ -e /usr/lib/pkgconfig/taglib.pc ]] && PKGMK_NCMPCPP+=' --with-taglib'
|
2020-10-16 21:22:25 +00:00
|
|
|
patch -Np1 -i $SRC/gcc10.patch
|
2019-12-29 13:32:28 +01:00
|
|
|
./autogen.sh
|
2020-04-05 19:40:46 +00:00
|
|
|
./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 \
|
2020-04-05 19:40:46 +00:00
|
|
|
--enable-outputs
|
2019-12-29 13:32:28 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -rf $PKG/usr/share
|
|
|
|
}
|