summaryrefslogtreecommitdiffstats
path: root/audio/kradio
diff options
context:
space:
mode:
author Matteo Bernardini2020-12-12 09:56:11 +0100
committer Robby Workman2021-04-18 06:34:48 +0200
commit0de0aab5de7fe552c55170690d5973bb53012cf0 (patch)
tree553d698a4a47b2084d5f967d38792f9c0e82ab6f /audio/kradio
parent2353e1f7939ab3f46ad3a61be9482024de64f2a2 (diff)
downloadslackbuilds-0de0aab5de7fe552c55170690d5973bb53012cf0.tar.gz
audio/kradio: Updated for version 5.0.0_beta1.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'audio/kradio')
-rw-r--r--audio/kradio/README2
-rw-r--r--audio/kradio/kradio.SlackBuild18
-rw-r--r--audio/kradio/kradio.info6
3 files changed, 13 insertions, 13 deletions
diff --git a/audio/kradio/README b/audio/kradio/README
index 1d2fb5115b..0bdad04e08 100644
--- a/audio/kradio/README
+++ b/audio/kradio/README
@@ -2,4 +2,4 @@ KRadio is a comfortable KDE4/Linux internet and AM/FM radio application.
You need to configure ALSA correctly for this to work.
-Optional dependencies: lame and lirc
+Optional dependency: lirc
diff --git a/audio/kradio/kradio.SlackBuild b/audio/kradio/kradio.SlackBuild
index 50ed5f7e92..36e402c250 100644
--- a/audio/kradio/kradio.SlackBuild
+++ b/audio/kradio/kradio.SlackBuild
@@ -24,14 +24,14 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=kradio
-SRCNAM=kradio4
-VERSION=${VERSION:-4.0.8}
+VERSION=${VERSION:-5.0.0_beta1}
+SRCVER=$(echo $VERSION | tr _ - )
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -42,8 +42,8 @@ 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"
@@ -61,9 +61,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.bz2
-cd $SRCNAM-$VERSION
+rm -rf ${PRGNAM}5-$SRCVER
+tar xvf $CWD/${PRGNAM}5-$SRCVER.tar.bz2
+cd ${PRGNAM}5-$SRCVER
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -92,7 +92,7 @@ install -m 0644 debian/*.1 $PKG/usr/man/man1
gzip -9 $PKG/usr/man/man1/*.?
mkdir -p $PKG/usr/doc
-mv $PKG/usr/share/doc/kradio4 $PKG/usr/doc/$PRGNAM-$VERSION
+mv $PKG/usr/share/doc/${PRGNAM}5 $PKG/usr/doc/$PRGNAM-$VERSION
rm -rf $PKG/usr/share/doc
cp -a dot-lircrc.example $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
diff --git a/audio/kradio/kradio.info b/audio/kradio/kradio.info
index b0228b91ae..348414b139 100644
--- a/audio/kradio/kradio.info
+++ b/audio/kradio/kradio.info
@@ -1,8 +1,8 @@
PRGNAM="kradio"
-VERSION="4.0.8"
+VERSION="5.0.0_beta1"
HOMEPAGE="http://kradio.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/kradio/kradio4-4.0.8.tar.bz2"
-MD5SUM="35915b48c15a11b7a5085cee66bcaedf"
+DOWNLOAD="http://downloads.sourceforge.net/kradio/kradio5-5.0.0-beta1.tar.bz2"
+MD5SUM="37cdd8275e78762a41cde2adf38e6296"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ffmpeg libmms"