diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-02-28 17:10:19 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2006-02-28 17:10:19 +0000 |
commit | e058b04d14be9e3e384ddc75e8d2dbb720a3815f (patch) | |
tree | bb1ad83551adfbb2f02004f5e293d933f1e6b98f /media-sound | |
parent | version bump (diff) | |
download | gentoo-2-e058b04d14be9e3e384ddc75e8d2dbb720a3815f.tar.gz gentoo-2-e058b04d14be9e3e384ddc75e8d2dbb720a3815f.tar.bz2 gentoo-2-e058b04d14be9e3e384ddc75e8d2dbb720a3815f.zip |
Add new nightlie, leave the old one there as it should be more stable.
(Portage version: 2.1_pre5-r1)
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/mt-daapd/ChangeLog | 8 | ||||
-rw-r--r-- | media-sound/mt-daapd/Manifest | 16 | ||||
-rw-r--r-- | media-sound/mt-daapd/files/digest-mt-daapd-0.3.0_pre20060227 | 3 | ||||
-rw-r--r-- | media-sound/mt-daapd/mt-daapd-0.3.0_pre20060227.ebuild | 146 |
4 files changed, 162 insertions, 11 deletions
diff --git a/media-sound/mt-daapd/ChangeLog b/media-sound/mt-daapd/ChangeLog index 5b647e8d710c..27c5e86c64c8 100644 --- a/media-sound/mt-daapd/ChangeLog +++ b/media-sound/mt-daapd/ChangeLog @@ -1,6 +1,12 @@ # 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.16 2006/02/21 14:01:02 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/mt-daapd/ChangeLog,v 1.17 2006/02/28 17:10:19 flameeyes Exp $ + +*mt-daapd-0.3.0_pre20060227 (28 Feb 2006) + + 28 Feb 2006; Diego Pettenò <flameeyes@gentoo.org> + +mt-daapd-0.3.0_pre20060227.ebuild: + Add new nightlie, leave the old one there as it should be more stable. *mt-daapd-0.3.0_pre20060220 (21 Feb 2006) diff --git a/media-sound/mt-daapd/Manifest b/media-sound/mt-daapd/Manifest index ef1936985560..2671ffa4a400 100644 --- a/media-sound/mt-daapd/Manifest +++ b/media-sound/mt-daapd/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - MD5 c62e08e0e3597b2dcc3fb7d16b470234 ChangeLog 3360 RMD160 7d398f5b9de64edd98a9a71c8b5fbeb914d46779 ChangeLog 3360 SHA256 4191828e0f8159f0dd1f6f0df7b53fca522918aa52d9892d592dc9bedeb1b84e ChangeLog 3360 @@ -13,6 +10,9 @@ SHA256 da0f3c058aca6cc1c944f8bc9104e5037d2e8c64766602532314d55e8e5b1799 files/di 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 +MD5 c0f139ae9db48ace3b446d998eb43568 files/digest-mt-daapd-0.3.0_pre20060227 265 +RMD160 5f09a965cb1a536b000843a41c5a1f4169585c95 files/digest-mt-daapd-0.3.0_pre20060227 265 +SHA256 44bf7e842c8b2f775b4644062de3b0f3fb103f5fa6f32ffcf6583700e77fac1e files/digest-mt-daapd-0.3.0_pre20060227 265 MD5 55238544e58e1a12aa7a405779d03fb1 files/mt-daapd-0.2.3-libsorder.patch 5162 RMD160 10e8197fee61223e96942a9d130dd616d1bd3b46 files/mt-daapd-0.2.3-libsorder.patch 5162 SHA256 ed726102ea4c180901c0adfcdaaf277185e9cf95e5579351384f2aa77ca60afd files/mt-daapd-0.2.3-libsorder.patch 5162 @@ -43,10 +43,6 @@ SHA256 517f1bf2397d3dc2e5952502d2f554dff0307ed7980cfdb881f0681da6855279 mt-daapd 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 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2.1 (GNU/Linux) - -iD8DBQFD+x02AiZjviIA2XgRAjkwAKCPrgDlxWKI7DFfpCA6uWvgJkY6UgCgqVQK -iJdAJYhln1OAtpjbBQH52NE= -=K2V1 ------END PGP SIGNATURE----- +MD5 14e77e14a29c7d8e10d4039ada0e51be mt-daapd-0.3.0_pre20060227.ebuild 3901 +RMD160 81add0d49960306b48729a8bba48bc7b34b07d08 mt-daapd-0.3.0_pre20060227.ebuild 3901 +SHA256 636c6e7d06cba26a2b4b0bcd82405ffe8aa52b86173708399d012c81789f19fa mt-daapd-0.3.0_pre20060227.ebuild 3901 diff --git a/media-sound/mt-daapd/files/digest-mt-daapd-0.3.0_pre20060227 b/media-sound/mt-daapd/files/digest-mt-daapd-0.3.0_pre20060227 new file mode 100644 index 000000000000..82ed1041e345 --- /dev/null +++ b/media-sound/mt-daapd/files/digest-mt-daapd-0.3.0_pre20060227 @@ -0,0 +1,3 @@ +MD5 976419691019c303c533b28ddb710598 mt-daapd-cvs-20060227.tar.gz 801947 +RMD160 cc4624e6f3077ed145febf1bf749afb5264f67bf mt-daapd-cvs-20060227.tar.gz 801947 +SHA256 fe55bdff7e9d7f3210ff66675fe1673e18fb7334396920d523b69b671d5043fe mt-daapd-cvs-20060227.tar.gz 801947 diff --git a/media-sound/mt-daapd/mt-daapd-0.3.0_pre20060227.ebuild b/media-sound/mt-daapd/mt-daapd-0.3.0_pre20060227.ebuild new file mode 100644 index 000000000000..98b9e129c1ea --- /dev/null +++ b/media-sound/mt-daapd/mt-daapd-0.3.0_pre20060227.ebuild @@ -0,0 +1,146 @@ +# 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.3.0_pre20060227.ebuild,v 1.1 2006/02/28 17:10:19 flameeyes Exp $ + +inherit eutils flag-o-matic + +CVS="${PV#*pre}" + +if [[ -n ${CVS} ]] ; then + MY_P="${PN}-cvs-${CVS}" + SRC_URI="http://nightlies.mt-daapd.org/${MY_P}.tar.gz" +else + MY_P="${P/_/-}" + SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" +fi + +S="${WORKDIR}/${MY_P}" + +DESCRIPTION="A multi-threaded implementation of Apple's DAAP server" +HOMEPAGE="http://www.mt-daapd.org/" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc-macos ~sh ~sparc ~x86" +IUSE="howl vorbis avahi sqlite3 flac" + +DEPEND="sys-libs/zlib + media-libs/libid3tag + !sqlite3? ( =dev-db/sqlite-2* ) + sqlite3? ( =dev-db/sqlite-3* ) + howl? ( !avahi? ( >=net-misc/howl-0.9.2 ) + avahi? ( net-dns/avahi ) ) + vorbis? ( media-libs/libvorbis ) + flac? ( media-libs/flac )" + +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 + + if use sqlite && use sqlite3; then + eerror "You can't enable both sqlite 2.x and sqlite 3.x suppor at the" + eerror "same time. Please drop one of the useflag." + die "Invalid use of sqlite flags" + fi +} + +src_compile() { + local myconf="" + local howlincludes + + append-flags -fno-strict-aliasing + + # 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 \ + $(use_enable vorbis oggvorbis) \ + $(use_enable flac) \ + $(use_enable !sqlite3 sqlite) \ + $(use_enable sqlite3) \ + ${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 +} |