aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2020-12-12 16:38:35 +0100
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:43:02 -0500
commit80c933d6bf902d046b893e4dfd0e812623901060 (patch)
treec3411b1b175cefd969a245c2bc1a1f621ebd9670 /multimedia
parent7a3a9608e0a355f3da2d963ac07aaae8a7b7dbd1 (diff)
multimedia/minidlna: Updated for version 1.3.0, fix for gcc >= 10.x.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/minidlna/minidlna.SlackBuild12
-rw-r--r--multimedia/minidlna/minidlna.info6
2 files changed, 8 insertions, 10 deletions
diff --git a/multimedia/minidlna/minidlna.SlackBuild b/multimedia/minidlna/minidlna.SlackBuild
index a1e2d4b26a458..fe1e323072caa 100644
--- a/multimedia/minidlna/minidlna.SlackBuild
+++ b/multimedia/minidlna/minidlna.SlackBuild
@@ -24,13 +24,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=minidlna
-VERSION=${VERSION:-1.1.5}
+VERSION=${VERSION:-1.3.0}
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
@@ -41,8 +41,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"
@@ -70,9 +70,7 @@ 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 {} \;
-./autogen.sh
-
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -fcommon" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
diff --git a/multimedia/minidlna/minidlna.info b/multimedia/minidlna/minidlna.info
index 1dad012127bb5..78915d092abd0 100644
--- a/multimedia/minidlna/minidlna.info
+++ b/multimedia/minidlna/minidlna.info
@@ -1,8 +1,8 @@
PRGNAM="minidlna"
-VERSION="1.1.5"
+VERSION="1.3.0"
HOMEPAGE="http://minidlna.sourceforge.net/"
-DOWNLOAD="http://downloads.sourceforge.net/minidlna/minidlna-1.1.5.tar.gz"
-MD5SUM="1970e553a1eb8a3e7e302e2ce292cbc4"
+DOWNLOAD="http://downloads.sourceforge.net/minidlna/minidlna-1.3.0.tar.gz"
+MD5SUM="89e92d1938ee3066631d4ca9fbf31507"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="ffmpeg"