blob: b65833e6c5f33a91c7dc3a625280ae4e81bbce1c (
plain)
1 # Description: An almost exact clone of ncmpc with some new features
2 # URL: https://rybczak.net/ncmpcpp/
3 # Maintainer: Tim Biermann, tbier at posteo dot de
4 # Depends on: boost libmpdclient
5 # Optional: mpd fftw taglib
6
7 name=ncmpcpp
8 version=0.8.2
9 release=3
10 source=(https://github.com/arybczak/$name/archive/$version/$name-$version.tar.gz
11 gcc10.patch)
12
13 build() {
14 cd $name-$version
15
16 [[ -e /usr/lib/pkgconfig/fftw3.pc ]] && PKGMK_NCMPCPP+=' --with-fftw --enable-visualizer'
17 [[ -e /usr/lib/pkgconfig/taglib.pc ]] && PKGMK_NCMPCPP+=' --with-taglib'
18 patch -Np1 -i $SRC/gcc10.patch
19 ./autogen.sh
20 ./configure $PKGMK_NCMPCPP \
21 --prefix=/usr \
22 --enable-shared='yes' \
23 --enable-static='no' \
24 --enable-fast-install='yes' \
25 --enable-clock \
26 --enable-outputs
27 make
28 make DESTDIR=$PKG install
29 rm -rf $PKG/usr/share
30 }
|