31 lines
938 B
Plaintext
31 lines
938 B
Plaintext
# Description: GTK audio player
|
|
# URL: http://deadbeef.sf.net
|
|
# Maintainer: John McQuah, jmcquah at disroot dot org
|
|
# Depends on: alsa-lib gtk3 jansson libdispatch libmad yasm
|
|
# Nice to have: cdparanoia libcdio libsndfile libsamplerate mpg123 flac libogg libvorbis faad2 wildmidi dbus pulseaudio wavpack libzip
|
|
|
|
name=deadbeef
|
|
version=1.9.4
|
|
release=1
|
|
source=(https://sourceforge.net/projects/$name/files/travis/linux/$version/$name-$version.tar.bz2 dbq)
|
|
|
|
build() {
|
|
cd $name-$version
|
|
|
|
PKGMK_DEADBEEF="--disable-gtk2 --disable-nls --prefix=/usr --docdir=/usr/share/$name/doc"
|
|
CC=clang CXX=clang++ ./configure $PKGMK_DEADBEEF
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
|
|
# clean up footprint
|
|
find $PKG/usr/lib -name "*.la" -delete
|
|
rm -f $PKG/usr/share/$name/doc/{COPYING,ChangeLog,README}*
|
|
|
|
# provide a plugin for nnn
|
|
if prt-get isinst nnn; then
|
|
mkdir -p $PKG/usr/share/nnn/plugins
|
|
install -m 0755 $SRC/dbq $PKG/usr/share/nnn/plugins
|
|
fi
|
|
}
|