cruxports/deadbeef/Pkgfile

31 lines
951 B
Plaintext
Raw Normal View History

2022-02-26 19:04:55 +00:00
# Description: GTK audio player
2023-02-11 13:42:07 +00:00
# URL: http://deadbeef.sourceforge.io
2022-02-26 19:04:55 +00:00
# Maintainer: John McQuah, jmcquah at disroot dot org
2023-02-05 18:42:48 +00:00
# Depends on: alsa-lib gtk3 jansson libdispatch libmad yasm
# Optional: cdparanoia libcdio libsndfile libsamplerate mpg123 flac libogg libvorbis faad2 wildmidi dbus pulseaudio pipewire wavpack libzip
2022-02-26 19:04:55 +00:00
name=deadbeef
version=1.9.5
2022-02-26 19:04:55 +00:00
release=1
source=(https://sourceforge.net/projects/$name/files/travis/linux/$version/$name-$version.tar.bz2 dbq)
build() {
cd $name-$version
2022-11-13 18:20:31 +00:00
PKGMK_DEADBEEF="--disable-gtk2 --disable-nls --prefix=/usr --docdir=/usr/share/$name/doc"
2022-10-07 23:41:17 +00:00
CC=clang CXX=clang++ ./configure $PKGMK_DEADBEEF
2022-02-26 19:04:55 +00:00
make
make DESTDIR=$PKG install
# clean up footprint
2023-02-05 18:40:21 +00:00
find $PKG/usr/lib -name "*.la" -delete
2022-10-07 23:41:17 +00:00
rm -f $PKG/usr/share/$name/doc/{COPYING,ChangeLog,README}*
2022-02-26 19:04:55 +00:00
# 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
}