mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-21 19:42:24 +01:00
audio/deadbeef: README fixage (from XGizzmo)
* Note deps in README * Increment BUILD * Fixup docs installation * Add doinst.sh
This commit is contained in:
parent
005f8c622a
commit
d1a21e7faf
3 changed files with 21 additions and 14 deletions
|
@ -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
|
||||
|
|
|
@ -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}
|
||||
|
|
10
audio/deadbeef/doinst.sh
Normal file
10
audio/deadbeef/doinst.sh
Normal 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
|
||||
|
Loading…
Reference in a new issue