From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/minidlna/
Date: Thu, 1 Jun 2023 04:07:39 +0000 (UTC) [thread overview]
Message-ID: <1685592443.dc0c3dce8330ee922747228a771302a4cd381e02.mgorny@gentoo> (raw)
commit: dc0c3dce8330ee922747228a771302a4cd381e02
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 1 03:31:56 2023 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Jun 1 04:07:23 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dc0c3dce
net-misc/minidlna: Bump to 1.3.3
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
net-misc/minidlna/Manifest | 1 +
net-misc/minidlna/minidlna-1.3.3.ebuild | 106 ++++++++++++++++++++++++++++++++
2 files changed, 107 insertions(+)
diff --git a/net-misc/minidlna/Manifest b/net-misc/minidlna/Manifest
index e78fd054249a..33aeabdd79b3 100644
--- a/net-misc/minidlna/Manifest
+++ b/net-misc/minidlna/Manifest
@@ -1,2 +1,3 @@
DIST minidlna-1.3.2.tar.gz 736820 BLAKE2B e35266be94e4585f399c80a6909318ce973d443506f6becdacdb00802ed0ce060ebf8401ff1b5dfef0b451f609d98f805c80b9a0c87e23d14084338047418620 SHA512 1dca810aeb59f19f530b5fd589beb04085b65ece94a55a54f2f7a0b771e7c5487493f13e6d9120e0b9aced08b0f98de58640dec26def214333dae1fea951f589
+DIST minidlna-1.3.3.tar.gz 824527 BLAKE2B 489b7ecb54a20f6111a65388ad2c52d477164046131af490cbcef7cd3ff2b841644f549bcad708ea6d4548f4111d5b2b63bafc0f079edf160467b85c682cbc5b SHA512 3571af71b49d46aacc273a9b35e2c78aeccb966c1d6122f8186074c34f9a177ac60622ccf29f307d8d73f502c7a99f023f96f0c43bbd398c7ef82bb57d77cc1d
DIST minidlna-gentoo-artwork.patch.xz 49372 BLAKE2B 37a5691ec0a6558ecfb0748b0d25a513e7339beaf4816f8e0265f3954db07c3e87eb436855cde5f3daa95b1c3af550c0cf544efaf0a81fa91563507f35414416 SHA512 3bdaadc2a2331e9ebf37ed80d1de7cebd6307ab068dc9cf067159b2c0754a765b2076c07e988602af4dd2d6c49c819da8a1f668258950e15592027b353f22b5e
diff --git a/net-misc/minidlna/minidlna-1.3.3.ebuild b/net-misc/minidlna/minidlna-1.3.3.ebuild
new file mode 100644
index 000000000000..ff6c52a2f27e
--- /dev/null
+++ b/net-misc/minidlna/minidlna-1.3.3.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools systemd tmpfiles
+
+DESCRIPTION="DLNA/UPnP-AV compliant media server"
+HOMEPAGE="https://sourceforge.net/projects/minidlna/"
+SRC_URI="
+ https://downloads.sourceforge.net/project/minidlna/${PN}/${PV}/${P}.tar.gz
+ mirror://gentoo/minidlna-gentoo-artwork.patch.xz
+"
+
+LICENSE="BSD GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+IUSE="netgear readynas zeroconf"
+
+DEPEND="
+ dev-db/sqlite:3
+ media-libs/flac:=
+ media-libs/libexif
+ media-libs/libid3tag:=
+ media-libs/libjpeg-turbo:=
+ media-libs/libogg
+ media-libs/libvorbis
+ media-video/ffmpeg:=
+ elibc_musl? ( sys-libs/queue-standalone )
+ zeroconf? ( net-dns/avahi )
+"
+RDEPEND="
+ ${DEPEND}
+ acct-group/minidlna
+ acct-user/minidlna
+"
+BDEPEND="
+ virtual/pkgconfig
+"
+
+CONFIG_CHECK="~INOTIFY_USER"
+
+PATCHES=(
+ "${WORKDIR}"/minidlna-gentoo-artwork.patch
+)
+
+src_prepare() {
+ sed -e "/log_dir/s:/var/log:/var/log/minidlna:" \
+ -e "/db_dir/s:/var/cache/:/var/lib/:" \
+ -i minidlna.conf || die
+
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myconf=(
+ --with-db-path=/var/lib/minidlna
+ --with-log-path=/var/log/minidlna
+ --enable-tivo
+ $(use_enable netgear)
+ $(use_enable readynas)
+ )
+ use zeroconf || myconf+=(
+ ac_cv_lib_avahi_client_avahi_threaded_poll_new=no
+ )
+
+ econf "${myconf[@]}"
+}
+
+src_test() {
+ :
+}
+
+src_install() {
+ default
+
+ #bug 536532
+ dosym ../sbin/minidlnad /usr/bin/minidlna
+
+ insinto /etc
+ doins minidlna.conf
+
+ newconfd "${FILESDIR}"/minidlna-1.0.25.confd minidlna
+ newinitd "${FILESDIR}"/minidlna-1.1.5.initd minidlna
+ systemd_newunit "${FILESDIR}"/minidlna-1.1.2.service minidlna.service
+ newtmpfiles - minidlna.conf <<-EOF
+ d /run/minidlna 0755 minidlna minidlna -
+ EOF
+
+ keepdir /var/{lib,log}/minidlna
+
+ doman minidlnad.8 minidlna.conf.5
+}
+
+pkg_preinst() {
+ local my_is_new=yes
+ [[ -d ${EROOT}/var/lib/minidlna ]] && my_is_new=no
+
+ fowners minidlna:minidlna /var/{lib,log}/minidlna
+ fperms 0750 /var/{lib,log}/minidlna
+}
+
+pkg_postinst() {
+ tmpfiles_process minidlna.conf
+}
next reply other threads:[~2023-06-01 4:07 UTC|newest]
Thread overview: 45+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-06-01 4:07 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-06-06 18:46 [gentoo-commits] repo/gentoo:master commit in: net-misc/minidlna/ Michał Górny
2023-06-06 16:55 Arthur Zamarin
2023-06-06 10:06 Sam James
2023-06-06 10:06 Sam James
2023-01-21 19:15 Michał Górny
2023-01-21 18:53 Arthur Zamarin
2022-12-31 13:01 Sam James
2022-12-31 13:01 Sam James
2022-11-28 23:50 James Le Cuirot
2022-09-02 17:37 Michał Górny
2022-05-06 11:25 Jakov Smolić
2022-05-06 8:10 Agostino Sarubbo
2022-05-05 18:39 Arthur Zamarin
2022-05-05 13:31 Michał Górny
2022-01-03 23:26 David Seifert
2021-08-16 21:28 Sam James
2020-12-03 6:52 Sam James
2020-11-29 8:16 Agostino Sarubbo
2020-11-28 13:34 Thomas Deutschmann
2020-04-26 12:26 David Seifert
2020-01-03 20:40 Michał Górny
2019-03-19 2:03 Thomas Deutschmann
2019-03-16 14:17 Mikle Kolyada
2019-03-15 8:15 Mikle Kolyada
2018-11-26 4:22 Michał Górny
2018-11-25 21:43 Michał Górny
2018-11-25 21:43 Michał Górny
2018-11-25 21:43 Michał Górny
2018-11-25 21:43 Michał Górny
2018-11-25 21:43 Michał Górny
2018-11-25 21:43 Michał Górny
2018-11-25 21:43 Michał Górny
2018-11-25 21:43 Michał Górny
2018-11-25 21:43 Michał Górny
2018-11-25 21:43 Michał Górny
2018-11-25 21:43 Michał Górny
2018-11-25 21:43 Michał Górny
2018-11-25 21:43 Michał Górny
2018-11-25 10:11 Michał Górny
2018-08-11 9:06 Andreas Sturmlechner
2017-03-17 10:15 Agostino Sarubbo
2017-03-15 13:00 Michael Weber
2016-02-23 20:36 Michael Weber
2015-10-03 16:51 Michael Weber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1685592443.dc0c3dce8330ee922747228a771302a4cd381e02.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox