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-libs/nas: ChangeLog nas-1.9.2-r1.ebuild
Date: Sun, 31 Oct 2010 11:09:08
Message-Id: 20101031110859.7F8D920051@flycatcher.gentoo.org
1 ssuominen 10/10/31 11:08:59
2
3 Modified: ChangeLog
4 Added: nas-1.9.2-r1.ebuild
5 Log:
6 Fix implicit declaration of inet_ntoa wrt #323511 by Michał Górny.
7
8 (Portage version: 2.2.0_alpha1/cvs/Linux x86_64)
9
10 Revision Changes Path
11 1.72 media-libs/nas/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/nas/ChangeLog?rev=1.72&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/nas/ChangeLog?rev=1.72&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/nas/ChangeLog?r1=1.71&r2=1.72
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-libs/nas/ChangeLog,v
20 retrieving revision 1.71
21 retrieving revision 1.72
22 diff -u -r1.71 -r1.72
23 --- ChangeLog 16 Apr 2010 17:35:39 -0000 1.71
24 +++ ChangeLog 31 Oct 2010 11:08:59 -0000 1.72
25 @@ -1,6 +1,12 @@
26 # ChangeLog for media-libs/nas
27 # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-libs/nas/ChangeLog,v 1.71 2010/04/16 17:35:39 ranger Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-libs/nas/ChangeLog,v 1.72 2010/10/31 11:08:59 ssuominen Exp $
30 +
31 +*nas-1.9.2-r1 (31 Oct 2010)
32 +
33 + 31 Oct 2010; Samuli Suominen <ssuominen@g.o> +nas-1.9.2-r1.ebuild,
34 + +files/nas-1.9.2-implicit-inet_ntoa-amd64.patch:
35 + Fix implicit declaration of inet_ntoa wrt #323511 by Michał Górny.
36
37 16 Apr 2010; Brent Baude <ranger@g.o> nas-1.9.2.ebuild:
38 stable ppc, bug 303715
39
40
41
42 1.1 media-libs/nas/nas-1.9.2-r1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/nas/nas-1.9.2-r1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/nas/nas-1.9.2-r1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: nas-1.9.2-r1.ebuild
48 ===================================================================
49 # Copyright 1999-2010 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/media-libs/nas/nas-1.9.2-r1.ebuild,v 1.1 2010/10/31 11:08:59 ssuominen Exp $
52
53 inherit eutils toolchain-funcs
54
55 DESCRIPTION="Network Audio System"
56 HOMEPAGE="http://radscan.com/nas.html"
57 SRC_URI="mirror://sourceforge/${PN}/${P}.src.tar.gz"
58
59 LICENSE="MIT as-is"
60 SLOT="0"
61 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
62 IUSE="doc"
63
64 RDEPEND="x11-libs/libXt
65 x11-libs/libXau
66 x11-libs/libXaw
67 x11-libs/libX11
68 x11-libs/libXres
69 x11-libs/libXTrap
70 x11-libs/libXp"
71 DEPEND="${RDEPEND}
72 x11-misc/gccmakedep
73 x11-misc/imake
74 app-text/rman
75 x11-proto/xproto"
76
77 src_unpack() {
78 unpack ${A}
79 cd "${S}"
80 epatch "${FILESDIR}"/${P}-asneeded.patch \
81 "${FILESDIR}"/${P}-implicit-inet_ntoa-amd64.patch
82 }
83
84 src_compile() {
85 xmkmf || die "xmkmf failed"
86 touch doc/man/lib/tmp.{_man,man}
87 emake \
88 MAKE="${MAKE:-gmake}" \
89 CDEBUGFLAGS="${CFLAGS}" \
90 CXXDEBUFLAGS="${CXXFLAGS}" \
91 CC="$(tc-getCC)" \
92 CXX="$(tc-getCXX)" \
93 AR="$(tc-getAR) clq" \
94 AS="$(tc-getAS)" \
95 LD="$(tc-getLD)" \
96 RANLIB="$(tc-getRANLIB)" World || die "emake World failed"
97 }
98
99 src_install () {
100 emake DESTDIR="${D}" install install.man || die "emake install failed"
101 dodoc BUILDNOTES FAQ HISTORY README RELEASE TODO
102
103 if use doc; then
104 docinto doc
105 dodoc doc/{actions,protocol.txt,README}
106 insinto /usr/share/doc/${PF}/pdf
107 doins doc/pdf/*.pdf
108 fi
109
110 mv "${D}"/etc/nas/nasd.conf{.eg,}
111
112 newconfd "${FILESDIR}"/nas.conf.d nas
113 newinitd "${FILESDIR}"/nas.init.d nas
114 }
115
116 pkg_postinst() {
117 elog "To enable NAS on boot you will have to add it to the"
118 elog "default profile, issue the following command as root:"
119 elog "# rc-update add nas default"
120 }