Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/mt-daapd: mt-daapd-0.2.4.2.ebuild ChangeLog
Date: Mon, 11 May 2009 17:55:37
Message-Id: E1M3Zix-0001Uv-LP@stork.gentoo.org
1 ssuominen 09/05/11 17:55:35
2
3 Modified: mt-daapd-0.2.4.2.ebuild ChangeLog
4 Log:
5 Apply patch to fix compile with USE -vorbis wrt #200629.
6 (Portage version: 2.1.6.13/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.6 media-sound/mt-daapd/mt-daapd-0.2.4.2.ebuild
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mt-daapd/mt-daapd-0.2.4.2.ebuild?rev=1.6&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mt-daapd/mt-daapd-0.2.4.2.ebuild?rev=1.6&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mt-daapd/mt-daapd-0.2.4.2.ebuild?r1=1.5&r2=1.6
14
15 Index: mt-daapd-0.2.4.2.ebuild
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/media-sound/mt-daapd/mt-daapd-0.2.4.2.ebuild,v
18 retrieving revision 1.5
19 retrieving revision 1.6
20 diff -u -r1.5 -r1.6
21 --- mt-daapd-0.2.4.2.ebuild 27 Sep 2008 16:25:25 -0000 1.5
22 +++ mt-daapd-0.2.4.2.ebuild 11 May 2009 17:55:35 -0000 1.6
23 @@ -1,7 +1,8 @@
24 -# Copyright 1999-2008 Gentoo Foundation
25 +# Copyright 1999-2009 Gentoo Foundation
26 # Distributed under the terms of the GNU General Public License v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-sound/mt-daapd/mt-daapd-0.2.4.2.ebuild,v 1.5 2008/09/27 16:25:25 armin76 Exp $
28 +# $Header: /var/cvsroot/gentoo-x86/media-sound/mt-daapd/mt-daapd-0.2.4.2.ebuild,v 1.6 2009/05/11 17:55:35 ssuominen Exp $
29
30 +EAPI=2
31 inherit autotools eutils
32
33 DESCRIPTION="A multi-threaded implementation of Apple's DAAP server"
34 @@ -11,29 +12,17 @@
35 LICENSE="GPL-2"
36 SLOT="0"
37 KEYWORDS="amd64 arm ~mips ppc sh sparc x86"
38 -IUSE="avahi vorbis"
39 +IUSE="+avahi vorbis"
40
41 RDEPEND="media-libs/libid3tag
42 sys-libs/gdbm
43 - avahi? ( net-dns/avahi )
44 + avahi? ( net-dns/avahi[dbus] )
45 !avahi? ( net-misc/mDNSResponder )
46 vorbis? ( media-libs/libvorbis )"
47 DEPEND="${RDEPEND}
48 dev-util/pkgconfig"
49
50 -pkg_setup() {
51 - local fail="Re-emerge net-dns/avahi with USE dbus."
52 -
53 - if use avahi && ! built_with_use net-dns/avahi dbus; then
54 - eerror "${fail}"
55 - die "${fail}"
56 - fi
57 -}
58 -
59 -src_unpack() {
60 - unpack ${A}
61 - cd "${S}"
62 -
63 +src_prepare() {
64 cp "${FILESDIR}"/${PN}.init.2 initd
65
66 if use avahi; then
67 @@ -42,14 +31,15 @@
68 sed -i -e 's:#USEHOWL ::' initd
69 fi
70
71 - epatch "${FILESDIR}"/${PN}-0.2.3-sparc.patch
72 - epatch "${FILESDIR}"/${PN}-0.2.4.1-libsorder.patch
73 - epatch "${FILESDIR}"/${PN}-0.2.4.1-pidfile.patch
74 - epatch "${FILESDIR}"/${P}-maintainer-mode.patch
75 + epatch "${FILESDIR}"/${PN}-0.2.3-sparc.patch \
76 + "${FILESDIR}"/${PN}-0.2.4.1-libsorder.patch \
77 + "${FILESDIR}"/${PN}-0.2.4.1-pidfile.patch \
78 + "${FILESDIR}"/${P}-maintainer-mode.patch \
79 + "${FILESDIR}"/${P}-oggvorbis.patch
80 eautoreconf
81 }
82
83 -src_compile() {
84 +src_configure() {
85 local myconf
86
87 if use avahi; then
88 @@ -61,8 +51,6 @@
89 econf $(use_enable vorbis oggvorbis) \
90 --disable-maintainer-mode \
91 ${myconf}
92 -
93 - emake || die "emake failed."
94 }
95
96 src_install() {
97
98
99
100 1.64 media-sound/mt-daapd/ChangeLog
101
102 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mt-daapd/ChangeLog?rev=1.64&view=markup
103 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mt-daapd/ChangeLog?rev=1.64&content-type=text/plain
104 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/mt-daapd/ChangeLog?r1=1.63&r2=1.64
105
106 Index: ChangeLog
107 ===================================================================
108 RCS file: /var/cvsroot/gentoo-x86/media-sound/mt-daapd/ChangeLog,v
109 retrieving revision 1.63
110 retrieving revision 1.64
111 diff -u -r1.63 -r1.64
112 --- ChangeLog 27 Sep 2008 16:25:25 -0000 1.63
113 +++ ChangeLog 11 May 2009 17:55:35 -0000 1.64
114 @@ -1,6 +1,10 @@
115 # ChangeLog for media-sound/mt-daapd
116 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
117 -# $Header: /var/cvsroot/gentoo-x86/media-sound/mt-daapd/ChangeLog,v 1.63 2008/09/27 16:25:25 armin76 Exp $
118 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
119 +# $Header: /var/cvsroot/gentoo-x86/media-sound/mt-daapd/ChangeLog,v 1.64 2009/05/11 17:55:35 ssuominen Exp $
120 +
121 + 11 May 2009; Samuli Suominen <ssuominen@g.o>
122 + mt-daapd-0.2.4.2.ebuild, +files/mt-daapd-0.2.4.2-oggvorbis.patch:
123 + Apply patch to fix compile with USE -vorbis wrt #200629.
124
125 27 Sep 2008; Raúl Porcel <armin76@g.o> mt-daapd-0.2.4.2.ebuild:
126 arm/sh stable wrt #217986