Gentoo Archives: gentoo-commits

From: "Steve Dibb (beandog)" <beandog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/gnump3d: ChangeLog gnump3d-3.0-r1.ebuild
Date: Tue, 23 Feb 2010 15:49:33
Message-Id: E1Njx0t-0000jH-In@stork.gentoo.org
1 beandog 10/02/23 15:49:31
2
3 Modified: ChangeLog
4 Added: gnump3d-3.0-r1.ebuild
5 Log:
6 Add runtime dep on sox
7 (Portage version: 2.2_rc62/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.67 media-sound/gnump3d/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/gnump3d/ChangeLog?rev=1.67&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/gnump3d/ChangeLog?rev=1.67&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/gnump3d/ChangeLog?r1=1.66&r2=1.67
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-sound/gnump3d/ChangeLog,v
19 retrieving revision 1.66
20 retrieving revision 1.67
21 diff -u -r1.66 -r1.67
22 --- ChangeLog 23 Feb 2010 15:39:49 -0000 1.66
23 +++ ChangeLog 23 Feb 2010 15:49:31 -0000 1.67
24 @@ -1,6 +1,11 @@
25 # ChangeLog for media-sound/gnump3d
26 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-sound/gnump3d/ChangeLog,v 1.66 2010/02/23 15:39:49 beandog Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-sound/gnump3d/ChangeLog,v 1.67 2010/02/23 15:49:31 beandog Exp $
29 +
30 +*gnump3d-3.0-r1 (23 Feb 2010)
31 +
32 + 23 Feb 2010; Steve Dibb <beandog@g.o> +gnump3d-3.0-r1.ebuild:
33 + Add runtime dep on sox
34
35 23 Feb 2010; Steve Dibb <beandog@g.o> gnump3d-3.0.ebuild:
36 Update homepage
37
38
39
40 1.1 media-sound/gnump3d/gnump3d-3.0-r1.ebuild
41
42 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/gnump3d/gnump3d-3.0-r1.ebuild?rev=1.1&view=markup
43 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/gnump3d/gnump3d-3.0-r1.ebuild?rev=1.1&content-type=text/plain
44
45 Index: gnump3d-3.0-r1.ebuild
46 ===================================================================
47 # Copyright 1999-2010 Gentoo Foundation
48 # Distributed under the terms of the GNU General Public License v2
49 # $Header: /var/cvsroot/gentoo-x86/media-sound/gnump3d/gnump3d-3.0-r1.ebuild,v 1.1 2010/02/23 15:49:31 beandog Exp $
50
51 inherit eutils multilib
52
53 DESCRIPTION="A streaming server for MP3, OGG vorbis and other streamable files"
54 HOMEPAGE="http://www.gnu.org/software/gnump3d/"
55 SRC_URI="http://savannah.gnu.org/download/${PN}/${P}.tar.bz2"
56
57 LICENSE="GPL-2"
58 SLOT="0"
59 KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
60 IUSE="sox"
61
62 RDEPEND="dev-lang/perl
63 sox? ( media-sound/sox )"
64 DEPEND="dev-lang/perl
65 sys-apps/sed"
66
67 RESTRICT="test"
68
69 pkg_setup() {
70 enewuser gnump3d '' '' '' nogroup
71 LIBDIR=/usr/$(get_libdir)
72 }
73
74 src_compile() { :; }
75
76 src_install() {
77 PERLDIR="`perl bin/getlibdir`"
78
79 insinto ${PERLDIR}/gnump3d
80 doins lib/gnump3d/*.pm
81 insinto ${PERLDIR}/gnump3d/plugins
82 doins lib/gnump3d/plugins/*.pm
83 insinto ${PERLDIR}/gnump3d/lang
84 doins lib/gnump3d/lang/*.pm
85
86 dobin bin/gnump3d2 bin/gnump3d-top bin/gnump3d-index
87 dosym /usr/bin/gnump3d2 /usr/bin/gnump3d
88 doman man/*.1
89
90 insinto /usr/share/gnump3d
91 doins -r templates/*
92
93 insinto /etc/gnump3d
94 doins etc/gnump3d.conf etc/mime.types etc/file.types
95 dosed "s,PLUGINDIR,${PERLDIR},g" /etc/gnump3d/gnump3d.conf
96 dosed 's,^user *= *\(.*\)$,user = gnump3d,g' /etc/gnump3d/gnump3d.conf
97
98 dodoc AUTHORS ChangeLog DOWNSAMPLING PLUGINS README SUPPORT TODO
99
100 newinitd "${FILESDIR}"/${PN}.init.d gnump3d
101 newconfd "${FILESDIR}"/${PN}.conf.d gnump3d
102
103 keepdir /var/log/gnump3d
104 keepdir /var/cache/gnump3d/serving
105
106 fowners gnump3d:nogroup /var/log/gnump3d /var/cache/gnump3d
107 }
108
109 pkg_postinst() {
110 elog "Please edit your /etc/gnump3d/gnump3d.conf before running"
111 elog "/etc/init.d/gnump3d start"
112 elog ""
113 elog "At the very least, you will need to change the root directory"
114 elog "where music is found. By default, gnump3d will also listen"
115 elog "to any address on port 8888"
116 elog ""
117 elog "You can optionally use sox to downmix the quality of streamed"
118 elog "music in realtime for slow connections."
119 }