audio/deadbeef: README fixage (from XGizzmo)

* Note deps in README
  * Increment BUILD
  * Fixup docs installation
  * Add doinst.sh
This commit is contained in:
Robby Workman 2010-02-22 22:44:00 -06:00 committed by Heinz Wiesinger
parent 005f8c622a
commit d1a21e7faf
3 changed files with 21 additions and 14 deletions

View file

@ -1,21 +1,15 @@
DeaDBeeF (as in 0xDEADBEEF) is an audio player for GNU/Linux systems with X11 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).
Main features: Main features:
* mp3, ogg vorbis, flac, ape, wv, wav, m4a, mpc, cd audio (and many more). * mp3, ogg vorbis, flac, ape, wv, wav, m4a, mpc, cd audio (and many more).
* sid, nsf and lots of other popular chiptune formats. * sid, nsf and lots of other popular chiptune formats.
* ID3v1, ID3v2.2, ID3v2.3, ID3v2.4, APEv2, xing/info tags support. * ID3v1, ID3v2.2, ID3v2.3, ID3v2.4, APEv2, xing/info tags support.
* character set detection for non-unicode id3 tags - supports cp1251 * character set detection for non-unicode id3 tags
and iso8859-1.
* unicode tags are fully supported as well (both utf8 and ucs2). * unicode tags are fully supported as well (both utf8 and ucs2).
* cuesheet (.cue files) support, with charset detection * cuesheet (.cue files) support, with charset detection
(utf8/cp1251/iso8859-1).
* tracker modules like mod, s3m, it, xm, etc. * tracker modules like mod, s3m, it, xm, etc.
* HVSC song length database support for sid. * HVSC song length database support for sid.
* gtk2 interface with efficient custom widgets. * gtk2 interface with efficient custom widgets; no GNOME or KDE dependencies.
* no GNOME or KDE dependencies.
* minimize to tray, with scrollwheel volume control. * 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 and such.
* control playback from command line. * control playback from command line.
@ -26,3 +20,7 @@ Main features:
and without xing/info tags). and without xing/info tags).
* was tested and works on x86, x86_64 and ppc64 architectures. should work * was tested and works on x86, x86_64 and ppc64 architectures. should work
on most modern platforms. 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

View file

@ -25,7 +25,7 @@
PRGNAM=deadbeef PRGNAM=deadbeef
VERSION=0.3.3 VERSION=0.3.3
ARCH=${ARCH:-i486} ARCH=${ARCH:-i486}
BUILD=${BUILD:-1} BUILD=${BUILD:-2}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
CWD=$(pwd) CWD=$(pwd)
@ -61,6 +61,7 @@ CXXFLAGS="$SLKCFLAGS" \
./configure \ ./configure \
--prefix=/usr \ --prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \ --libdir=/usr/lib${LIBDIRSUFFIX} \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--enable-shared \ --enable-shared \
--build=$ARCH-slackware-linux --build=$ARCH-slackware-linux
@ -74,14 +75,12 @@ make install DESTDIR=$PKG
xargs strip --strip-unneeded 2> /dev/null || true xargs strip --strip-unneeded 2> /dev/null || true
) )
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS $PKG/usr/doc/$PRGNAM-$VERSION
cp -a \
AUTHORS COPYING.* ChangeLog INSTALL NEWS README \
$PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc cat $CWD/slack-desc > $PKG/install/slack-desc
cat $CWD/doinst.sh > $PKG/install/doinst.sh
cd $PKG 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:-tgz}

10
audio/deadbeef/doinst.sh Normal file
View file

@ -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