summaryrefslogtreecommitdiff
path: root/audio/kradio
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-13 07:23:08 +0200
committerRobby Workman <rworkman@slackbuilds.org>2012-09-13 17:58:11 -0500
commit4cb9edb03928e29475a8e49276b0b800bbc77613 (patch)
tree15d0204397f20d72b098f51c41556a0a2deff676 /audio/kradio
parent085fc4cb823d1b0de05afdf2b0f5f279851c6486 (diff)
downloadslackbuilds-4cb9edb03928e29475a8e49276b0b800bbc77613.tar.gz
audio/kradio: Updated for version 4.0.6.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'audio/kradio')
-rw-r--r--audio/kradio/kradio-4.0.2-ffmpeg08.patch11
-rw-r--r--audio/kradio/kradio.SlackBuild7
-rw-r--r--audio/kradio/kradio.info6
3 files changed, 5 insertions, 19 deletions
diff --git a/audio/kradio/kradio-4.0.2-ffmpeg08.patch b/audio/kradio/kradio-4.0.2-ffmpeg08.patch
deleted file mode 100644
index c6cbf90ed0..0000000000
--- a/audio/kradio/kradio-4.0.2-ffmpeg08.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- plugins/internetradio/decoder_thread.cpp.ffmpeg 2011-06-26 02:14:41.000000000 +0200
-+++ plugins/internetradio/decoder_thread.cpp 2011-06-26 02:14:55.000000000 +0200
-@@ -535,7 +535,7 @@
- m_av_audioStream = -1;
- for (unsigned int i = 0; i < m_av_pFormatCtx->nb_streams; i++) {
- // if (m_av_pFormatCtx->streams[i]->codec->codec_type == CODEC_TYPE_AUDIO && m_av_audioStream < 0) {
-- if (m_av_pFormatCtx->streams[i]->codec->codec_type == CODEC_TYPE_AUDIO) { // take last stream
-+ if (m_av_pFormatCtx->streams[i]->codec->codec_type == AVMEDIA_TYPE_AUDIO) { // take last stream
- m_av_audioStream = i;
- }
- }
diff --git a/audio/kradio/kradio.SlackBuild b/audio/kradio/kradio.SlackBuild
index e025e5e48e..cce7f9f3b5 100644
--- a/audio/kradio/kradio.SlackBuild
+++ b/audio/kradio/kradio.SlackBuild
@@ -6,8 +6,8 @@
PRGNAM=kradio
SRCNAM=kradio4
-VERSION=${VERSION:-4.0.2}
-BUILD=${BUILD:-3}
+VERSION=${VERSION:-4.0.6}
+BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -53,9 +53,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
-# Fix building against newer ffmpeg versions
-patch -p0 -i $CWD/kradio-4.0.2-ffmpeg08.patch
-
mkdir -p build
cd build
cmake \
diff --git a/audio/kradio/kradio.info b/audio/kradio/kradio.info
index 9988d72867..d4b02ad21d 100644
--- a/audio/kradio/kradio.info
+++ b/audio/kradio/kradio.info
@@ -1,8 +1,8 @@
PRGNAM="kradio"
-VERSION="4.0.2"
+VERSION="4.0.6"
HOMEPAGE="http://kradio.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/kradio/kradio4-4.0.2.tar.bz2"
-MD5SUM="18fea3e2bc7100882075187c6a89f7bd"
+DOWNLOAD="http://downloads.sourceforge.net/kradio/kradio4-4.0.6.tar.bz2"
+MD5SUM="ee9214156465e0416bb369f78b4a5eae"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ffmpeg libmms"