diff --git a/REPO b/REPO index ac5c0c8..5f79029 100644 --- a/REPO +++ b/REPO @@ -155,11 +155,10 @@ f:ec97a379952ab64db4f9ec2963df540f:fortune-mod/.footprint f:dcf2aacf2f920c82065d8ad69a5dc5a1:ncdu/.signature f:b24e9760dfcf2db4973ff704ef46cc1e:ncdu/Pkgfile f:3765586fe37e9002a781bae8f35a9bc6:ncdu/.footprint -f:3647bf31ba5888ab5c8693305de43678:deadbeef/README -f:69d2b3ee4115210973b751ace6c87fa9:deadbeef/.signature -f:381c78ac9a003a407a639039ba605a10:deadbeef/Pkgfile +f:612d2d60e4eeac4c6275b2cf011b0f37:deadbeef/.signature +f:4e4b24a9b0872c169f4baf18fe44937d:deadbeef/Pkgfile f:4233ffe08caeac54a7bb9416057c3ccb:deadbeef/dbq -f:10e8e5ddb7e0e4550a3a6160a28a6d12:deadbeef/.footprint +f:b90d579de47886b904cb8f61c408d0e4:deadbeef/.footprint f:feb95f23feae970ff0e461920d595b56:octave/.signature f:e712622f792c86d0f6b6ad8b9532af0f:octave/Pkgfile f:7765db3b31e41ad01cb469249b659bd6:octave/.footprint diff --git a/deadbeef/.footprint b/deadbeef/.footprint index 3c7fe2d..81ec653 100644 --- a/deadbeef/.footprint +++ b/deadbeef/.footprint @@ -9,7 +9,6 @@ drwxr-xr-x root/root usr/include/deadbeef/ -rw-r--r-- root/root usr/include/deadbeef/gtkui_api.h drwxr-xr-x root/root usr/lib/ drwxr-xr-x root/root usr/lib/deadbeef/ --rwxr-xr-x root/root usr/lib/deadbeef/adplug.so -rwxr-xr-x root/root usr/lib/deadbeef/alac.so -rwxr-xr-x root/root usr/lib/deadbeef/alsa.so -rwxr-xr-x root/root usr/lib/deadbeef/artwork.so diff --git a/deadbeef/.signature b/deadbeef/.signature index 430e1e4..ea02295 100644 --- a/deadbeef/.signature +++ b/deadbeef/.signature @@ -1,6 +1,6 @@ untrusted comment: verify with /etc/ports/jmq.pub -RWTTPlFarK9CxA7QSRilBc5tBEf/Ip3xbLdS0btYMVdO6Yep5M66PFk5LJC05XRoihZ3aXqq9k8Df1Vpf2cIeiKx2zkaZOa/jQ0= -SHA256 (Pkgfile) = 5f782ab521ee7cd457603eea6b30ce71fb04b195ea6d619d3a13ff48b7eaa059 -SHA256 (.footprint) = f8f89b266544d0bc2173209cfcd5a1e64e5d4c644a568911a682db08d77120ce +RWTTPlFarK9CxP6Rsy/GgV+tQXuulXODmxi8pD+dhl75rusjA8j2THT5IauAotZlq1PVQSDMAeNe2vh+AunA2S+b+JKc+MJRAQY= +SHA256 (Pkgfile) = 8cff64f3bdff27acf26e10af7f495fae627db682a765a117dee8204257ad3f11 +SHA256 (.footprint) = 0f021680b933138593c3456c881e567d188cea63a8238828f7bc8f0ff5186f95 SHA256 (deadbeef-1.9.5.tar.bz2) = 74c4478edccfee8a978d4adbeeb208f049bef63982f4df19ee208aaad8a6cd26 SHA256 (dbq) = 9a30884403429b68ac00266b4b0aa92d7d643a4185be9802759b14d07ea46fa3 diff --git a/deadbeef/Pkgfile b/deadbeef/Pkgfile index aa7d322..e9750e6 100644 --- a/deadbeef/Pkgfile +++ b/deadbeef/Pkgfile @@ -2,7 +2,7 @@ # URL: http://deadbeef.sourceforge.io # Maintainer: John McQuah, jmcquah at disroot dot org # 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 +# Optional: cdparanoia libcdio libsndfile libsamplerate mpg123 flac libogg libvorbis faad2 wildmidi dbus opusfile pulseaudio pipewire wavpack libzip name=deadbeef version=1.9.5 @@ -10,21 +10,28 @@ release=1 source=(https://sourceforge.net/projects/$name/files/travis/linux/$version/$name-$version.tar.bz2 dbq) build() { - cd $name-$version + cd $name-$version - PKGMK_DEADBEEF="--disable-gtk2 --disable-nls --prefix=/usr --docdir=/usr/share/$name/doc" - CC=clang CXX=clang++ ./configure $PKGMK_DEADBEEF + PKGMK_DEADBEEF=(--disable-gtk2 + --disable-nls + --disable-adplug + --prefix=/usr + --docdir=/usr/share/$name/doc) - make - make DESTDIR=$PKG install + prt-get isinst pulseaudio || PKGMK_DEADBEEF+=(--disable-pulse) + prt-get isinst pipewire || PKGMK_DEADBEEF+=(--disable-pipewire) + prt-get isinst opusfile || PKGMK_DEADBEEF+=(--disable-opus) + prt-get isinst wildmidi || PKGMK_DEADBEEF+=(--disable-wildmidi) - # clean up footprint - find $PKG/usr/lib -name "*.la" -delete - rm -f $PKG/usr/share/$name/doc/{COPYING,ChangeLog,README}* + CC=clang CXX=clang++ ./configure ${PKGMK_DEADBEEF[@]} - # 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 + 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 + prt-get isinst nnn && install -Dt $PKG/usr/share/nnn/plugins -m 0755 $SRC/dbq } diff --git a/deadbeef/README b/deadbeef/README deleted file mode 100644 index e9a178c..0000000 --- a/deadbeef/README +++ /dev/null @@ -1,3 +0,0 @@ -To enable the opus decoder plugin, you need to have opusfile installed; -opus by itself is not enough. An opusfile port is available in this -repository.