diff --git a/net/minidlna/Makefile b/net/minidlna/Makefile index 74570b0b64d1..84312f3d116d 100644 --- a/net/minidlna/Makefile +++ b/net/minidlna/Makefile @@ -1,48 +1,51 @@ PORTNAME= minidlna PORTVERSION= 1.3.3 -PORTREVISION= 1 +PORTREVISION= 2 PORTEPOCH= 1 CATEGORIES= net multimedia www -MASTER_SITES= SF MAINTAINER= glebius@FreeBSD.org COMMENT= Media-server compatible with "Digital Life Network Alliance" WWW= https://minidlna.sourceforge.net LICENSE= GPLv2 LIB_DEPENDS= libsqlite3.so:databases/sqlite3 \ libexif.so:graphics/libexif \ libid3tag.so:audio/libid3tag \ libogg.so:audio/libogg \ libvorbis.so:audio/libvorbis \ libFLAC.so:audio/flac \ libavformat.so:multimedia/ffmpeg GNU_CONFIGURE= yes CONFIGURE_ARGS= --with-db-path=/var/db/minidlna \ --with-os-url="http://www.FreeBSD.org" USES= autoreconf cpe gettext-tools iconv jpeg localbase CPE_VENDOR= minidlna_project +USE_GITHUB= yes +GH_ACCOUNT= glebius +GH_TAGNAME= bb12721 + PKGMESSAGE= ${WRKSRC}/pkg-message SUB_FILES+= pkg-message USE_RC_SUBR= minidlna SUB_LIST+= USER=${USERS} USERS= dlna GROUPS= dlna OPTIONS_DEFINE= DEBUG NLS OPTIONS_SUB= yes DEBUG_CFLAGS= -DDEBUG NLS_USES= gettext-runtime post-install: ${INSTALL_MAN} ${WRKSRC}/*.5 ${STAGEDIR}${PREFIX}/share/man/man5/ ${INSTALL_MAN} ${WRKSRC}/*.8 ${STAGEDIR}${PREFIX}/share/man/man8/ ${INSTALL_DATA} ${WRKSRC}/minidlna.conf ${STAGEDIR}${PREFIX}/etc/minidlna.conf.sample .include diff --git a/net/minidlna/distinfo b/net/minidlna/distinfo index 92b8d2f68100..dd4ad6007b39 100644 --- a/net/minidlna/distinfo +++ b/net/minidlna/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1706118554 -SHA256 (minidlna-1.3.3.tar.gz) = 39026c6d4a139b9180192d1c37225aa3376fdf4f1a74d7debbdbb693d996afa4 -SIZE (minidlna-1.3.3.tar.gz) = 824527 +TIMESTAMP = 1735445068 +SHA256 (glebius-minidlna-1.3.3-bb12721_GH0.tar.gz) = e4cbcfe151dc3470c001a5c136d3d1f97e1df418afa416fa14ecf273e19f0ab4 +SIZE (glebius-minidlna-1.3.3-bb12721_GH0.tar.gz) = 300056 diff --git a/net/minidlna/files/patch-metadata.c b/net/minidlna/files/patch-metadata.c deleted file mode 100644 index 32b4bde4729b..000000000000 --- a/net/minidlna/files/patch-metadata.c +++ /dev/null @@ -1,14 +0,0 @@ ---- metadata.c.orig 2022-08-30 05:42:54 UTC -+++ metadata.c -@@ -146,6 +146,11 @@ check_for_captions(const char *path, int64_t detailID) - strcpy(p, ".smi"); - ret = access(file, R_OK); - } -+ if (ret != 0) -+ { -+ strcpy(p, ".ass"); -+ ret = access(file, R_OK); -+ } - - if (ret == 0) - { diff --git a/net/minidlna/files/patch-utils.c-mpo b/net/minidlna/files/patch-utils.c-mpo deleted file mode 100644 index d612e7b81d0b..000000000000 --- a/net/minidlna/files/patch-utils.c-mpo +++ /dev/null @@ -1,13 +0,0 @@ -diff --git utils.c utils.c -index d46f2f0..15e7905 100644 ---- utils.c -+++ utils.c -@@ -396,7 +396,7 @@ is_audio(const char * file) - int - is_image(const char * file) - { -- return (ends_with(file, ".jpg") || ends_with(file, ".jpeg")); -+ return (ends_with(file, ".jpg") || ends_with(file, ".jpeg") || ends_with(file, ".mpo")); - } - - int