mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-04 20:29:09 +01:00
audio/kradio: Updated for version 4.0.6.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
085fc4cb82
commit
4cb9edb039
3 changed files with 5 additions and 19 deletions
|
@ -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;
|
||||
}
|
||||
}
|
|
@ -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 \
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue