summaryrefslogtreecommitdiff
path: root/net-misc/minidlna
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-06-01 09:25:36 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-06-01 09:25:36 +0100
commit9b9c22874161d13ca8d50c952d549f2390f3f179 (patch)
tree008ed76c56f51f6f3c30370c7b6109476f3dd4e4 /net-misc/minidlna
parent51f111b675c30c05f05128be7836616634098bae (diff)
gentoo auto-resync : 01:06:2023 - 09:25:35
Diffstat (limited to 'net-misc/minidlna')
-rw-r--r--net-misc/minidlna/Manifest2
-rw-r--r--net-misc/minidlna/minidlna-1.3.3.ebuild106
2 files changed, 108 insertions, 0 deletions
diff --git a/net-misc/minidlna/Manifest b/net-misc/minidlna/Manifest
index e752799315ab..999fae84ab22 100644
--- a/net-misc/minidlna/Manifest
+++ b/net-misc/minidlna/Manifest
@@ -2,6 +2,8 @@ AUX minidlna-1.0.25.confd 313 BLAKE2B f08adcd103be5fcffa02d2c62ca85537cb5803336b
AUX minidlna-1.1.2.service 230 BLAKE2B 13db2b522a5c27143106f7d45410f94c657133440a5e352794cc4fc48c818865b28087c666911c905efd3fb9c00b6aa9f79f9d0b014eae9130db0d40b5a0ec20 SHA512 0cfa770c43097007dce2c440512e4ca27e02678a08299c8343c91d2e9f70d4756bfd9527c6747a484c639e0e8467cad3d5f2f5a216684ce75495be084e6ac5df
AUX minidlna-1.1.5.initd 682 BLAKE2B ea0522de80f8525c5db7a4cb70ac72fd68db9c2beb263d87ef4ab18a128f55117929c6d244de72e5e663e06579a551ff1aa9df385afd277135aa1a2ed0201bbb SHA512 918e282b91434c29d7510e3c04749cd5b2d11aa623fada13d60749793cd7635e4b671e74dc6b1c4e45de0c96b56a271f017a17438651f9d24c03a16df26e09d2
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
EBUILD minidlna-1.3.2-r1.ebuild 2073 BLAKE2B d5503a19aeb99ee3fd1697a4d7ad20e42ea8a61e142ff320b23dcab1b77cdb1c7d547846abe8c0a3fb9eff32ef1a64cafe2596d06c059ae4bd3675e48bd385de SHA512 e45b2385143f58461f5921b56eca2be9d2ef371a68795b928c0e4ebd2cd24b4b57674c790b593c10bab2f0de181677c1cca18f7885bf4aa777adb9b1b6528f14
+EBUILD minidlna-1.3.3.ebuild 2076 BLAKE2B 661d3b2cc63ebd006e884b3f4e72fe9cb712340d55c4885bae0bcdf12d8228a21bbac47167295909a90f73b2115cca5d3f12551a03f6880c87e56c50257ccf6b SHA512 424e208862ef14ab0e5a48d7780918ab754d877770c8f3f6c6492e3b5fca5eb6367475ba6f82c4eca2ec22e54bf4128fb49a81241f40d211239b60e50ab10dc1
MISC metadata.xml 513 BLAKE2B 6e851975b83efd7972d5d58c85093a36bf0f51845cb6ef1f7d7b37dab65dd913a5bbd6e5f163b2142eee11d6860b55e1bd346e23b5f4f427ca0812701149eede SHA512 99fe90016717a048a38feec908049f5f0c7b81045dc9e8953b204eb22e858f74b876fd5ae3765cbf88204f9f6ece87310dccb2123bdb1cc007e3c9049967a4e1
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
+}