From 05195eff70673028fd68c29f88372d7c83120e56 Mon Sep 17 00:00:00 2001 From: Matsuu Takuto Date: Mon, 3 Oct 2005 16:08:13 +0000 Subject: [PATCH] Fixed #106032, #94899, #96202. Package-Manager: portage-2.0.51.22-r2 --- media-sound/mt-daapd/ChangeLog | 9 +- media-sound/mt-daapd/Manifest | 6 +- .../mt-daapd/files/digest-mt-daapd-0.2.3 | 1 + media-sound/mt-daapd/mt-daapd-0.2.3.ebuild | 84 +++++++++++++++++++ 4 files changed, 97 insertions(+), 3 deletions(-) create mode 100644 media-sound/mt-daapd/files/digest-mt-daapd-0.2.3 create mode 100644 media-sound/mt-daapd/mt-daapd-0.2.3.ebuild diff --git a/media-sound/mt-daapd/ChangeLog b/media-sound/mt-daapd/ChangeLog index a668975c6332..ee7b73a4fffd 100644 --- a/media-sound/mt-daapd/ChangeLog +++ b/media-sound/mt-daapd/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-sound/mt-daapd # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/mt-daapd/ChangeLog,v 1.4 2005/07/25 13:42:03 dholm Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/mt-daapd/ChangeLog,v 1.5 2005/10/03 16:08:13 matsuu Exp $ + +*mt-daapd-0.2.3 (03 Oct 2005) + + 03 Oct 2005; MATSUU Takuto +mt-daapd-0.2.3.ebuild: + Version bumped, Bug 106032. + Fixed howl USE flag problem, Bug 94899. + Fixed vorbis USE flag problem, Bug 96202. 25 Jul 2005; David Holm mt-daapd-0.2.1.1.ebuild: Added to ~ppc. diff --git a/media-sound/mt-daapd/Manifest b/media-sound/mt-daapd/Manifest index ee6dec59ad5e..af867a0c6e65 100644 --- a/media-sound/mt-daapd/Manifest +++ b/media-sound/mt-daapd/Manifest @@ -1,5 +1,7 @@ -MD5 275290f731f502f3d778c53bf5515bf4 ChangeLog 760 -MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158 MD5 880127a188cf908b0ad84221e48eeebf mt-daapd-0.2.1.1.ebuild 1936 +MD5 df0e93451da199f11fff8660bcb6095b mt-daapd-0.2.3.ebuild 1955 +MD5 715830d23418f9759a1398fdd03f6b0c ChangeLog 982 +MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158 +MD5 a83c2c2bb548a45b8b1294e009aff64d files/digest-mt-daapd-0.2.3 66 MD5 804311ec22b1fba76a61411d0c752a15 files/digest-mt-daapd-0.2.1.1 68 MD5 d14aca83cf21b8c519b42962ba276e42 files/mt-daapd.init 540 diff --git a/media-sound/mt-daapd/files/digest-mt-daapd-0.2.3 b/media-sound/mt-daapd/files/digest-mt-daapd-0.2.3 new file mode 100644 index 000000000000..b3d3908ff384 --- /dev/null +++ b/media-sound/mt-daapd/files/digest-mt-daapd-0.2.3 @@ -0,0 +1 @@ +MD5 17aa3fa0601cbe172d18f53489141e5a mt-daapd-0.2.3.tar.gz 406035 diff --git a/media-sound/mt-daapd/mt-daapd-0.2.3.ebuild b/media-sound/mt-daapd/mt-daapd-0.2.3.ebuild new file mode 100644 index 000000000000..a7bb1e34a734 --- /dev/null +++ b/media-sound/mt-daapd/mt-daapd-0.2.3.ebuild @@ -0,0 +1,84 @@ +# Copyright 1999-2005 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.3.ebuild,v 1.1 2005/10/03 16:08:13 matsuu Exp $ + +inherit flag-o-matic eutils + +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 ~x86" +IUSE="debug howl vorbis" + +DEPEND="sys-libs/zlib + media-libs/libid3tag + sys-libs/gdbm + debug? ( dev-util/efence ) + howl? ( >=net-misc/howl-0.9.2 ) + vorbis? ( media-libs/libvorbis )" + +src_unpack() { + unpack ${A} + cd ${S} + sed -i -e 's:/usr/local:/usr:' contrib/mt-daapd-gentoo || die +} + +src_compile() { + local myconf="" + + # debugging support? + if use debug; then + myconf="${myconf} --enable-debug --enable-debug-memory --enable-efence" + fi + + # howl support? + if use howl; then + myconf="${myconf} --enable-howl" + myconf="${myconf} --with-howl-libs=/usr/$(get_libdir)" + myconf="${myconf} --with-howl-includes=/usr/include/howl" + fi + + # Bug 65723 + if use vorbis; then + myconf="${myconf} --enable-oggvorbis" + fi + + econf ${myconf} || die "configure failed" + emake || die "make failed" +} + +src_install() { + make DESTDIR=${D} install || die "make install failed" + + insinto /etc + doins contrib/mt-daapd.conf + doins contrib/mt-daapd.playlist + + newinitd contrib/mt-daapd-gentoo mt-daapd + + keepdir /var/cache/mt-daapd + + dodoc AUTHORS CREDITS ChangeLog INSTALL NEWS README TODO +} + +pkg_postinst() { + if use howl; then + einfo + einfo "Since you want to use howl instead of the internal mdnsd" + einfo "you need to make sure that you have mDNSResponder configured" + einfo "and running to use mt-daapd." + einfo + 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 +} -- 2.26.2