Lines 4-12
Link Here
|
4 |
|
4 |
|
5 |
EAPI="4" |
5 |
EAPI="4" |
6 |
|
6 |
|
|
|
7 |
inherit autotools |
8 |
|
7 |
DESCRIPTION="Open Real-time Transport Protocol (RTP, RFC3550) stack" |
9 |
DESCRIPTION="Open Real-time Transport Protocol (RTP, RFC3550) stack" |
8 |
HOMEPAGE="http://www.linphone.org/" |
10 |
HOMEPAGE="http://www.linphone.org/" |
9 |
SRC_URI="http://download.savannah.nongnu.org/releases-noredirect/linphone/${PN}/sources/${P}.tar.gz" |
11 |
SRC_URI="mirror://nongnu/linphone/${PN}/sources/${P}.tar.gz" |
10 |
|
12 |
|
11 |
LICENSE="LGPL-2.1" |
13 |
LICENSE="LGPL-2.1" |
12 |
SLOT="0" |
14 |
SLOT="0" |
Lines 16-24
Link Here
|
16 |
RDEPEND="srtp? ( net-libs/libsrtp ) |
18 |
RDEPEND="srtp? ( net-libs/libsrtp ) |
17 |
ssl? ( dev-libs/openssl )" |
19 |
ssl? ( dev-libs/openssl )" |
18 |
DEPEND="${RDEPEND} |
20 |
DEPEND="${RDEPEND} |
19 |
doc? ( app-doc/doxygen )" |
21 |
doc? ( app-doc/doxygen ) |
|
|
22 |
virtual/pkgconfig" |
20 |
|
23 |
|
21 |
src_prepare() { |
24 |
src_prepare() { |
|
|
25 |
# respect user's CFLAGS |
26 |
sed -i -e "s:-O2::;s: -g::" configure.ac || die "patching configure.ac failed" |
27 |
|
22 |
# to be sure doc is not builded nor installed w/ -doc and doxygen installed |
28 |
# to be sure doc is not builded nor installed w/ -doc and doxygen installed |
23 |
if ! use doc; then |
29 |
if ! use doc; then |
24 |
sed -i -e 's/test $DOXYGEN != //' configure \ |
30 |
sed -i -e 's/test $DOXYGEN != //' configure \ |
Lines 47-52
Link Here
|
47 |
sed -i -e 's/$(docdir)\/$(PACKAGE)-$(VERSION)/$(docdir)/' Makefile.in \ |
53 |
sed -i -e 's/$(docdir)\/$(PACKAGE)-$(VERSION)/$(docdir)/' Makefile.in \ |
48 |
|| die "patching Makefile.in failed" |
54 |
|| die "patching Makefile.in failed" |
49 |
fi |
55 |
fi |
|
|
56 |
|
57 |
# make sure to use host libtool version |
58 |
rm -f m4/libtool.m4 m4/lt*.m4 #282268 |
59 |
mkdir m4 |
60 |
eautoreconf |
50 |
} |
61 |
} |
51 |
|
62 |
|
52 |
src_configure() { |
63 |
src_configure() { |
Lines 54-64
Link Here
|
54 |
# memcheck is for HP-UX only |
65 |
# memcheck is for HP-UX only |
55 |
# mode64bit adds +DA2.0W +DS2.0 CFLAGS wich are needed for HP-UX |
66 |
# mode64bit adds +DA2.0W +DS2.0 CFLAGS wich are needed for HP-UX |
56 |
# strict adds -Werror, don't want it |
67 |
# strict adds -Werror, don't want it |
|
|
68 |
# zrtp depends on >=net-libs/libzrtpcpp-2.0.0, not in portage yet |
57 |
econf \ |
69 |
econf \ |
58 |
--docdir="${EPREFIX}"/usr/share/doc/${PF} \ |
70 |
--docdir="${EPREFIX}"/usr/share/doc/${PF} \ |
59 |
--disable-memcheck \ |
71 |
--disable-memcheck \ |
60 |
--disable-mode64bit \ |
72 |
--disable-mode64bit \ |
61 |
--disable-strict \ |
73 |
--disable-strict \ |
|
|
74 |
--disable-zrtp \ |
62 |
--enable-fast-install \ |
75 |
--enable-fast-install \ |
63 |
--enable-libtool-lock \ |
76 |
--enable-libtool-lock \ |
64 |
$(use_enable debug) \ |
77 |
$(use_enable debug) \ |