summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2006-03-02 11:37:47 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2006-03-02 11:37:47 +0000
commitc92e61b3f006cc4441ca3389f5fbc6f781a3bdd5 (patch)
tree77c4d613fce780cc87ae2d5e5b3b8d9e6dea3b4d
parentVersion bump (diff)
downloadhistorical-c92e61b3f006cc4441ca3389f5fbc6f781a3bdd5.tar.gz
historical-c92e61b3f006cc4441ca3389f5fbc6f781a3bdd5.tar.bz2
historical-c92e61b3f006cc4441ca3389f5fbc6f781a3bdd5.zip
Add new version to fix issues with iTunes 6.0.4.
Package-Manager: portage-2.1_pre5-r1
-rw-r--r--media-sound/mt-daapd/ChangeLog7
-rw-r--r--media-sound/mt-daapd/Manifest18
-rw-r--r--media-sound/mt-daapd/files/digest-mt-daapd-0.2.43
-rw-r--r--media-sound/mt-daapd/mt-daapd-0.2.4.ebuild133
4 files changed, 154 insertions, 7 deletions
diff --git a/media-sound/mt-daapd/ChangeLog b/media-sound/mt-daapd/ChangeLog
index 27c5e86c64c8..a5d60021e235 100644
--- a/media-sound/mt-daapd/ChangeLog
+++ b/media-sound/mt-daapd/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-sound/mt-daapd
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-sound/mt-daapd/ChangeLog,v 1.17 2006/02/28 17:10:19 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mt-daapd/ChangeLog,v 1.18 2006/03/02 11:37:47 flameeyes Exp $
+
+*mt-daapd-0.2.4 (02 Mar 2006)
+
+ 02 Mar 2006; Diego Pettenò <flameeyes@gentoo.org> +mt-daapd-0.2.4.ebuild:
+ Add new version to fix issues with iTunes 6.0.4.
*mt-daapd-0.3.0_pre20060227 (28 Feb 2006)
diff --git a/media-sound/mt-daapd/Manifest b/media-sound/mt-daapd/Manifest
index 342399d25ae9..bc6f41842517 100644
--- a/media-sound/mt-daapd/Manifest
+++ b/media-sound/mt-daapd/Manifest
@@ -1,15 +1,18 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-MD5 e96da25c9e334214eb8bfc1c2cee2c82 ChangeLog 3568
-RMD160 ab1bcec4a68aedb49c9657077900e8960bb8f66f ChangeLog 3568
-SHA256 75b51ebe55b23272091bb5cf1a7fe8626ff26a6009ef1642bfc1a065da046ae6 ChangeLog 3568
+MD5 c5f56a08b8c7c06006b62e590601210f ChangeLog 3728
+RMD160 6ad2d9037670cb5695837742f30536081f254f9f ChangeLog 3728
+SHA256 732404537c197c56da4c341c79be807d6d16060a15429ce184e81faa2937b237 ChangeLog 3728
MD5 804311ec22b1fba76a61411d0c752a15 files/digest-mt-daapd-0.2.1.1 68
RMD160 774b47dcfa875659f0da6eeed6fa76062868d157 files/digest-mt-daapd-0.2.1.1 68
SHA256 857f910fe65da798f7ee7f3eb3264aaf5202a6d73a2f79fed699977e21f301ba files/digest-mt-daapd-0.2.1.1 68
MD5 a83c2c2bb548a45b8b1294e009aff64d files/digest-mt-daapd-0.2.3-r2 66
RMD160 e3308391eda8bffed09fdd9494d7739303a61ddf files/digest-mt-daapd-0.2.3-r2 66
SHA256 da0f3c058aca6cc1c944f8bc9104e5037d2e8c64766602532314d55e8e5b1799 files/digest-mt-daapd-0.2.3-r2 66
+MD5 a5b2b709b9dc7706dfc6bea74d5c8cd8 files/digest-mt-daapd-0.2.4 244
+RMD160 df99fe6a1b4856a6ac473887207da3a4ec6becf0 files/digest-mt-daapd-0.2.4 244
+SHA256 25ac081e15ba74c03bdf1a071eb2f713e7861eafcd9deb0d863db8b238e4421c files/digest-mt-daapd-0.2.4 244
MD5 9122db32bc5e7f504ecce2160d4d5018 files/digest-mt-daapd-0.3.0_pre20060220 265
RMD160 82c71a6fbe178c21b889091423d894fa6eafcdb4 files/digest-mt-daapd-0.3.0_pre20060220 265
SHA256 89d058d91b73e2cb548cbb925c40c52d8412989c37341ae53a599f4862205737 files/digest-mt-daapd-0.3.0_pre20060220 265
@@ -43,6 +46,9 @@ SHA256 4287301a256053216fe2991cf8a98154a566a5202e45d53e2ac713061bda7b9b mt-daapd
MD5 4e20971d10008c86db9e602e3b738fa1 mt-daapd-0.2.3-r2.ebuild 3500
RMD160 1ec9be70b801403798f4dd38903d0b2ca67a81df mt-daapd-0.2.3-r2.ebuild 3500
SHA256 517f1bf2397d3dc2e5952502d2f554dff0307ed7980cfdb881f0681da6855279 mt-daapd-0.2.3-r2.ebuild 3500
+MD5 968d9cce3ac940d07e1f331e71927441 mt-daapd-0.2.4.ebuild 3525
+RMD160 a053e3bb72c79afb981eac62a987ccb06109404f mt-daapd-0.2.4.ebuild 3525
+SHA256 79dc354c7c71b4a1075adfde2030b8ddac50a0f3ddf9ffb1a088309941fb1068 mt-daapd-0.2.4.ebuild 3525
MD5 14e77e14a29c7d8e10d4039ada0e51be mt-daapd-0.3.0_pre20060220.ebuild 3901
RMD160 81add0d49960306b48729a8bba48bc7b34b07d08 mt-daapd-0.3.0_pre20060220.ebuild 3901
SHA256 636c6e7d06cba26a2b4b0bcd82405ffe8aa52b86173708399d012c81789f19fa mt-daapd-0.3.0_pre20060220.ebuild 3901
@@ -52,7 +58,7 @@ SHA256 3bfe5feff53f7d7c817eeb79fce67e2172f97153b6c9b6241bf0ab349613ee0c mt-daapd
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (GNU/Linux)
-iD8DBQFEBIQRAiZjviIA2XgRAtqbAJ4oln5DO3Li6uZIFe4Zt8ludEndSgCfXJNG
-/q5DNysyLfOxzO0CFYSZFB8=
-=DpEV
+iD8DBQFEBtkeAiZjviIA2XgRAkJFAJ9iUSvU3dTNw5EOeqNB8AYFKtXgAwCgi6iv
+qXBt7+9iD35NNm5U5bSA4jQ=
+=HjbZ
-----END PGP SIGNATURE-----
diff --git a/media-sound/mt-daapd/files/digest-mt-daapd-0.2.4 b/media-sound/mt-daapd/files/digest-mt-daapd-0.2.4
new file mode 100644
index 000000000000..945b60242508
--- /dev/null
+++ b/media-sound/mt-daapd/files/digest-mt-daapd-0.2.4
@@ -0,0 +1,3 @@
+MD5 2e1cdbe6b94ef153e915806f80a28dca mt-daapd-0.2.4.tar.gz 405168
+RMD160 babb3f98a254aa4a014b5e7adb96276fafc84fac mt-daapd-0.2.4.tar.gz 405168
+SHA256 8239ebbba5b815e5668aa235be52f2ea66f1a81bb80f4f6ddda2cc3e69f7b7ef mt-daapd-0.2.4.tar.gz 405168
diff --git a/media-sound/mt-daapd/mt-daapd-0.2.4.ebuild b/media-sound/mt-daapd/mt-daapd-0.2.4.ebuild
new file mode 100644
index 000000000000..e382cfe01aa7
--- /dev/null
+++ b/media-sound/mt-daapd/mt-daapd-0.2.4.ebuild
@@ -0,0 +1,133 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-sound/mt-daapd/mt-daapd-0.2.4.ebuild,v 1.1 2006/03/02 11:37:47 flameeyes Exp $
+
+inherit eutils autotools
+
+MY_P="${P/_/-}"
+
+DESCRIPTION="A multi-threaded implementation of Apple's DAAP server"
+HOMEPAGE="http://www.mt-daapd.org/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc-macos ~sh ~sparc ~x86"
+IUSE="howl vorbis avahi"
+
+DEPEND="sys-libs/zlib
+ media-libs/libid3tag
+ sys-libs/gdbm
+ howl? ( !avahi? ( >=net-misc/howl-0.9.2 )
+ avahi? ( net-dns/avahi ) )
+ vorbis? ( media-libs/libvorbis )"
+
+pkg_setup() {
+ if use howl && use avahi && ! built_with_use net-dns/avahi howl-compat; then
+ eerror "You requested avahi support, but this package requires"
+ eerror "the howl-compat support enabled in net-dns/avahi to work"
+ eerror "with it."
+ eerror
+ eerror "Please recompile net-dns/avahi with +howl-compat."
+ die "Missing howl-compat support in avahi."
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch "${FILESDIR}/${PN}-0.2.3-pidfile.patch"
+ epatch "${FILESDIR}/${PN}-0.2.3-persist-fix.patch"
+ epatch "${FILESDIR}/${PN}-0.2.3-sparc.patch"
+ epatch "${FILESDIR}/${PN}-0.2.3-libsorder.patch"
+
+ eautoreconf
+}
+
+src_compile() {
+ local myconf=""
+ local howlincludes
+
+ # howl support?
+ if use howl; then
+ use avahi && \
+ howlincludes="/usr/include/avahi-compat-howl" || \
+ howlincludes="/usr/include/howl"
+
+ myconf="${myconf}
+ --enable-howl
+ --with-howl-libs=/usr/$(get_libdir)
+ --with-howl-includes=${howlincludes}"
+ fi
+
+ # Bug 65723
+ if use vorbis; then
+ myconf="${myconf} --enable-oggvorbis"
+ fi
+
+ econf ${myconf} || die "configure failed"
+ emake || die "make failed"
+
+ cp ${FILESDIR}/${PN}.init.2 ${WORKDIR}/initd
+ if ! use howl; then
+ sed -i -e '/#USEHOWL/d' ${WORKDIR}/initd
+ elif ! use avahi; then
+ sed -i -e 's:#USEHOWL ::' ${WORKDIR}/initd
+ else
+ sed -i -e 's:#USEHOWL ::; s:mDNSResponder:avahi-daemon:' ${WORKDIR}/initd
+ fi
+}
+
+src_install() {
+ make DESTDIR=${D} install || die "make install failed"
+
+ insinto /etc
+ newins contrib/mt-daapd.conf mt-daapd.conf.example
+ doins contrib/mt-daapd.playlist
+
+ newinitd ${WORKDIR}/initd ${PN}
+
+ keepdir /var/cache/mt-daapd /etc/mt-daapd.d
+
+ dodoc AUTHORS CREDITS ChangeLog NEWS README TODO
+}
+
+pkg_postinst() {
+ einfo
+ einfo "You have to configure your mt-daapd.conf following"
+ einfo "/etc/mt-daapd.conf.example file."
+ einfo
+
+ if use howl; then
+ use avahi && \
+ howlservice="avahi-daemon" || \
+ howlservice="mDNSResponder"
+
+ einfo
+ einfo "Since you want to use howl instead of the internal mdnsd"
+ einfo "you need to make sure that you have ${howlservice} configured"
+ einfo "and running to use mt-daapd."
+ einfo
+
+ if use avahi; then
+ einfo "Avahi support is currently experimental, it does not work"
+ einfo "as intended when using more than one mt-daapd instance."
+ einfo "If you want to run more than one mt-daapd, just use the"
+ einfo "internal mdnsd by building with -howl flag."
+ fi
+ fi
+
+ if use vorbis; then
+ einfo
+ einfo "You need to edit you extensions list in /etc/mt-daapd.conf"
+ einfo "if you want your mt-daapd to serve ogg files."
+ einfo
+ fi
+
+ einfo
+ einfo "If you want to start more than one ${PN} service, symlink"
+ einfo "/etc/init.d/${PN} to /etc/init.d/${PN}.<name>, and it will"
+ einfo "load the data from /etc/${PN}.d/<name>.conf."
+ einfo "Make sure that you have different cache directories for them."
+ einfo
+}