1 |
commit: 493d702cbcb57d16d6c16f4ec2621d1fb027800e |
2 |
Author: Zero_Chaos <zerochaos <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Sep 30 17:29:31 2015 +0000 |
4 |
Commit: Richard Farina <zerochaos <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Sep 30 17:29:55 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=493d702c |
7 |
|
8 |
net-libs/h323plus: /usr/lib64/libh323_linux_x86_64_n.so.1.25.0 links to /usr/lib64/libldap_r-2.4.so.2 |
9 |
/usr/lib64/libh323_linux_x86_64_n.so.1.25.0 links to /usr/lib64/libcrypto.so.1.0.0 |
10 |
|
11 |
Package-Manager: portage-2.2.21 |
12 |
|
13 |
net-libs/h323plus/h323plus-1.25.0-r2.ebuild | 70 +++++++++++++++++++++++++++++ |
14 |
1 file changed, 70 insertions(+) |
15 |
|
16 |
diff --git a/net-libs/h323plus/h323plus-1.25.0-r2.ebuild b/net-libs/h323plus/h323plus-1.25.0-r2.ebuild |
17 |
new file mode 100644 |
18 |
index 0000000..e37de38 |
19 |
--- /dev/null |
20 |
+++ b/net-libs/h323plus/h323plus-1.25.0-r2.ebuild |
21 |
@@ -0,0 +1,70 @@ |
22 |
+# Copyright 1999-2015 Gentoo Foundation |
23 |
+# Distributed under the terms of the GNU General Public License v2 |
24 |
+# $Id$ |
25 |
+ |
26 |
+EAPI=5 |
27 |
+ |
28 |
+inherit eutils flag-o-matic multilib toolchain-funcs |
29 |
+ |
30 |
+MY_P="${PN}-v${PV//./_}" |
31 |
+ |
32 |
+DESCRIPTION="Open Source implementation of the ITU H.323 teleconferencing protocol, successor to OpenH323" |
33 |
+HOMEPAGE="http://www.h323plus.org/" |
34 |
+SRC_URI="mirror://sourceforge/${PN}/${PN}-v${PV//./_}.tar.gz" |
35 |
+ |
36 |
+IUSE="aec debug +sound +video" |
37 |
+SLOT="0/${PV}" |
38 |
+LICENSE="MPL-1.1" |
39 |
+KEYWORDS="~alpha ~amd64 ~arm ~ppc ~sparc ~x86" |
40 |
+ |
41 |
+DEPEND=">=net-libs/ptlib-2.6.4:=[wav] |
42 |
+ aec? ( >=media-libs/speex-1.2_rc1 ) |
43 |
+ sound? ( |
44 |
+ media-sound/gsm |
45 |
+ dev-libs/ilbc-rfc3951 |
46 |
+ ) |
47 |
+ video? ( |
48 |
+ media-libs/libtheora |
49 |
+ virtual/ffmpeg |
50 |
+ ) |
51 |
+ net-nds/openldap |
52 |
+ dev-libs/openssl:0=" |
53 |
+RDEPEND="${DEPEND} |
54 |
+ !net-libs/openh323" |
55 |
+ |
56 |
+S="${WORKDIR}/${PN}" |
57 |
+ |
58 |
+src_prepare() { |
59 |
+ epatch "${FILESDIR}"/${PN}-1.25.0-ptrace-param.patch |
60 |
+ epatch "${FILESDIR}"/${PN}-1.25.0-ptrace-debugoptionlist.patch |
61 |
+ epatch "${FILESDIR}"/${PN}-1.25.0-ptlib-2.10.10.patch |
62 |
+} |
63 |
+ |
64 |
+src_configure() { |
65 |
+ # TODO: support for h.263/h.264/sbc(bluetooth)/celt/spandsp |
66 |
+ #export OPENH323DIR=${S} |
67 |
+ econf \ |
68 |
+ PTLIB_CONFIG="${EPREFIX}/usr/bin/ptlib-config" \ |
69 |
+ $(use_enable video) \ |
70 |
+ $(use_enable sound audio) \ |
71 |
+ $(use_enable aec) \ |
72 |
+ $(use_enable debug asntracing) |
73 |
+ # revision.h does not exist in ptlib(?) |
74 |
+ sed -i "/revision.h/d" include/openh323buildopts.h || die |
75 |
+} |
76 |
+ |
77 |
+src_compile() { |
78 |
+ emake \ |
79 |
+ CC="$(tc-getCC)" \ |
80 |
+ CXX="$(tc-getCXX)" \ |
81 |
+ AR="$(tc-getAR)" |
82 |
+ # these should point to the right directories, |
83 |
+ # openh323.org apps and others need this |
84 |
+ sed -i -e "s:^OH323_LIBDIR = \$(OPENH323DIR).*:OH323_LIBDIR = /usr/$(get_libdir):" \ |
85 |
+ openh323u.mak || die |
86 |
+ sed -i -e "s:^OH323_INCDIR = \$(OPENH323DIR).*:OH323_INCDIR = /usr/include/openh323:" \ |
87 |
+ openh323u.mak || die |
88 |
+ # this is hardcoded now? |
89 |
+ sed -i -e "s:^\(OPENH323DIR[ \t]\+=\) "${S}":\1 /usr/share/openh323:" \ |
90 |
+ openh323u.mak || die |
91 |
+} |