summaryrefslogtreecommitdiff
path: root/audio/deadbeef
diff options
context:
space:
mode:
authorRobby Workman <rworkman@slackware.com>2010-02-22 22:44:00 -0600
committerHeinz Wiesinger <pprkut@slackbuilds.org>2010-05-13 13:22:04 +0200
commitd1a21e7faf6ffd22d15c375ee3c118b912d9a0c4 (patch)
treef7abfe77bfe2c2372299f18ea0fdd4f27a9b89d2 /audio/deadbeef
parent005f8c622ae88470b871ec29cca3c591e04dbd12 (diff)
downloadslackbuilds-d1a21e7faf6ffd22d15c375ee3c118b912d9a0c4.tar.gz
audio/deadbeef: README fixage (from XGizzmo)
* Note deps in README * Increment BUILD * Fixup docs installation * Add doinst.sh
Diffstat (limited to 'audio/deadbeef')
-rw-r--r--audio/deadbeef/README16
-rw-r--r--audio/deadbeef/deadbeef.SlackBuild9
-rw-r--r--audio/deadbeef/doinst.sh10
3 files changed, 21 insertions, 14 deletions
diff --git a/audio/deadbeef/README b/audio/deadbeef/README
index dc06c6f3ef..b8a929b045 100644
--- a/audio/deadbeef/README
+++ b/audio/deadbeef/README
@@ -1,21 +1,15 @@
-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).
+DeaDBeeF (as in 0xDEADBEEF) is an audio player for GNU/Linux systems with X11.
Main features:
-
* mp3, ogg vorbis, 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 iso8859-1.
+* character set detection for non-unicode id3 tags
* unicode tags are fully supported as well (both utf8 and ucs2).
* cuesheet (.cue files) support, with charset detection
- (utf8/cp1251/iso8859-1).
* 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.
+* 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.
* control playback from command line.
@@ -26,3 +20,7 @@ Main features:
and without xing/info tags).
* was tested and works on x86, x86_64 and ppc64 architectures. should work
on most modern platforms.
+
+This requires libsamplerate, and all of the following are optional:
+amrnb, amrwb, dirac, faac, faad2, ffmpeg, lame, libsndfile, openjpeg,
+schroedinger, speex, x264, xvidcore
diff --git a/audio/deadbeef/deadbeef.SlackBuild b/audio/deadbeef/deadbeef.SlackBuild
index 8a5688aedd..b1caf9c7b3 100644
--- a/audio/deadbeef/deadbeef.SlackBuild
+++ b/audio/deadbeef/deadbeef.SlackBuild
@@ -25,7 +25,7 @@
PRGNAM=deadbeef
VERSION=0.3.3
ARCH=${ARCH:-i486}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
CWD=$(pwd)
@@ -61,6 +61,7 @@ CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
+ --docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-shared \
--build=$ARCH-slackware-linux
@@ -74,14 +75,12 @@ make install DESTDIR=$PKG
xargs strip --strip-unneeded 2> /dev/null || true
)
-mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a \
- AUTHORS COPYING.* ChangeLog INSTALL NEWS README \
- $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
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}
diff --git a/audio/deadbeef/doinst.sh b/audio/deadbeef/doinst.sh
new file mode 100644
index 0000000000..1f8ff67ded
--- /dev/null
+++ b/audio/deadbeef/doinst.sh
@@ -0,0 +1,10 @@
+if [ -x /usr/bin/update-desktop-database ]; then
+ /usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
+fi
+
+if [ -e usr/share/icons/hicolor/icon-theme.cache ]; then
+ if [ -x /usr/bin/gtk-update-icon-cache ]; then
+ /usr/bin/gtk-update-icon-cache usr/share/icons/hicolor >/dev/null 2>&1
+ fi
+fi
+