system/oss: Updated for version 4.2.2005.

Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
Dugan Chen 2011-08-30 07:51:42 -03:00 committed by Niels Horn
parent 2595b403f3
commit 6c2c4eb6db
3 changed files with 15 additions and 8 deletions

View file

@ -21,3 +21,6 @@ fi
config etc/oss.conf.new config etc/oss.conf.new
config etc/rc.d/rc.oss.new config etc/rc.d/rc.oss.new
if [ -x /usr/bin/update-desktop-database ]; then
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
fi

View file

@ -5,7 +5,7 @@
# Written by Dugan Chen (dugan [underscore] c [at] fastmail [dot] fm). # Written by Dugan Chen (dugan [underscore] c [at] fastmail [dot] fm).
PRGNAM=oss PRGNAM=oss
VERSION=${VERSION:-4.2.2004} VERSION=${VERSION:-4.2.2005}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -41,7 +41,7 @@ else
LIBDIRSUFFIX="" LIBDIRSUFFIX=""
fi fi
set -e # Exit on most errors set -e
rm -rf $PKG rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT mkdir -p $TMP $PKG $OUTPUT
@ -77,12 +77,16 @@ mv $PKG/etc/oss.conf $PKG/etc/oss.conf.new
mkdir -p $PKG/etc/rc.d mkdir -p $PKG/etc/rc.d
cat $CWD/rc.oss > $PKG/etc/rc.d/rc.oss.new cat $CWD/rc.oss > $PKG/etc/rc.d/rc.oss.new
mkdir -p $PKG/usr/share/applications
cat $CWD/ossxmix.desktop > $PKG/usr/share/applications/ossxmix.desktop
mkdir -p $PKG/etc/xdg/autostart mkdir -p $PKG/etc/xdg/autostart
cat $CWD/ossxmix.desktop > $PKG/etc/xdg/autostart/ossxmix.desktop ( cd $PKG/etc/xdg/autostart
ln -sf /usr/share/applications/ossxmix.desktop .
)
# Fix location of manual pages # Fix location of manual pages
mv $PKG/usr/share/man $PKG/usr mv $PKG/usr/share/man $PKG/usr
rm -rf $PKG/usr/share
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING Changelog RELNOTES.txt $PKG/usr/doc/$PRGNAM-$VERSION cp -a COPYING Changelog RELNOTES.txt $PKG/usr/doc/$PRGNAM-$VERSION

View file

@ -1,10 +1,10 @@
PRGNAM="oss" PRGNAM="oss"
VERSION="4.2.2004" VERSION="4.2.2005"
HOMEPAGE="http://www.opensound.com" HOMEPAGE="http://www.opensound.com"
DOWNLOAD="http://www.4front-tech.com/developer/sources/stable/gpl/oss-v4.2-build2004-src-gpl.tar.bz2" DOWNLOAD="http://www.4front-tech.com/developer/sources/stable/gpl/oss-v4.2-build2005-src-gpl.tar.bz2"
MD5SUM="256aba264d523fb8ee444aaacfb8d3da" MD5SUM="964b1ec63b48b22baba6688fe2fc0633"
DOWNLOAD_x86_64="" DOWNLOAD_x86_64=""
MD5SUM_x86_64="" MD5SUM_x86_64=""
MAINTAINER="Dugan Chen" MAINTAINER="Dugan Chen"
EMAIL="dugan [underscore] c [at] fastmail [dot] fm" EMAIL="dugan [underscore] c [at] fastmail [dot] fm"
APPROVED="rworkman" APPROVED="Niels Horn"