Gentoo Archives: gentoo-commits

From: "Samuli Suominen (drac)" <drac@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/mt-daapd: ChangeLog mt-daapd-0.2.4.1.ebuild mt-daapd-0.3.0_pre1376.ebuild
Date: Sun, 28 Oct 2007 22:13:46
Message-Id: E1ImGO4-00017I-Us@stork.gentoo.org
1 drac 07/10/28 22:13:40
2
3 Modified: ChangeLog
4 Added: mt-daapd-0.2.4.1.ebuild
5 Removed: mt-daapd-0.3.0_pre1376.ebuild
6 Log:
7 Version bump dropping howl support.
8 (Portage version: 2.1.3.16)
9
10 Revision Changes Path
11 1.52 media-sound/mt-daapd/ChangeLog
12
13 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mt-daapd/ChangeLog?rev=1.52&view=markup
14 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mt-daapd/ChangeLog?rev=1.52&content-type=text/plain
15 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mt-daapd/ChangeLog?r1=1.51&r2=1.52
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-sound/mt-daapd/ChangeLog,v
20 retrieving revision 1.51
21 retrieving revision 1.52
22 diff -u -r1.51 -r1.52
23 --- ChangeLog 4 Aug 2007 21:09:37 -0000 1.51
24 +++ ChangeLog 28 Oct 2007 22:13:40 -0000 1.52
25 @@ -1,6 +1,13 @@
26 # ChangeLog for media-sound/mt-daapd
27 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-sound/mt-daapd/ChangeLog,v 1.51 2007/08/04 21:09:37 drac Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-sound/mt-daapd/ChangeLog,v 1.52 2007/10/28 22:13:40 drac Exp $
30 +
31 +*mt-daapd-0.2.4.1 (28 Oct 2007)
32 +
33 + 28 Oct 2007; Samuli Suominen <drac@g.o>
34 + +files/mt-daapd-0.2.4.1-libsorder.patch,
35 + +files/mt-daapd-0.2.4.1-pidfile.patch, +mt-daapd-0.2.4.1.ebuild:
36 + Version bump dropping howl support.
37
38 *mt-daapd-0.3.0_pre1586 (04 Aug 2007)
39
40
41
42
43 1.1 media-sound/mt-daapd/mt-daapd-0.2.4.1.ebuild
44
45 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mt-daapd/mt-daapd-0.2.4.1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mt-daapd/mt-daapd-0.2.4.1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: mt-daapd-0.2.4.1.ebuild
49 ===================================================================
50 # Copyright 1999-2007 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/media-sound/mt-daapd/mt-daapd-0.2.4.1.ebuild,v 1.1 2007/10/28 22:13:40 drac Exp $
53
54 inherit autotools eutils
55
56 DESCRIPTION="A multi-threaded implementation of Apple's DAAP server"
57 HOMEPAGE="http://www.mt-daapd.org"
58 SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~arm ~mips ~ppc ~sh ~sparc ~x86"
63 IUSE="avahi vorbis"
64
65 DEPEND="media-libs/libid3tag
66 sys-libs/gdbm
67 avahi? ( net-dns/avahi )
68 !avahi? ( net-misc/mDNSResponder )
69 vorbis? ( media-libs/libvorbis )"
70
71 src_unpack() {
72 unpack ${A}
73 cd "${S}"
74 epatch "${FILESDIR}"/${PN}-0.2.3-sparc.patch
75 epatch "${FILESDIR}"/${P}-libsorder.patch
76 epatch "${FILESDIR}"/${P}-pidfile.patch
77 eautoreconf
78
79 cp "${FILESDIR}"/${PN}.init.2 initd
80
81 if use avahi; then
82 sed -i -e 's:#USEHOWL need mDNSResponder:need avahi-daemon:' initd
83 else
84 sed -i -e 's:#USEHOWL ::' initd
85 fi
86 }
87
88 src_compile() {
89 local myconf
90
91 if use avahi; then
92 myconf="--enable-avahi --disable-mdns"
93 else
94 myconf="--disable-avahi --enable-mdns"
95 fi
96
97 econf $(use_enable vorbis oggvorbis) \
98 ${myconf}
99
100 emake || die "emake failed."
101 }
102
103 src_install() {
104 emake DESTDIR="${D}" install || die "emake install failed."
105
106 insinto /etc
107 newins contrib/mt-daapd.conf mt-daapd.conf.example
108 doins contrib/mt-daapd.playlist
109
110 newinitd initd ${PN}
111
112 keepdir /var/cache/mt-daapd /etc/mt-daapd.d
113 dodoc AUTHORS ChangeLog CREDITS NEWS README TODO
114 }
115
116 pkg_postinst() {
117 einfo
118 elog "You have to configure your mt-daapd.conf following"
119 elog "/etc/mt-daapd.conf.example file."
120 einfo
121
122 if use vorbis; then
123 einfo
124 elog "You need to edit you extensions list in /etc/mt-daapd.conf"
125 elog "if you want your mt-daapd to serve ogg files."
126 einfo
127 fi
128
129 einfo
130 elog "If you want to start more than one ${PN} service, symlink"
131 elog "/etc/init.d/${PN} to /etc/init.d/${PN}.<name>, and it will"
132 elog "load the data from /etc/${PN}.d/<name>.conf."
133 elog "Make sure that you have different cache directories for them."
134 einfo
135 }
136
137
138
139 --
140 gentoo-commits@g.o mailing list