mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
multimedia/minidlna: Updated for version 1.3.3.
Signed-off-by: Mario Preksavec <mario@slackware.hr> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
435964ecaa
commit
1521a2c040
3 changed files with 23 additions and 5 deletions
13
multimedia/minidlna/ffmpeg7.patch
Normal file
13
multimedia/minidlna/ffmpeg7.patch
Normal file
|
@ -0,0 +1,13 @@
|
|||
diff --git a/libav.h b/libav.h
|
||||
index b69752c..aed9d18 100644
|
||||
--- a/libav.h
|
||||
+++ b/libav.h
|
||||
@@ -174,7 +174,7 @@ lav_get_interlaced(AVStream *s)
|
||||
#define lav_codec_tag(s) s->codecpar->codec_tag
|
||||
#define lav_sample_rate(s) s->codecpar->sample_rate
|
||||
#define lav_bit_rate(s) s->codecpar->bit_rate
|
||||
-#define lav_channels(s) s->codecpar->channels
|
||||
+#define lav_channels(s) s->codecpar->ch_layout.nb_channels
|
||||
#define lav_width(s) s->codecpar->width
|
||||
#define lav_height(s) s->codecpar->height
|
||||
#define lav_profile(s) s->codecpar->profile
|
|
@ -3,7 +3,7 @@
|
|||
# Slackware build script for minidlna
|
||||
|
||||
# Copyright 2011-2012 Niels Horn, Rio de Janeiro, RJ, Brazil
|
||||
# Copyright 2015, 2023 Mario Preksavec, Zagreb, Croatia
|
||||
# Copyright 2015, 2024 Mario Preksavec, Zagreb, Croatia
|
||||
# All rights reserved.
|
||||
#
|
||||
# Redistribution and use of this script, with or without modification, is
|
||||
|
@ -26,7 +26,7 @@
|
|||
cd $(dirname $0) ; CWD=$(pwd)
|
||||
|
||||
PRGNAM=minidlna
|
||||
VERSION=${VERSION:-1.3.2}
|
||||
VERSION=${VERSION:-1.3.3}
|
||||
BUILD=${BUILD:-1}
|
||||
TAG=${TAG:-_SBo}
|
||||
PKGTYPE=${PKGTYPE:-tgz}
|
||||
|
@ -80,6 +80,11 @@ find -L . \
|
|||
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
# Fix build with ffmpeg 7
|
||||
case $(ffmpeg -version | awk '/^ffmpeg version/{print $3}') in
|
||||
7*) patch -p1 <$CWD/ffmpeg7.patch ;;
|
||||
esac
|
||||
|
||||
CFLAGS="$SLKCFLAGS -fcommon" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="minidlna"
|
||||
VERSION="1.3.2"
|
||||
VERSION="1.3.3"
|
||||
HOMEPAGE="http://minidlna.sourceforge.net/"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/minidlna/minidlna-1.3.2.tar.gz"
|
||||
MD5SUM="9e4cc50a48b1b467a234b579b45457d0"
|
||||
DOWNLOAD="http://downloads.sourceforge.net/minidlna/minidlna-1.3.3.tar.gz"
|
||||
MD5SUM="a8b010d8803811f4e26e57894c30fa6c"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
|
|
Loading…
Reference in a new issue