Gentoo Archives: gentoo-commits

From: "Anthony G. Basile (blueness)" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/nas: nas-1.9.4-r1.ebuild ChangeLog
Date: Wed, 29 Apr 2015 16:40:25
Message-Id: 20150429164015.1462A9AA@oystercatcher.gentoo.org
1 blueness 15/04/29 16:40:13
2
3 Modified: ChangeLog
4 Added: nas-1.9.4-r1.ebuild
5 Log:
6 Fix build on uclibc. Bug #510766.
7
8 (Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)
9
10 Revision Changes Path
11 1.93 media-libs/nas/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/nas/ChangeLog?rev=1.93&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/nas/ChangeLog?rev=1.93&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/nas/ChangeLog?r1=1.92&r2=1.93
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/media-libs/nas/ChangeLog,v
20 retrieving revision 1.92
21 retrieving revision 1.93
22 diff -u -r1.92 -r1.93
23 --- ChangeLog 18 Jun 2014 19:52:13 -0000 1.92
24 +++ ChangeLog 29 Apr 2015 16:40:13 -0000 1.93
25 @@ -1,6 +1,12 @@
26 # ChangeLog for media-libs/nas
27 -# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-libs/nas/ChangeLog,v 1.92 2014/06/18 19:52:13 mgorny Exp $
29 +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
30 +# $Header: /var/cvsroot/gentoo-x86/media-libs/nas/ChangeLog,v 1.93 2015/04/29 16:40:13 blueness Exp $
31 +
32 +*nas-1.9.4-r1 (29 Apr 2015)
33 +
34 + 29 Apr 2015; Anthony G. Basile <blueness@g.o>
35 + +files/nas-1.9.4-remove-abs-fabs.patch, +nas-1.9.4-r1.ebuild:
36 + Fix build on uclibc. Bug #510766.
37
38 18 Jun 2014; Michał Górny <mgorny@g.o> nas-1.9.4.ebuild:
39 Update dependencies to require guaranteed EAPI=5 or multilib ebuilds, bug
40
41
42
43 1.1 media-libs/nas/nas-1.9.4-r1.ebuild
44
45 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/nas/nas-1.9.4-r1.ebuild?rev=1.1&view=markup
46 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/nas/nas-1.9.4-r1.ebuild?rev=1.1&content-type=text/plain
47
48 Index: nas-1.9.4-r1.ebuild
49 ===================================================================
50 # Copyright 1999-2015 Gentoo Foundation
51 # Distributed under the terms of the GNU General Public License v2
52 # $Header: /var/cvsroot/gentoo-x86/media-libs/nas/nas-1.9.4-r1.ebuild,v 1.1 2015/04/29 16:40:13 blueness Exp $
53
54 EAPI=5
55 inherit eutils multilib toolchain-funcs multilib-minimal
56
57 DESCRIPTION="Network Audio System"
58 HOMEPAGE="http://radscan.com/nas.html"
59 SRC_URI="mirror://sourceforge/${PN}/${P}.src.tar.gz"
60
61 LICENSE="HPND MIT"
62 SLOT="0"
63 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
64 IUSE="doc static-libs"
65
66 RDEPEND="x11-libs/libICE
67 x11-libs/libSM
68 x11-libs/libX11
69 >=x11-libs/libXau-1.0.7-r1[${MULTILIB_USEDEP}]
70 x11-libs/libXaw
71 x11-libs/libXext
72 x11-libs/libXmu
73 x11-libs/libXpm
74 >=x11-libs/libXt-1.1.4[${MULTILIB_USEDEP}]"
75 DEPEND="${RDEPEND}
76 app-text/rman
77 sys-devel/bison
78 sys-devel/flex
79 x11-misc/gccmakedep
80 x11-misc/imake
81 >=x11-proto/xproto-7.0.24[${MULTILIB_USEDEP}]"
82
83 DOCS=( BUILDNOTES FAQ HISTORY README RELEASE TODO )
84
85 src_prepare() {
86 epatch "${FILESDIR}"/${PN}-1.9.2-asneeded.patch
87 epatch "${FILESDIR}"/${PN}-1.9.4-remove-abs-fabs.patch
88
89 multilib_copy_sources
90 }
91
92 multilib_src_configure() {
93 xmkmf -a || die
94 }
95
96 multilib_src_compile() {
97 # EXTRA_LDOPTIONS, SHLIBGLOBALSFLAGS #336564#c2
98 local emakeopts=(
99 AR="$(tc-getAR) clq"
100 AS="$(tc-getAS)"
101 CC="$(tc-getCC)"
102 CDEBUGFLAGS="${CFLAGS}"
103 CXX="$(tc-getCXX)"
104 CXXDEBUFLAGS="${CXXFLAGS}"
105 EXTRA_LDOPTIONS="${LDFLAGS}"
106 LD="$(tc-getLD)"
107 MAKE="${MAKE:-gmake}"
108 RANLIB="$(tc-getRANLIB)"
109 SHLIBGLOBALSFLAGS="${LDFLAGS}"
110 WORLDOPTS=
111 )
112
113 if multilib_is_native_abi ; then
114 # dumb fix for parallel make issue wrt #446598, Imake sux
115 emake "${emakeopts[@]}" -C server/dia all
116 emake "${emakeopts[@]}" -C server/dda/voxware all
117 emake "${emakeopts[@]}" -C server/os all
118 else
119 sed -i \
120 -e 's/SUBDIRS =.*/SUBDIRS = include lib config/' \
121 Makefile || die
122 fi
123
124 emake "${emakeopts[@]}" World
125 }
126
127 multilib_src_install() {
128 # ranlib is used at install phase too wrt #446600
129 emake RANLIB="$(tc-getRANLIB)" \
130 DESTDIR="${D}" USRLIBDIR=/usr/$(get_libdir) \
131 install install.man
132 }
133
134 multilib_src_install_all() {
135 einstalldocs
136 if use doc; then
137 docinto doc
138 dodoc doc/{actions,protocol.txt,README}
139 docinto pdf
140 dodoc doc/pdf/*.pdf
141 fi
142
143 mv -vf "${D}"/etc/nas/nasd.conf{.eg,} || die
144
145 newconfd "${FILESDIR}"/nas.conf.d nas
146 newinitd "${FILESDIR}"/nas.init.d nas
147
148 use static-libs || rm -f "${D}"/usr/lib*/libaudio.a
149 }