diff options
author | Jan Brinkmann <luckyduck@gentoo.org> | 2005-04-29 21:37:17 +0000 |
---|---|---|
committer | Jan Brinkmann <luckyduck@gentoo.org> | 2005-04-29 21:37:17 +0000 |
commit | 79641fbaa8d74d54c878db3f3ca25ec2a7c37d2b (patch) | |
tree | a3965446b3076150b8c6eb8e06b85f632d673d75 /media-sound | |
parent | Added a new revision for libao which builds fine on systems where dlopen() is... (diff) | |
download | historical-79641fbaa8d74d54c878db3f3ca25ec2a7c37d2b.tar.gz historical-79641fbaa8d74d54c878db3f3ca25ec2a7c37d2b.tar.bz2 historical-79641fbaa8d74d54c878db3f3ca25ec2a7c37d2b.zip |
Initial import. Ebuilds based on the contribution by Frederik Kunz <frederik.kunz@web.de>. Fixes #78100
Package-Manager: portage-2.0.51.20-r5
Diffstat (limited to 'media-sound')
-rw-r--r-- | media-sound/mt-daapd/ChangeLog | 11 | ||||
-rw-r--r-- | media-sound/mt-daapd/Manifest | 15 | ||||
-rw-r--r-- | media-sound/mt-daapd/files/digest-mt-daapd-0.2.1.1 | 1 | ||||
-rw-r--r-- | media-sound/mt-daapd/files/mt-daapd.init | 23 | ||||
-rw-r--r-- | media-sound/mt-daapd/metadata.xml | 5 | ||||
-rw-r--r-- | media-sound/mt-daapd/mt-daapd-0.2.1.1.ebuild | 84 |
6 files changed, 139 insertions, 0 deletions
diff --git a/media-sound/mt-daapd/ChangeLog b/media-sound/mt-daapd/ChangeLog new file mode 100644 index 000000000000..cf80d7e715ac --- /dev/null +++ b/media-sound/mt-daapd/ChangeLog @@ -0,0 +1,11 @@ +# 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.1 2005/04/29 21:37:17 luckyduck Exp $ + +*mt-daapd-0.2.1.1 (29 Apr 2005) + + 29 Apr 2005; Jan Brinkmann <luckyduck@gentoo.org> +files/mt-daapd.init, + +metadata.xml, +mt-daapd-0.2.1.1.ebuild: + Initial import. Ebuilds based on the contribution by Frederik Kunz + <frederik.kunz@web.de>. Fixes #78100 + diff --git a/media-sound/mt-daapd/Manifest b/media-sound/mt-daapd/Manifest new file mode 100644 index 000000000000..46b53d62e181 --- /dev/null +++ b/media-sound/mt-daapd/Manifest @@ -0,0 +1,15 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 1800915cdb931159b4d3ce2e31184484 mt-daapd-0.2.1.1.ebuild 1971 +MD5 efdf0eabece6bebaa0d9b9af0dce9435 ChangeLog 475 +MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158 +MD5 804311ec22b1fba76a61411d0c752a15 files/digest-mt-daapd-0.2.1.1 68 +MD5 d14aca83cf21b8c519b42962ba276e42 files/mt-daapd.init 540 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.0 (GNU/Linux) + +iD8DBQFCcqkY06ebR+OMO78RAuTqAJ9GSFsZBq29A+jI/i1VJEPCrpQD7wCZAXdr +YVXfQ+PzwZpjgbXHC/XCfY0= +=7OPh +-----END PGP SIGNATURE----- diff --git a/media-sound/mt-daapd/files/digest-mt-daapd-0.2.1.1 b/media-sound/mt-daapd/files/digest-mt-daapd-0.2.1.1 new file mode 100644 index 000000000000..b641f8a0410c --- /dev/null +++ b/media-sound/mt-daapd/files/digest-mt-daapd-0.2.1.1 @@ -0,0 +1 @@ +MD5 87356d2750ad82388a58d901aa566465 mt-daapd-0.2.1.1.tar.gz 386055 diff --git a/media-sound/mt-daapd/files/mt-daapd.init b/media-sound/mt-daapd/files/mt-daapd.init new file mode 100644 index 000000000000..5b2e125907ba --- /dev/null +++ b/media-sound/mt-daapd/files/mt-daapd.init @@ -0,0 +1,23 @@ +#!/sbin/runscript + +depend() { + need net + provide daap +} + +start() { + ebegin "Starting mt-daapd DAAP server" + + start-stop-daemon --start --quiet --pidfile /var/run/mt-daapd.pid \ + --startas /usr/sbin/mt-daapd + eend $? "Failed to start mt-daapd" +} + +stop() { + ebegin "Stopping mt-daapd DAAP server" + start-stop-daemon --stop --quiet --pidfile /var/run/mt-daapd.pid + eend $? "Failed to stop mt-daapd" + + # clean stale pidfile + [ -f /var/run/mt-daapd.pid ] && rm -f /var/run/mt-daapd.pid +} diff --git a/media-sound/mt-daapd/metadata.xml b/media-sound/mt-daapd/metadata.xml new file mode 100644 index 000000000000..e1774e3d9ad7 --- /dev/null +++ b/media-sound/mt-daapd/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>sound</herd> +</pkgmetadata> diff --git a/media-sound/mt-daapd/mt-daapd-0.2.1.1.ebuild b/media-sound/mt-daapd/mt-daapd-0.2.1.1.ebuild new file mode 100644 index 000000000000..ebb63b3aa823 --- /dev/null +++ b/media-sound/mt-daapd/mt-daapd-0.2.1.1.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.1.1.ebuild,v 1.1 2005/04/29 21:37:17 luckyduck Exp $ + +inherit flag-o-matic eutils + +MY_P="${P/_/-}" + +DESCRIPTION="A multi-threaded implementation of Apple's DAAP server" +HOMEPAGE="http://mt-daapd.sourceforge.net" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug howl vorbis" + +DEPEND="sys-libs/zlib + media-libs/libid3tag + sys-libs/gdbm + howl? ( >=net-misc/howl-0.9.2 ) + debug? ( dev-util/efence ) + vorbis? ( media-libs/libvorbis )" + +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="--enable-howl --with-howl-libs=/usr/lib --disable-mdns" + myconf="${myconf} --with-howl-includes=/usr/include/howl/" + else + myconf="--disable-howl" + fi + + # vorbis support? + use vorbis && myconf="${myconf} --enable-oggvorbis" + + econf ${myconf} || die "configure failed" + emake || die "make failed" +} + +src_install() { + make DESTDIR=${D} install || die "make install failed" + + dodoc README* NEWS TODO + + insinto /etc/ + doins contrib/mt-daapd.conf + doins contrib/mt-daapd.playlist + + dodir /usr/share/mt-daapd + dodir /usr/share/mt-daapd/admin-root + + diropts -m0777 + dodir /var/cache/mt-daapd + + insinto /usr/share/mt-daapd/admin-root + doins admin-root/* + + newinitd ${FILESDIR}/mt-daapd.init mt-daapd +} + +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 +} |