diff options
Diffstat (limited to 'audio/deadbeef')
-rw-r--r-- | audio/deadbeef/README | 26 | ||||
-rw-r--r-- | audio/deadbeef/deadbeef.SlackBuild | 48 | ||||
-rw-r--r-- | audio/deadbeef/deadbeef.info | 12 |
3 files changed, 55 insertions, 31 deletions
diff --git a/audio/deadbeef/README b/audio/deadbeef/README index 318bd1ec8c..671989f1a6 100644 --- a/audio/deadbeef/README +++ b/audio/deadbeef/README @@ -1,28 +1,26 @@ DeaDBeeF (as in 0xDEADBEEF) is an audio player for GNU/Linux systems -with X11 (though now it also runs in plain console without X, in FreeBSD, -and in OpenSolaris). +with X11 (though now it also runs in plain console without X, in +FreeBSD, and in OpenSolaris). Main features: -* mp3, ogg vorbis, flac, ape, wv, wav, m4a, mpc, cd audio (and many more) +* mp3, ogg, flac, ape, wv, wav, m4a, mpc, cd audio (and many more) * sid, nsf and lots of other popular chiptune formats * ID3v1, ID3v2.2, ID3v2.3, ID3v2.4, APEv2, xing/info tags support -* character set detection for non-unicode id3 tags - supports cp1251 and +* character set detection for non-unicode id3 tags, supports cp1251 and iso8859-1 * unicode tags are fully supported as well (both utf8 and ucs2) -* cuesheet (.cue files) support, with charset detection (utf8/cp1251/iso8859-1) +* cuesheet (.cue files) support, with charset detection * tracker modules like mod, s3m, it, xm, etc * HVSC song length database support for sid * gtk2 interface with efficient custom widgets * no GNOME or KDE dependencies * minimize to tray, with scrollwheel volume control -* drag and drop, both inside of playlist, and from filemanagers and such +* drag and drop, both inside of playlist, and from filemanagers/etc * control playback from command line * global hotkeys -* plugin support; bundled with lots of plugins, such as global hotkeys and - last.fm scrobbler; sdk is included -* duration calculation is as precise as possible for vbr mp3 files (with and - without xing/info tags) -* was tested and works on x86, x86_64 and ppc64 architectures. should work on - most modern platforms - -ffmpeg is an optional dependency for deadbeef. +* plugin support; bundled with lots of plugins, such as global hotkeys + and last.fm scrobbler; sdk is included +* duration calculation is as precise as possible for vbr mp3 files (with + and without xing/info tags) +* was tested and works on x86, x86_64 and ppc64 architectures. should + work on most modern platforms diff --git a/audio/deadbeef/deadbeef.SlackBuild b/audio/deadbeef/deadbeef.SlackBuild index 29a0a75b69..544b0cf46e 100644 --- a/audio/deadbeef/deadbeef.SlackBuild +++ b/audio/deadbeef/deadbeef.SlackBuild @@ -1,4 +1,4 @@ -#!/bin/sh +#!/bin/bash # Slackware build script for deadbeef # @@ -22,27 +22,38 @@ # OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20230204 bkw: Modified by SlackBuilds.org, BUILD=2: +# - remove 0-byte NEWS and generic gnu INSTALL from doc dir. +# 20220323 bkw: Modified by SlackBuilds.org: fix 32-bit build. + +cd $(dirname $0) ; CWD=$(pwd) + PRGNAM=deadbeef -VERSION=${VERSION:-1.8.1} +VERSION=${VERSION:-1.9.5} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} +PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -CWD=$(pwd) +if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then + echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" + exit 0 +fi + TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -66,9 +77,21 @@ cd $PRGNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ - -o -perm 511 \) -exec chmod 755 {} \; -o \ + -o -perm 511 \) -exec chmod 755 {} \+ -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+ + +export CC=${CC:-clang} +export CXX=${CXX:-clang++} + +# 20220323 bkw: the configure script always adds this anyway, if the +# compiler supports it. trouble is, it doesn't properly pass it to +# the subprojects it builds, specifically soundtouch, which makes the +# build fail. putting it in our flags fixes it. +# Note: if you're on an older CPU that really doesn't support SSE2, +# deadbeef will likely compile and fail to run (Illegal instruction). +# Me adding -msse2 here doesn't change that, for better or worse. +SLKCFLAGS+=" -msse2" CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ @@ -80,14 +103,17 @@ CXXFLAGS="$SLKCFLAGS" \ --disable-gtk2 \ --build=$ARCH-slackware-linux -make +make V=1 make install DESTDIR=$PKG find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +# Don't ship .la files: +rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING.* ChangeLog INSTALL NEWS $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING.* ChangeLog $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install @@ -95,4 +121,4 @@ cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/doinst.sh > $PKG/install/doinst.sh cd $PKG -/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz} +/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE diff --git a/audio/deadbeef/deadbeef.info b/audio/deadbeef/deadbeef.info index fcac4b478a..8af23ad256 100644 --- a/audio/deadbeef/deadbeef.info +++ b/audio/deadbeef/deadbeef.info @@ -1,10 +1,10 @@ PRGNAM="deadbeef" -VERSION="1.8.1" -HOMEPAGE="http://deadbeef.sourceforge.net" -DOWNLOAD="http://downloads.sourceforge.net/deadbeef/deadbeef-1.8.1.tar.bz2" -MD5SUM="9c087836aa67b7bc7a873e312b04ce24" +VERSION="1.9.5" +HOMEPAGE="https://deadbeef.sourceforge.io" +DOWNLOAD="https://downloads.sourceforge.net/deadbeef/deadbeef-1.9.5.tar.bz2" +MD5SUM="5ba1e22a8dc5ff87fcb97e3835dc9b2b" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="jansson" +REQUIRES="libdispatch" MAINTAINER="Ruoh-Shoei Lin" -EMAIL="lin.ruohshoei@gmail.com" +EMAIL="lin.ruohshoei+sbo at gmail.com" |