1 |
chithanh 13/02/22 19:04:21 |
2 |
|
3 |
Added: metadata.xml h323plus-1.25.0.ebuild ChangeLog |
4 |
Log: |
5 |
Initial commit, bug #290106. |
6 |
|
7 |
(Portage version: 2.1.11.50/cvs/Linux x86_64, unsigned Manifest commit) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 net-libs/h323plus/metadata.xml |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/h323plus/metadata.xml?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/h323plus/metadata.xml?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: metadata.xml |
16 |
=================================================================== |
17 |
<?xml version="1.0" encoding="UTF-8"?> |
18 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
19 |
<pkgmetadata> |
20 |
<herd>voip</herd> |
21 |
<use> |
22 |
<flag name="aec">Enable acoustic echo cancellation</flag> |
23 |
<flag name="audio">Enable audio codecs</flag> |
24 |
<flag name="video">Enable video codecs</flag> |
25 |
</use> |
26 |
</pkgmetadata> |
27 |
|
28 |
|
29 |
|
30 |
1.1 net-libs/h323plus/h323plus-1.25.0.ebuild |
31 |
|
32 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/h323plus/h323plus-1.25.0.ebuild?rev=1.1&view=markup |
33 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/h323plus/h323plus-1.25.0.ebuild?rev=1.1&content-type=text/plain |
34 |
|
35 |
Index: h323plus-1.25.0.ebuild |
36 |
=================================================================== |
37 |
# Copyright 1999-2013 Gentoo Foundation |
38 |
# Distributed under the terms of the GNU General Public License v2 |
39 |
# $Header: /var/cvsroot/gentoo-x86/net-libs/h323plus/h323plus-1.25.0.ebuild,v 1.1 2013/02/22 19:04:21 chithanh Exp $ |
40 |
|
41 |
EAPI=5 |
42 |
|
43 |
inherit eutils flag-o-matic multilib toolchain-funcs |
44 |
|
45 |
MY_P="${PN}-v${PV//./_}" |
46 |
|
47 |
DESCRIPTION="Open Source implementation of the ITU H.323 teleconferencing protocol, successor to OpenH323" |
48 |
HOMEPAGE="http://www.h323plus.org/" |
49 |
SRC_URI="mirror://sourceforge/${PN}/${PN}-v${PV//./_}.tar.gz" |
50 |
|
51 |
IUSE="aec +audio debug +video" |
52 |
SLOT="0" |
53 |
LICENSE="MPL-1.1" |
54 |
KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~sparc ~x86" |
55 |
|
56 |
DEPEND=">=net-libs/ptlib-2.6.4 |
57 |
aec? ( >=media-libs/speex-1.2_rc1 ) |
58 |
audio? ( |
59 |
media-sound/gsm |
60 |
dev-libs/ilbc-rfc3951 |
61 |
) |
62 |
video? ( |
63 |
media-libs/libtheora |
64 |
virtual/ffmpeg |
65 |
)" |
66 |
RDEPEND="${DEPEND} |
67 |
!net-libs/openh323" |
68 |
|
69 |
S="${WORKDIR}/${PN}" |
70 |
|
71 |
src_prepare() { |
72 |
epatch "${FILESDIR}"/${PN}-1.25.0-ptrace-param.patch |
73 |
epatch "${FILESDIR}"/${PN}-1.25.0-ptrace-debugoptionlist.patch |
74 |
} |
75 |
|
76 |
src_configure() { |
77 |
# TODO: support for h.263/h.264/sbc(bluetooth)/celt/spandsp |
78 |
#export OPENH323DIR=${S} |
79 |
econf \ |
80 |
PTLIB_CONFIG="${EPREFIX}/usr/bin/ptlib-config" \ |
81 |
$(use_enable video) \ |
82 |
$(use_enable audio) \ |
83 |
$(use_enable aec) \ |
84 |
$(use_enable debug asntracing) |
85 |
# revision.h does not exist in ptlib(?) |
86 |
sed -i "/revision.h/d" include/openh323buildopts.h || die |
87 |
} |
88 |
|
89 |
src_compile() { |
90 |
emake \ |
91 |
CC="$(tc-getCC)" \ |
92 |
CXX="$(tc-getCXX)" \ |
93 |
AR="$(tc-getAR)" |
94 |
# these should point to the right directories, |
95 |
# openh323.org apps and others need this |
96 |
sed -i -e "s:^OH323_LIBDIR = \$(OPENH323DIR).*:OH323_LIBDIR = /usr/${libdir}:" \ |
97 |
openh323u.mak || die |
98 |
sed -i -e "s:^OH323_INCDIR = \$(OPENH323DIR).*:OH323_INCDIR = /usr/include/openh323:" \ |
99 |
openh323u.mak || die |
100 |
# this is hardcoded now? |
101 |
sed -i -e "s:^\(OPENH323DIR[ \t]\+=\) "${S}":\1 /usr/share/openh323:" \ |
102 |
openh323u.mak || die |
103 |
} |
104 |
|
105 |
|
106 |
|
107 |
1.1 net-libs/h323plus/ChangeLog |
108 |
|
109 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/h323plus/ChangeLog?rev=1.1&view=markup |
110 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-libs/h323plus/ChangeLog?rev=1.1&content-type=text/plain |
111 |
|
112 |
Index: ChangeLog |
113 |
=================================================================== |
114 |
# ChangeLog for net-libs/h323plus |
115 |
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
116 |
# $Header: /var/cvsroot/gentoo-x86/net-libs/h323plus/ChangeLog,v 1.1 2013/02/22 19:04:21 chithanh Exp $ |
117 |
|
118 |
*h323plus-1.25.0 (22 Feb 2013) |
119 |
|
120 |
22 Feb 2013; Chí-Thanh Christopher Nguyễn <chithanh@g.o> |
121 |
+files/h323plus-1.25.0-ptrace-debugoptionlist.patch, |
122 |
+files/h323plus-1.25.0-ptrace-param.patch, +h323plus-1.25.0.ebuild, |
123 |
+metadata.xml: |
124 |
Initial commit, bug #290106. |