From e2db47eaae00ec33f8971db44b68645c5d3b9590 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 17 Aug 2021 11:36:49 +0100 Subject: gentoo resync : 17.08.2021 --- media-sound/mt-daapd/Manifest | 2 +- media-sound/mt-daapd/mt-daapd-0.2.4.2-r1.ebuild | 82 +++++++++++++++++++++++++ media-sound/mt-daapd/mt-daapd-0.2.4.2.ebuild | 82 ------------------------- 3 files changed, 83 insertions(+), 83 deletions(-) create mode 100644 media-sound/mt-daapd/mt-daapd-0.2.4.2-r1.ebuild delete mode 100644 media-sound/mt-daapd/mt-daapd-0.2.4.2.ebuild (limited to 'media-sound/mt-daapd') diff --git a/media-sound/mt-daapd/Manifest b/media-sound/mt-daapd/Manifest index 7d682f393d2c..9c5a776993fb 100644 --- a/media-sound/mt-daapd/Manifest +++ b/media-sound/mt-daapd/Manifest @@ -5,5 +5,5 @@ AUX mt-daapd-0.2.4.2-maintainer-mode.patch 332 BLAKE2B 94083b6a8847b0f6a1f8c0608 AUX mt-daapd-0.2.4.2-oggvorbis.patch 590 BLAKE2B be372f1dc4aa4541b35782064c0dfccc40d62e704d2ac3041fda8d719af52f5692dd8a0ba351c8fed3b5ef35be0ca604242e2a9cc588c890862ff710c4762c96 SHA512 51785b2e89fe20d71a3bfaaf75ccbf6b8369af8e5b76f2c8fb63b76fbb0a3249b9119be7c63256b507ce4f39cdfd08982ccf9e398d3d3fd13b24628b2c8f2280 AUX mt-daapd.init.2 1220 BLAKE2B 483f41aeab5ab3de0ab6c268f8263317a26b6c647e5e02c52c1636bfd4f4b2efb3cf9f8745e4da90b8f19d809509fcebe721fe94fef8140fb65da3152bd26549 SHA512 32a24aa6c027df24a959f908bfac5be24638975fd98a7470dd0e5e9e4590c9918810f646eb9a4497405563c1dfdd139a974cc6db8b7066684af8d9701c703b42 DIST mt-daapd-0.2.4.2.tar.gz 436513 BLAKE2B bca01805bbdc96d3aed1499a1295c48761d83f2ab876e15ea546d30b164bd86eab9e8278db39bedad356b4c018bec96f2086a98113562dfa09a496c6c0ce60de SHA512 1a944f31cc63355d33c7fd821d4509b8b69805ae29aa23f1307bf7602f6a62beba1f5ab5f4005387177f17c5fdf8db91b338f010b4be4ab0cd783dc72c6df60f -EBUILD mt-daapd-0.2.4.2.ebuild 1849 BLAKE2B 9de14a699f83d501b7ea328dc7cfa91df1d0634a3bdebe08432c4aebc2ae20f042e20dfa157ac6b7720b5020da9a6cf4212f95cb7a275b26b873ec06b9864c9c SHA512 8fa7b66a447a75fc6a67ae5d1bcc924b63c9d619484b20b5ac2be389e2e547a0a3d918f189da6c8b308a2e5e09d88c70dfbc4530d4d3566ec702ae55d7c83c7e +EBUILD mt-daapd-0.2.4.2-r1.ebuild 1852 BLAKE2B 41cea2876622e6d60029fb99eeb5108e6b25980d3760c369e55f9300730c18e892ad18188f70867257fe1b7ce40289a3d752b1e218d5dcfb981d189629051164 SHA512 15e71db10db1dd3204f4133f261f1a0d1494d1c3a421a70fbc1f82123f2379e7cdb65dca44fc7d0578732a698c8627bcfcc2f907dc47e3058c7ebdccc3cffed3 MISC metadata.xml 331 BLAKE2B f7842e1c5183217f3496de60b60bad916ff47ff7419dc9e6c72116a030ca36d9508a8b2d01c3350374be8e2513b982e7c59d18325934f9814eb1ceb09e8d3ff0 SHA512 75a2feebcc5b6226a059c79d8519bbf79de8ff4025c43389a39cb287ff220176e99f2fa2abdcdb371ebf9d988cc8bea4ca018ed347c98e9aedfc4ef7cbead941 diff --git a/media-sound/mt-daapd/mt-daapd-0.2.4.2-r1.ebuild b/media-sound/mt-daapd/mt-daapd-0.2.4.2-r1.ebuild new file mode 100644 index 000000000000..7400ed7efafd --- /dev/null +++ b/media-sound/mt-daapd/mt-daapd-0.2.4.2-r1.ebuild @@ -0,0 +1,82 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools + +DESCRIPTION="A multi-threaded implementation of Apple's DAAP server" +HOMEPAGE="https://sourceforge.net/projects/mt-daapd/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 arm ~hppa ~mips ppc sparc x86 ~amd64-linux ~x86-linux" +IUSE="vorbis" + +RDEPEND=" + media-libs/libid3tag:= + net-dns/avahi[dbus] + sys-libs/gdbm:= + sys-libs/zlib:= + vorbis? ( + media-libs/libvorbis + media-libs/libogg + )" +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +PATCHES=( + "${FILESDIR}"/${PN}-0.2.3-sparc.patch + "${FILESDIR}"/${PN}-0.2.4.1-libsorder.patch + "${FILESDIR}"/${PN}-0.2.4.1-pidfile.patch + "${FILESDIR}"/${P}-maintainer-mode.patch + "${FILESDIR}"/${P}-oggvorbis.patch +) + +src_prepare() { + default + mv configure.{in,ac} || die + eautoreconf +} + +src_configure() { + econf \ + $(use_enable vorbis oggvorbis) \ + --disable-maintainer-mode \ + --enable-avahi \ + --disable-mdns +} + +src_install() { + default + + insinto /etc + newins contrib/mt-daapd.conf mt-daapd.conf.example + doins contrib/mt-daapd.playlist + + newinitd "${FILESDIR}"/${PN}.init.2 ${PN} + + keepdir /var/cache/mt-daapd /etc/mt-daapd.d +} + +pkg_postinst() { + elog + elog "You have to configure your mt-daapd.conf following" + elog "${EROOT}/etc/mt-daapd.conf.example file." + elog + + if use vorbis; then + elog + elog "You need to edit you extensions list in ${EROOT}/etc/mt-daapd.conf" + elog "if you want your mt-daapd to serve ogg files." + elog + fi + + elog + elog "If you want to start more than one ${PN} service, symlink" + elog "${EROOT}/etc/init.d/${PN} to ${EROOT}/etc/init.d/${PN}., and it will" + elog "load the data from ${EROOT}/etc/${PN}.d/.conf." + elog "Make sure that you have different cache directories for them." + elog +} diff --git a/media-sound/mt-daapd/mt-daapd-0.2.4.2.ebuild b/media-sound/mt-daapd/mt-daapd-0.2.4.2.ebuild deleted file mode 100644 index bb376b2c40ab..000000000000 --- a/media-sound/mt-daapd/mt-daapd-0.2.4.2.ebuild +++ /dev/null @@ -1,82 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools - -DESCRIPTION="A multi-threaded implementation of Apple's DAAP server" -HOMEPAGE="https://sourceforge.net/projects/mt-daapd/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 arm ~hppa ~mips ppc sparc x86 ~amd64-linux ~x86-linux" -IUSE="vorbis" - -RDEPEND=" - media-libs/libid3tag:= - net-dns/avahi:=[dbus] - sys-libs/gdbm:= - sys-libs/zlib:= - vorbis? ( - media-libs/libvorbis:= - media-libs/libogg:= - )" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -PATCHES=( - "${FILESDIR}"/${PN}-0.2.3-sparc.patch - "${FILESDIR}"/${PN}-0.2.4.1-libsorder.patch - "${FILESDIR}"/${PN}-0.2.4.1-pidfile.patch - "${FILESDIR}"/${P}-maintainer-mode.patch - "${FILESDIR}"/${P}-oggvorbis.patch -) - -src_prepare() { - default - mv configure.{in,ac} || die - eautoreconf -} - -src_configure() { - econf \ - $(use_enable vorbis oggvorbis) \ - --disable-maintainer-mode \ - --enable-avahi \ - --disable-mdns -} - -src_install() { - default - - insinto /etc - newins contrib/mt-daapd.conf mt-daapd.conf.example - doins contrib/mt-daapd.playlist - - newinitd "${FILESDIR}"/${PN}.init.2 ${PN} - - keepdir /var/cache/mt-daapd /etc/mt-daapd.d -} - -pkg_postinst() { - elog - elog "You have to configure your mt-daapd.conf following" - elog "${EROOT}/etc/mt-daapd.conf.example file." - elog - - if use vorbis; then - elog - elog "You need to edit you extensions list in ${EROOT}/etc/mt-daapd.conf" - elog "if you want your mt-daapd to serve ogg files." - elog - fi - - elog - elog "If you want to start more than one ${PN} service, symlink" - elog "${EROOT}/etc/init.d/${PN} to ${EROOT}/etc/init.d/${PN}., and it will" - elog "load the data from ${EROOT}/etc/${PN}.d/.conf." - elog "Make sure that you have different cache directories for them." - elog -} -- cgit v1.2.3