diff options
author | Steve Dibb <beandog@gentoo.org> | 2010-02-23 15:49:31 +0000 |
---|---|---|
committer | Steve Dibb <beandog@gentoo.org> | 2010-02-23 15:49:31 +0000 |
commit | e6c672c49e5a195cddf746fb071baeb7ef676993 (patch) | |
tree | 6cce34dfa46bde13a5121a8f926b5453e575029a /media-sound/gnump3d | |
parent | Marked ~ppc for bug #298183. (diff) | |
download | historical-e6c672c49e5a195cddf746fb071baeb7ef676993.tar.gz historical-e6c672c49e5a195cddf746fb071baeb7ef676993.tar.bz2 historical-e6c672c49e5a195cddf746fb071baeb7ef676993.zip |
Add runtime dep on sox
Package-Manager: portage-2.2_rc62/cvs/Linux x86_64
Diffstat (limited to 'media-sound/gnump3d')
-rw-r--r-- | media-sound/gnump3d/ChangeLog | 7 | ||||
-rw-r--r-- | media-sound/gnump3d/Manifest | 3 | ||||
-rw-r--r-- | media-sound/gnump3d/gnump3d-3.0-r1.ebuild | 73 |
3 files changed, 81 insertions, 2 deletions
diff --git a/media-sound/gnump3d/ChangeLog b/media-sound/gnump3d/ChangeLog index 703c9837b775..43eda47e3cf9 100644 --- a/media-sound/gnump3d/ChangeLog +++ b/media-sound/gnump3d/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-sound/gnump3d # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-sound/gnump3d/ChangeLog,v 1.66 2010/02/23 15:39:49 beandog Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-sound/gnump3d/ChangeLog,v 1.67 2010/02/23 15:49:31 beandog Exp $ + +*gnump3d-3.0-r1 (23 Feb 2010) + + 23 Feb 2010; Steve Dibb <beandog@gentoo.org> +gnump3d-3.0-r1.ebuild: + Add runtime dep on sox 23 Feb 2010; Steve Dibb <beandog@gentoo.org> gnump3d-3.0.ebuild: Update homepage diff --git a/media-sound/gnump3d/Manifest b/media-sound/gnump3d/Manifest index 9fefe23d5f16..17837a75169e 100644 --- a/media-sound/gnump3d/Manifest +++ b/media-sound/gnump3d/Manifest @@ -1,6 +1,7 @@ AUX gnump3d.conf.d 159 RMD160 8578277660b38c694741242c0976dcbec025c79e SHA1 46f252357dfc09a41040f03e2cfac6e5d3ba1078 SHA256 f78bbe10fd4b7e1fdb860a3fa99490cdb98e827ff35c1e8077da77f5bf0340f2 AUX gnump3d.init.d 840 RMD160 0702b419c3d1532d8d78fba41ced340f3f811a45 SHA1 651a82db74aa9d4de2c40070722bfea2e424e776 SHA256 08e2f0d2dd97be4d6c52cf229e519d7b96fe3a8e3b582240d2e639875cfd2e7f DIST gnump3d-3.0.tar.bz2 633215 RMD160 c0c3cbe31a6961675636309e82f4ff116db323f1 SHA1 3ba3ec3001084ec59f3b75769ae84cef467654d7 SHA256 1ac5bd0e850b0e18ccd9d19219f5108fa84b50d8ae3825a361e8b907eab7f19c +EBUILD gnump3d-3.0-r1.ebuild 2051 RMD160 8ca5bebe0ad8678e634db3fb998c95d59382f75b SHA1 0c2abf0b683be7c4015e7b98bc4d46d13d04e9f2 SHA256 a5fc3f8b7504e5cb7b5e08928abb6fda7a7768470b918900b01f8bf35dd582d9 EBUILD gnump3d-3.0.ebuild 1701 RMD160 2a9f2a3a126865dce955370474a7595c5e86ba9d SHA1 10aaff2f0d11733ff4096bdb1abc98b8f49bb1f9 SHA256 a8c2e6cfc4217fc91da2cbc4069208c73552784a9c09a05f31385fd59c5b6046 -MISC ChangeLog 9033 RMD160 f553c0c37f516b075be2b252868c001e086231c3 SHA1 a070514a9790f4fa19e98de523b2e6bf56205bb7 SHA256 e1b5cd85764c1f3a8b0dd288121399ea9bbe1a2fcdebeb07a9e7de6dbe202c06 +MISC ChangeLog 9161 RMD160 81442ea528ebe846ebfef2a3a66d14f185bb14ce SHA1 c20c56a5eb26427860a188267827bff7f9aca34a SHA256 a01d0e966a489faa5b9e31295ed2c74cdb6264a85e70b6f227ca7ef1adee56c1 MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b diff --git a/media-sound/gnump3d/gnump3d-3.0-r1.ebuild b/media-sound/gnump3d/gnump3d-3.0-r1.ebuild new file mode 100644 index 000000000000..109fa9965c66 --- /dev/null +++ b/media-sound/gnump3d/gnump3d-3.0-r1.ebuild @@ -0,0 +1,73 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-sound/gnump3d/gnump3d-3.0-r1.ebuild,v 1.1 2010/02/23 15:49:31 beandog Exp $ + +inherit eutils multilib + +DESCRIPTION="A streaming server for MP3, OGG vorbis and other streamable files" +HOMEPAGE="http://www.gnu.org/software/gnump3d/" +SRC_URI="http://savannah.gnu.org/download/${PN}/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="sox" + +RDEPEND="dev-lang/perl + sox? ( media-sound/sox )" +DEPEND="dev-lang/perl + sys-apps/sed" + +RESTRICT="test" + +pkg_setup() { + enewuser gnump3d '' '' '' nogroup + LIBDIR=/usr/$(get_libdir) +} + +src_compile() { :; } + +src_install() { + PERLDIR="`perl bin/getlibdir`" + + insinto ${PERLDIR}/gnump3d + doins lib/gnump3d/*.pm + insinto ${PERLDIR}/gnump3d/plugins + doins lib/gnump3d/plugins/*.pm + insinto ${PERLDIR}/gnump3d/lang + doins lib/gnump3d/lang/*.pm + + dobin bin/gnump3d2 bin/gnump3d-top bin/gnump3d-index + dosym /usr/bin/gnump3d2 /usr/bin/gnump3d + doman man/*.1 + + insinto /usr/share/gnump3d + doins -r templates/* + + insinto /etc/gnump3d + doins etc/gnump3d.conf etc/mime.types etc/file.types + dosed "s,PLUGINDIR,${PERLDIR},g" /etc/gnump3d/gnump3d.conf + dosed 's,^user *= *\(.*\)$,user = gnump3d,g' /etc/gnump3d/gnump3d.conf + + dodoc AUTHORS ChangeLog DOWNSAMPLING PLUGINS README SUPPORT TODO + + newinitd "${FILESDIR}"/${PN}.init.d gnump3d + newconfd "${FILESDIR}"/${PN}.conf.d gnump3d + + keepdir /var/log/gnump3d + keepdir /var/cache/gnump3d/serving + + fowners gnump3d:nogroup /var/log/gnump3d /var/cache/gnump3d +} + +pkg_postinst() { + elog "Please edit your /etc/gnump3d/gnump3d.conf before running" + elog "/etc/init.d/gnump3d start" + elog "" + elog "At the very least, you will need to change the root directory" + elog "where music is found. By default, gnump3d will also listen" + elog "to any address on port 8888" + elog "" + elog "You can optionally use sox to downmix the quality of streamed" + elog "music in realtime for slow connections." +} |