mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-02 01:50:18 +00:00
minidlna: Upgrade to 1.3.3 release
Drop unneeded patches Add a patch to fix build with ffmpeg7 Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -11,9 +11,8 @@ inherit gettext autotools-brokensep update-rc.d systemd
|
|||||||
SRC_URI = "git://git.code.sf.net/p/minidlna/git;branch=master;module=git \
|
SRC_URI = "git://git.code.sf.net/p/minidlna/git;branch=master;module=git \
|
||||||
file://minidlna-daemon.init.d \
|
file://minidlna-daemon.init.d \
|
||||||
file://minidlna.service \
|
file://minidlna.service \
|
||||||
file://0001-Update-Gettext-version.patch \
|
|
||||||
file://0001-configure-Check-for-clock_gettime-seprately-from-__N.patch \
|
file://0001-configure-Check-for-clock_gettime-seprately-from-__N.patch \
|
||||||
file://0001-configure.ac-drop-non-standard-checks.patch \
|
file://0001-Add-compatibility-with-FFMPEG-7.0.patch \
|
||||||
"
|
"
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|||||||
+49
@@ -0,0 +1,49 @@
|
|||||||
|
From 92f8b94c697c225fb31062586f817c4fc3df8c2a Mon Sep 17 00:00:00 2001
|
||||||
|
From: Khem Raj <raj.khem@gmail.com>
|
||||||
|
Date: Thu, 29 Aug 2024 13:22:33 -0700
|
||||||
|
Subject: [PATCH] Add compatibility with FFMPEG 7.0
|
||||||
|
|
||||||
|
channel_layout has been replaced with ch_layout
|
||||||
|
|
||||||
|
Upstream-Status: Submitted [https://sourceforge.net/p/minidlna/git/merge-requests/59/]
|
||||||
|
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
||||||
|
---
|
||||||
|
libav.h | 9 +++++++++
|
||||||
|
1 file changed, 9 insertions(+)
|
||||||
|
|
||||||
|
diff --git a/libav.h b/libav.h
|
||||||
|
index b69752c..a3153bd 100644
|
||||||
|
--- a/libav.h
|
||||||
|
+++ b/libav.h
|
||||||
|
@@ -58,6 +58,7 @@
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#define USE_CODECPAR LIBAVFORMAT_VERSION_INT >= ((57<<16)+(50<<8)+100)
|
||||||
|
+#define USE_CH_LAYOUT (LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(57, 28, 100))
|
||||||
|
|
||||||
|
#ifndef FF_PROFILE_H264_BASELINE
|
||||||
|
#define FF_PROFILE_H264_BASELINE 66
|
||||||
|
@@ -174,7 +175,11 @@ 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
|
||||||
|
+#if USE_CH_LAYOUT
|
||||||
|
+#define lav_channels(s) s->codecpar->ch_layout.nb_channels
|
||||||
|
+#else
|
||||||
|
#define lav_channels(s) s->codecpar->channels
|
||||||
|
+#endif
|
||||||
|
#define lav_width(s) s->codecpar->width
|
||||||
|
#define lav_height(s) s->codecpar->height
|
||||||
|
#define lav_profile(s) s->codecpar->profile
|
||||||
|
@@ -186,7 +191,11 @@ lav_get_interlaced(AVStream *s)
|
||||||
|
#define lav_codec_tag(s) s->codec->codec_tag
|
||||||
|
#define lav_sample_rate(s) s->codec->sample_rate
|
||||||
|
#define lav_bit_rate(s) s->codec->bit_rate
|
||||||
|
+#if USE_CH_LAYOUT
|
||||||
|
+#define lav_channels(s) s->codec->ch_layout.nb_channels
|
||||||
|
+#else
|
||||||
|
#define lav_channels(s) s->codec->channels
|
||||||
|
+#endif
|
||||||
|
#define lav_width(s) s->codec->width
|
||||||
|
#define lav_height(s) s->codec->height
|
||||||
|
#define lav_profile(s) s->codec->profile
|
||||||
-32
@@ -1,32 +0,0 @@
|
|||||||
From a4290bf1887f9203288858ca76bdd20b2edf337a Mon Sep 17 00:00:00 2001
|
|
||||||
From: Baptiste Durand <baptiste.durand@gmail.com>
|
|
||||||
Date: Sun, 9 Sep 2018 20:50:41 +0200
|
|
||||||
Subject: [PATCH] Update Gettext version
|
|
||||||
|
|
||||||
Upstream-Status: Inappropriate [oe-core specific]
|
|
||||||
|
|
||||||
Signed-off-by: Baptiste Durand <baptiste.durand@gmail.com>
|
|
||||||
---
|
|
||||||
configure.ac | 4 ++--
|
|
||||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
||||||
|
|
||||||
--- a/configure.ac
|
|
||||||
+++ b/configure.ac
|
|
||||||
@@ -14,7 +14,7 @@
|
|
||||||
# License along with MiniDLNA; if not, write to the Free Software
|
|
||||||
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
|
|
||||||
# USA.
|
|
||||||
-AC_INIT(MiniDLNA,1.1.3,,minidlna)
|
|
||||||
+AC_INIT(MiniDLNA,1.2.1,,minidlna)
|
|
||||||
#LT_INIT
|
|
||||||
|
|
||||||
AC_CANONICAL_TARGET
|
|
||||||
@@ -28,7 +28,7 @@ m4_ifdef([AC_USE_SYSTEM_EXTENSIONS], [AC
|
|
||||||
|
|
||||||
AM_ICONV
|
|
||||||
AM_GNU_GETTEXT([external])
|
|
||||||
-AM_GNU_GETTEXT_VERSION(0.18)
|
|
||||||
+AM_GNU_GETTEXT_VERSION(0.20)
|
|
||||||
|
|
||||||
# Checks for programs.
|
|
||||||
AC_PROG_AWK
|
|
||||||
-37
@@ -1,37 +0,0 @@
|
|||||||
From 83425344b2d7339e8f5b0ad230c51278d330d613 Mon Sep 17 00:00:00 2001
|
|
||||||
From: Alexander Kanavin <alex@linutronix.de>
|
|
||||||
Date: Sat, 22 Jan 2022 11:41:50 +0100
|
|
||||||
Subject: [PATCH] configure.ac: drop non-standard checks
|
|
||||||
|
|
||||||
Not sure what upstream is trying to do here but it does not work
|
|
||||||
with the latest autoconf.
|
|
||||||
|
|
||||||
Upstream-Status: Inactive-Upstream
|
|
||||||
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
|
|
||||||
---
|
|
||||||
configure.ac | 5 -----
|
|
||||||
1 file changed, 5 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/configure.ac b/configure.ac
|
|
||||||
index aa7dd1c..858db52 100644
|
|
||||||
--- a/configure.ac
|
|
||||||
+++ b/configure.ac
|
|
||||||
@@ -418,7 +418,6 @@ for dir in "" /usr/local $SEARCH_DIR; do
|
|
||||||
AC_CHECK_LIB([id3tag -lz], [id3_file_open], [LIBID3TAG_LIBS="-lid3tag -lz"], [unset ac_cv_lib_id3tag_id3_file_open; LDFLAGS="$LDFLAGS_SAVE"; continue])
|
|
||||||
break
|
|
||||||
done
|
|
||||||
-test x"$ac_cv_lib_id3tag__lz___id3_file_open" = x"yes" || AC_MSG_ERROR([Could not find libid3tag])
|
|
||||||
AC_SUBST(LIBID3TAG_LIBS)
|
|
||||||
|
|
||||||
LDFLAGS_SAVE="$LDFLAGS"
|
|
||||||
@@ -444,10 +443,6 @@ for dir in "" /usr/local $SEARCH_DIR; do
|
|
||||||
[unset ac_cv_lib_avformat_av_open_input_file; unset ac_cv_lib_avformat_avformat_open_input; LDFLAGS="$LDFLAGS_SAVE"; continue])])
|
|
||||||
break
|
|
||||||
done
|
|
||||||
-if test x"$ac_cv_lib_avformat__lavcodec__lavutil__lz___av_open_input_file" != x"yes" &&
|
|
||||||
- test x"$ac_cv_lib_avformat__lavcodec__lavutil__lz___avformat_open_input" != x"yes"; then
|
|
||||||
- AC_MSG_ERROR([Could not find libavformat - part of ffmpeg])
|
|
||||||
-fi
|
|
||||||
AC_SUBST(LIBAVFORMAT_LIBS)
|
|
||||||
|
|
||||||
AC_CHECK_LIB(pthread, pthread_create)
|
|
||||||
+1
-1
@@ -1,4 +1,4 @@
|
|||||||
require ${BPN}.inc
|
require ${BPN}.inc
|
||||||
|
|
||||||
SRCREV = "109d63cb11ac207c18a784556834eb054b34b00b"
|
SRCREV = "1a9b32ee7a1c89e54e9f148199b73f9b33ad45ba"
|
||||||
LIC_FILES_CHKSUM = "file://LICENCE.miniupnpd;md5=b0dabf9d8e0f871554e309d62ead8d2b"
|
LIC_FILES_CHKSUM = "file://LICENCE.miniupnpd;md5=b0dabf9d8e0f871554e309d62ead8d2b"
|
||||||
Reference in New Issue
Block a user