diff options
Diffstat (limited to 'net-misc/minidlna')
-rw-r--r-- | net-misc/minidlna/Manifest | 1 | ||||
-rw-r--r-- | net-misc/minidlna/minidlna-1.3.2-r1.ebuild | 106 |
2 files changed, 0 insertions, 107 deletions
diff --git a/net-misc/minidlna/Manifest b/net-misc/minidlna/Manifest index 33aeabdd79b3..aaef89fe6b17 100644 --- a/net-misc/minidlna/Manifest +++ b/net-misc/minidlna/Manifest @@ -1,3 +1,2 @@ -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.2-r1.ebuild b/net-misc/minidlna/minidlna-1.3.2-r1.ebuild deleted file mode 100644 index e56727ba5429..000000000000 --- a/net-misc/minidlna/minidlna-1.3.2-r1.ebuild +++ /dev/null @@ -1,106 +0,0 @@ -# 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 -} |