summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Ball <nullspoon@oper.io>2024-07-03 12:38:57 -0600
committerAaron Ball <nullspoon@oper.io>2024-07-03 12:38:57 -0600
commit42a8a4938a80a7059018c34ff2c4e1736073cc77 (patch)
treedd23bbf8aa6ce3824f946954d1bf1fa8ac8fdc69
parentc2af142269c0622e930fa4575f530fcfa037e0db (diff)
downloadports-42a8a4938a80a7059018c34ff2c4e1736073cc77.tar.gz
ports-42a8a4938a80a7059018c34ff2c4e1736073cc77.tar.xz
minidlna:version from 1.3.2 to 1.3.3
-rw-r--r--minidlna/.md5sum3
-rw-r--r--minidlna/.signature7
-rw-r--r--minidlna/Pkgfile9
-rw-r--r--minidlna/ffmpeg7.patch14
4 files changed, 27 insertions, 6 deletions
diff --git a/minidlna/.md5sum b/minidlna/.md5sum
index 181fb21..8cec54d 100644
--- a/minidlna/.md5sum
+++ b/minidlna/.md5sum
@@ -1 +1,2 @@
-9e4cc50a48b1b467a234b579b45457d0 minidlna-1.3.2.tar.gz
+f085bd07ed4ef30649641a1a6819ab8a ffmpeg7.patch
+a8b010d8803811f4e26e57894c30fa6c minidlna-1.3.3.tar.gz
diff --git a/minidlna/.signature b/minidlna/.signature
index 41ecb1b..b5a4d5a 100644
--- a/minidlna/.signature
+++ b/minidlna/.signature
@@ -1,5 +1,6 @@
untrusted comment: verify with /etc/ports/nullspoon.pub
-RWThnm0RuVZhZrKJQF6mCqSkLR3eGeyEGEya1fOCVudH9j+7XOai4nkoDAZJKKRIdFG/bTRgFQ4v93QDFXoAOK8cvc31qIhZEA0=
-SHA256 (Pkgfile) = b6a4ba5fe550db5b0b300ce277ca4983d48eee2199407403b2375033ac7c8ddc
+RWThnm0RuVZhZsfI4CC0ImBGzOFd2YzyYwWMiHHXOREem2+Mmk9iztNpRCg3AmF6XOMWDrg8xmfcqvwru+ho/nRdrnUbTM+xxAw=
+SHA256 (Pkgfile) = 3e8ddb3a65a7aeecd9bcc52e5028b07250b2958e02e13274dd651b309180ae71
SHA256 (.footprint) = e468e1aef5b4350502d46826ee431d51ea73dc7f048a5313c94b3d678b062c85
-SHA256 (minidlna-1.3.2.tar.gz) = 222ce45a1a60c3ce3de17527955d38e5ff7a4592d61db39577e6bf88e0ae1cb0
+SHA256 (minidlna-1.3.3.tar.gz) = 39026c6d4a139b9180192d1c37225aa3376fdf4f1a74d7debbdbb693d996afa4
+SHA256 (ffmpeg7.patch) = 5bf0acbcaa6ae611a32e1dfeaf5d6c5e9417a33f023efb74339a945c05e76e3f
diff --git a/minidlna/Pkgfile b/minidlna/Pkgfile
index 58d5c18..34741c1 100644
--- a/minidlna/Pkgfile
+++ b/minidlna/Pkgfile
@@ -4,13 +4,18 @@
# Depends on: ffmpeg libexif flac taglib libid3tag libjpeg-turbo libvorbis x264 opus inotify-tools libmatroska
name=minidlna
-version=1.3.2
+version=1.3.3
release=1
-source=(https://downloads.sourceforge.net/project/minidlna/minidlna/${version}/${name}-${version}.tar.gz)
+source=(
+ https://downloads.sourceforge.net/project/minidlna/minidlna/${version}/${name}-${version}.tar.gz
+ ffmpeg7.patch
+)
build() {
cd ${name}-${version}
+ patch -p1 -i ${SRC}/ffmpeg7.patch
+
./autogen.sh
./configure --prefix=/usr
make
diff --git a/minidlna/ffmpeg7.patch b/minidlna/ffmpeg7.patch
new file mode 100644
index 0000000..806a2fa
--- /dev/null
+++ b/minidlna/ffmpeg7.patch
@@ -0,0 +1,14 @@
+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
+

Generated by cgit