Gentoo Archives: gentoo-commits

From: "Patrick Lauer (patrick)" <patrick@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/edna: edna-0.6.ebuild ChangeLog
Date: Sun, 01 Mar 2009 14:07:05
Message-Id: E1LdmJr-0007cV-ER@stork.gentoo.org
1 patrick 09/03/01 14:07:03
2
3 Modified: ChangeLog
4 Added: edna-0.6.ebuild
5 Log:
6 Bump to 0.6. Fixes #137569. Patches by Chris Mayo.
7 (Portage version: 2.2_rc23/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.28 media-sound/edna/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/edna/ChangeLog?rev=1.28&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/edna/ChangeLog?rev=1.28&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/edna/ChangeLog?r1=1.27&r2=1.28
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-sound/edna/ChangeLog,v
19 retrieving revision 1.27
20 retrieving revision 1.28
21 diff -u -r1.27 -r1.28
22 --- ChangeLog 22 Feb 2007 00:57:12 -0000 1.27
23 +++ ChangeLog 1 Mar 2009 14:07:03 -0000 1.28
24 @@ -1,6 +1,14 @@
25 # ChangeLog for media-sound/edna
26 -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-sound/edna/ChangeLog,v 1.27 2007/02/22 00:57:12 peper Exp $
28 +# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/media-sound/edna/ChangeLog,v 1.28 2009/03/01 14:07:03 patrick Exp $
30 +
31 +*edna-0.6 (01 Mar 2009)
32 +
33 + 01 Mar 2009; Patrick Lauer <patrick@g.o>
34 + +files/edna-0.6-SystemExit.patch, +files/edna-0.6-daemon.patch,
35 + +files/edna-0.6-flac.patch, +files/edna-0.6-syslog.patch,
36 + files/edna.gentoo, +edna-0.6.ebuild:
37 + Bump to 0.6. Fixes #137569. Patches by Chris Mayo.
38
39 22 Feb 2007; Piotr JaroszyƄski <peper@g.o> ChangeLog:
40 Transition to Manifest2.
41
42
43
44 1.1 media-sound/edna/edna-0.6.ebuild
45
46 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/edna/edna-0.6.ebuild?rev=1.1&view=markup
47 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/edna/edna-0.6.ebuild?rev=1.1&content-type=text/plain
48
49 Index: edna-0.6.ebuild
50 ===================================================================
51 # Copyright 1999-2009 Gentoo Foundation
52 # Distributed under the terms of the GNU General Public License v2
53 # $Header: /var/cvsroot/gentoo-x86/media-sound/edna/edna-0.6.ebuild,v 1.1 2009/03/01 14:07:03 patrick Exp $
54
55 inherit eutils
56
57 IUSE="flac vorbis"
58
59 DESCRIPTION="Greg Stein's python streaming audio server for desktop or LAN use"
60 HOMEPAGE="http://edna.sourceforge.net/"
61
62 SRC_URI="mirror://sourceforge/edna/${P}.tar.gz"
63
64 SLOT="0"
65 LICENSE="GPL-2"
66 KEYWORDS="~alpha ~amd64 ~mips ~ppc ~ppc64 ~sparc ~x86"
67
68 DEPEND="|| ( >=dev-lang/python-2.5 ( >=dev-lang/python-2.3 >=dev-python/ctypes-1.0.0 ) )
69 flac? ( media-libs/mutagen )
70 oggvorbis? ( dev-python/pyogg )"
71 RDEPEND=${DEPEND}
72
73 src_unpack() {
74 unpack ${A}
75 cd "${S}"
76
77 epatch "${FILESDIR}/${P}"-SystemExit.patch
78 epatch "${FILESDIR}/${P}"-flac.patch
79 epatch "${FILESDIR}/${P}"-daemon.patch
80 epatch "${FILESDIR}/${P}"-syslog.patch
81 }
82
83 src_install() {
84 einfo "Installing in daemon mode"
85 newinitd "${FILESDIR}"/edna.gentoo edna
86
87 dodir /usr/bin /usr/$(get_libdir)/edna /usr/$(get_libdir)/edna/templates
88 exeinto /usr/bin ; newexe edna.py edna
89 exeinto /usr/$(get_libdir)/edna ; doexe ezt.py
90 exeinto /usr/$(get_libdir)/edna ; doexe MP3Info.py
91 insinto /usr/$(get_libdir)/edna/templates
92 insopts -m 644
93 doins templates/*
94 insinto /usr/$(get_libdir)/edna/resources
95 doins resources/*
96
97 insinto /etc/edna
98 insopts -m 644
99 doins edna.conf
100 dosym /usr/$(get_libdir)/edna/resources /etc/edna/resources
101 dosym /usr/$(get_libdir)/edna/templates /etc/edna/templates
102
103 dodoc README ChangeLog
104 dohtml -r www/*
105 }
106
107 pkg_postinst() {
108 enewgroup edna
109 enewuser edna -1 -1 -1 edna
110
111 einfo
112 einfo "Edit edna.conf to taste before starting (multiple source"
113 einfo "directories are allowed). Test edna from a shell prompt"
114 einfo "until you have it configured properly, then add edna to"
115 einfo "the default runlevel when you're ready. Add the USE flag"
116 einfo "vorbis if you want edna to serve ogg files."
117 einfo
118 einfo "See edna.conf and the html docs for more info, and set"
119 einfo "PYTHONPATH=/usr/lib/edna to run from a shell prompt."
120 einfo
121 }