Gentoo Archives: gentoo-commits

From: "Chi-Thanh Christopher Nguyen (chithanh)" <chithanh@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-voip/gnugk: gnugk-3.4.ebuild ChangeLog
Date: Tue, 01 Oct 2013 15:21:07
Message-Id: 20131001152104.0C0872004E@flycatcher.gentoo.org
1 chithanh 13/10/01 15:21:03
2
3 Modified: ChangeLog
4 Added: gnugk-3.4.ebuild
5 Log:
6 Version bump.
7
8 (Portage version: 2.2.1/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.12 net-voip/gnugk/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-voip/gnugk/ChangeLog?rev=1.12&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-voip/gnugk/ChangeLog?rev=1.12&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-voip/gnugk/ChangeLog?r1=1.11&r2=1.12
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-voip/gnugk/ChangeLog,v
20 retrieving revision 1.11
21 retrieving revision 1.12
22 diff -u -r1.11 -r1.12
23 --- ChangeLog 11 Jul 2013 23:19:23 -0000 1.11
24 +++ ChangeLog 1 Oct 2013 15:21:03 -0000 1.12
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-voip/gnugk
27 # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-voip/gnugk/ChangeLog,v 1.11 2013/07/11 23:19:23 chithanh Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-voip/gnugk/ChangeLog,v 1.12 2013/10/01 15:21:03 chithanh Exp $
30 +
31 +*gnugk-3.4 (01 Oct 2013)
32 +
33 + 01 Oct 2013; Chí-Thanh Christopher Nguyễn <chithanh@g.o>
34 + +files/gnugk-3.4-ptrace.patch, +gnugk-3.4.ebuild:
35 + Version bump.
36
37 *gnugk-3.3.4 (11 Jul 2013)
38
39
40
41
42 1.1 net-voip/gnugk/gnugk-3.4.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-voip/gnugk/gnugk-3.4.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-voip/gnugk/gnugk-3.4.ebuild?rev=1.1&content-type=text/plain
46
47 Index: gnugk-3.4.ebuild
48 ===================================================================
49 # Copyright 1999-2013 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-voip/gnugk/gnugk-3.4.ebuild,v 1.1 2013/10/01 15:21:03 chithanh Exp $
52
53 EAPI="5"
54
55 inherit eutils versionator
56
57 MY_P1=${PN}-$(replace_version_separator 2 -)
58 MY_P2=${PN}-$(get_version_component_range 1-2)
59
60 DESCRIPTION="GNU H.323 gatekeeper"
61 HOMEPAGE="http://www.gnugk.org/"
62 SRC_URI="mirror://sourceforge/openh323gk/${MY_P1}.tar.gz"
63
64 LICENSE="GPL-2"
65 SLOT="0"
66 # dev-db/firebird isn't keyworded for ppc but firebird IUSE is masked for ppc
67 KEYWORDS="~amd64 ~ppc ~x86"
68 IUSE="doc firebird lua mysql odbc postgres radius snmp sqlite ssh linguas_en linguas_es linguas_fr"
69 REQUIRED_USE="doc? (
70 || ( linguas_en linguas_es linguas_fr )
71 )
72 "
73
74 RDEPEND="net-libs/ptlib:=
75 net-libs/h323plus:=
76 dev-libs/openssl
77 firebird? ( dev-db/firebird )
78 lua? ( dev-lang/lua )
79 mysql? ( virtual/mysql )
80 odbc? ( dev-db/unixODBC )
81 postgres? ( dev-db/postgresql-base )
82 snmp? ( net-analyzer/net-snmp )
83 ssh? ( net-libs/libssh )
84 sqlite? ( dev-db/sqlite:3 )"
85 DEPEND="${RDEPEND}
86 doc? ( app-text/linuxdoc-tools )"
87
88 S=${WORKDIR}/${MY_P2}
89
90 src_prepare() {
91 epatch "${FILESDIR}"/${PN}-3.4-ptrace.patch
92 epatch "${FILESDIR}"/${PN}-3.2.2-h323plus-buildopts.patch
93 epatch "${FILESDIR}"/${PN}-3.2.2-lua.cxx-toolkit_h.patch
94 }
95
96 # TODO: investigate possible ebuild conversion to use cmake
97 src_configure() {
98 # --with-large-fdset=4096 is added because of bug #128102
99 # and it is recommended in the online manual
100 econf \
101 $(use_enable firebird) \
102 $(use_enable lua) \
103 $(use_enable mysql) \
104 $(use_enable postgres pgsql) \
105 $(use_enable odbc unixodbc) \
106 $(use_enable radius) \
107 $(use_enable snmp netsnmp) \
108 $(use_enable sqlite) \
109 $(use_enable ssh libssh) \
110 --with-large-fdset=4096
111 }
112
113 src_compile() {
114 # PASN_NOPRINT should be set for -debug but it's buggy
115 # better to prevent issues and keep default settings
116 # `make debugdepend debugshared` and `make debug` failed (so no debug)
117 # `make optdepend optnoshared` also failed (so no static)
118
119 # splitting emake calls fixes parallel build issue
120 emake optdepend
121 emake \
122 PT_LIBDIR="$(ptlib-config --libdir)" \
123 OH323_LIBDIR="${EPREFIX}"/usr/lib \
124 optshared
125 # build tool addpasswd
126 emake -C addpasswd PTLIBDIR="$(ptlib-config --ptlibdir)"
127
128 if use doc; then
129 cd docs/manual
130
131 if use linguas_en; then
132 emake html
133 fi
134
135 if use linguas_es; then
136 emake html-es
137 fi
138
139 if use linguas_fr; then
140 emake html-fr
141 fi
142 cd ../..
143 fi
144 }
145
146 src_install() {
147 dosbin obj_*_*_*/${PN}
148 dosbin addpasswd/obj_*_*_*/addpasswd
149
150 dodir /etc/${PN}
151 insinto /etc/${PN}
152 doins etc/*
153
154 dodoc changes.txt readme.txt
155 dodoc docs/*.txt docs/*.pdf
156
157 if use doc; then
158 if use linguas_en; then
159 dohtml docs/manual/manual*.html
160 fi
161 if use linguas_fr; then
162 dohtml docs/manual/fr/manual-fr*.html
163 fi
164 if use linguas_es; then
165 dohtml docs/manual/es/manual-es*.html
166 fi
167 fi
168
169 doman docs/${PN}.1 docs/addpasswd.1
170
171 newinitd "${FILESDIR}"/${PN}.rc6 ${PN}
172 newconfd "${FILESDIR}"/${PN}.confd ${PN}
173 }