summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2008-12-23 04:47:38 +0000
committerMike Frysinger <vapier@gentoo.org>2008-12-23 04:47:38 +0000
commit08eabf72be55387c0451cff19e61c6623442e50a (patch)
treee3f8e8b4d8d4c8c8cb6aac77ef5bdf434fe40557 /net-voip/linphone
parentAutomated update of use.local.desc (diff)
downloadhistorical-08eabf72be55387c0451cff19e61c6623442e50a.tar.gz
historical-08eabf72be55387c0451cff19e61c6623442e50a.tar.bz2
historical-08eabf72be55387c0451cff19e61c6623442e50a.zip
Version bump #246494 by Nico Schlömer.
Package-Manager: portage-2.2_rc17/cvs/Linux 2.6.27.8 x86_64
Diffstat (limited to 'net-voip/linphone')
-rw-r--r--net-voip/linphone/ChangeLog8
-rw-r--r--net-voip/linphone/Manifest21
-rw-r--r--net-voip/linphone/files/linphone-3.0.0-pkg-config.patch291
-rw-r--r--net-voip/linphone/linphone-3.0.0.ebuild80
4 files changed, 385 insertions, 15 deletions
diff --git a/net-voip/linphone/ChangeLog b/net-voip/linphone/ChangeLog
index be519de34f1d..bfedd3cdb591 100644
--- a/net-voip/linphone/ChangeLog
+++ b/net-voip/linphone/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-voip/linphone
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-voip/linphone/ChangeLog,v 1.20 2008/12/23 04:05:12 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-voip/linphone/ChangeLog,v 1.21 2008/12/23 04:47:30 vapier Exp $
+
+*linphone-3.0.0 (23 Dec 2008)
+
+ 23 Dec 2008; Mike Frysinger <vapier@gentoo.org>
+ +files/linphone-3.0.0-pkg-config.patch, +linphone-3.0.0.ebuild:
+ Version bump #246494 by Nico Schlömer.
23 Dec 2008; Mike Frysinger <vapier@gentoo.org> linphone-2.1.1.ebuild:
Disable USE=video #189774.
diff --git a/net-voip/linphone/Manifest b/net-voip/linphone/Manifest
index 67f80e16b3e8..4afc0c17a3ea 100644
--- a/net-voip/linphone/Manifest
+++ b/net-voip/linphone/Manifest
@@ -1,29 +1,22 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
-- -----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX linphone-1.6.0-call.patch 344 RMD160 887c83861aec5e71914ebcca5c3bdff56e8ac513 SHA1 2a84da9c99154c68147c161f373a6b962ca2e7ce SHA256 7d1a5789adb3d2f02eaf0970acf567ae5901b2a61f84a94c2116e354a44aa822
AUX linphone-2.0.1-configure-gsm.patch 218 RMD160 bdaff175050cca87fa4af1c42913146790700e71 SHA1 af99fe37e776e2c1382ad08b17d16ea75b201400 SHA256 952953f4bd95b4f66abbbb74d0e7b9331fb5470d63732d2e8541328e92f2f378
AUX linphone-2.0.1-mediastreamer-deps.patch 2171 RMD160 282caddf2314583a5c5620413b70811c6dee03d7 SHA1 03890f8ba07114b7eea31fc416509ae0a3f89836 SHA256 249c5863c31b2e040f73cd0d0a6b9667b42622c6c27e9e9b67121a9d5de60910
AUX linphone-2.0.1-speexdsp.patch 4124 RMD160 ce630327e4f691920ac1d868aff85cce813be1fb SHA1 c47d6e519f1e45c98ce74bdea794d5e97271b78a SHA256 d01c8f5bec88bfc5b87ebe5f1a13b8494a0f898c81741754b930cd07b34b8cef
AUX linphone-2.1.1-ortp-deps.patch 2022 RMD160 f2abb4c2df5f551fada16c6f2b95b6d1c0be581d SHA1 4765cec6a181f8410b29ca5e76e7c2706469aaca SHA256 677f7f04f5f6ccef748adb4b77c0ac6cf0aebff3f70aa2a89249b4a06d3a5349
+AUX linphone-3.0.0-pkg-config.patch 8889 RMD160 0efdfe1ea146e43f76874e190c9a8f1a2c38a3c1 SHA1 c84923846d4237174bdcb873f01a63ac902e6f57 SHA256 3e3f7134a10ef0ea57f413d0548c1698e8f0190b2d6c9d05e5cf287f20d40f0b
DIST linphone-2.1.1.tar.gz 7662602 RMD160 9d51b97d213d6b81a911b73507b8f8df6b4d5d92 SHA1 93ac2c1e3afef9c9031856b9f836d7997eb9553c SHA256 ae69a6fb606046bccb5bfa20726bbc054ebe25abd1865f004e6205542523184e
+DIST linphone-3.0.0.tar.gz 7577336 RMD160 66f1083d54902c2ff91f544d84f8bad978a04b0d SHA1 52bd8250367523d59a13d5be4f779ab44eb3e25e SHA256 68657f5efe147bd00ec1375daf3fe13ae1c81f906bf9d81ab4fad8f0ef1fabec
EBUILD linphone-2.1.1.ebuild 3117 RMD160 d544d001f63cda6902f15ab8671d6121c370b85e SHA1 0045f568c0bd14629cab8663a61ddfd2bc044bfa SHA256 591f3cc2cfa9ae74592d171bdb131b9f70c819675562e2b8d4ea26828b4e3493
-MISC ChangeLog 9095 RMD160 0053739c84e111c8696ea7aff007366ef7b5b319 SHA1 4441eab85a07f9561df6d22c939d7f02acbbe221 SHA256 a3561f2776b6b88dc9ad90d963d5d6f10d3ba3b3679e92a21336c9bb915409ca
+EBUILD linphone-3.0.0.ebuild 2278 RMD160 0a0fbbf993b0cdb70c33007223ac44483030bdce SHA1 6ebac870639eb8c65951982a029157457e819a81 SHA256 67e54ad5ef4003862f2a429c8fbd92718aedf437dbbbf732771a377759dca21f
+MISC ChangeLog 9285 RMD160 d0fd73dcd67ae298417477dab23abb71990271ae SHA1 c759b7f0a98aa854f82bd239c5caae0d85e52ef6 SHA256 e535df8bbb8629087c6114bcf758348cc81c6946209509a8a3a80aee8b90c6bd
MISC metadata.xml 411 RMD160 df360127c5f499e65adb9645f229bcb1fd07a1e7 SHA1 1dad7bde2715614c5a1e50ce50c95862c55366f0 SHA256 847128e75bea9e74ca6bb1caec56d4081f57c89c3a5eb6186baf6f68dea97234
-- -----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAklQbeoACgkQn/5bYzqsSmFYZACgxFUhEfJvib1e88JmdWkAr7Nj
-mi4Aniixs9AXiFBEStgWkX+j5yiU/7E5
-=myCN
-- -----END PGP SIGNATURE-----
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
-iEYEARECAAYFAklQbhAACgkQn/5bYzqsSmF8TQCgwbUXVVEBLQK0aCI5JgUQpuLx
-QQMAn0J1zaNW4iX3o0mMPnPc2W6gVqlS
-=l4yK
+iEYEARECAAYFAklQd90ACgkQn/5bYzqsSmEKXQCgypO4wTD95zpVI2AUtDgslD7A
+4qQAniur5GtoQMqm2PppFt7XJjS6qK2W
+=wHEc
-----END PGP SIGNATURE-----
diff --git a/net-voip/linphone/files/linphone-3.0.0-pkg-config.patch b/net-voip/linphone/files/linphone-3.0.0-pkg-config.patch
new file mode 100644
index 000000000000..7c84216a0c5a
--- /dev/null
+++ b/net-voip/linphone/files/linphone-3.0.0-pkg-config.patch
@@ -0,0 +1,291 @@
+explicitly run PKG_PROG_PKG_CONFIG
+
+--- mediastreamer2/configure
++++ mediastreamer2/configure
+@@ -875,6 +875,7 @@ F77
+ FFLAGS
+ ac_ct_F77
+ LIBTOOL
++PKG_CONFIG
+ BUILD_MACOSX_TRUE
+ BUILD_MACOSX_FALSE
+ MSPLUGINS_CFLAGS
+@@ -884,7 +885,6 @@ BUILD_OSS_FALSE
+ ALSA_LIBS
+ BUILD_ALSA_TRUE
+ BUILD_ALSA_FALSE
+-PKG_CONFIG
+ ARTS_CFLAGS
+ ARTS_LIBS
+ BUILD_ARTS_TRUE
+@@ -20809,6 +20809,127 @@ if test $GCC = yes && test $wall_werror = yes; then
+ CFLAGS="$CFLAGS -Werror "
+ fi
+
++
++
++if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
++ if test -n "$ac_tool_prefix"; then
++ # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
++set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
++{ echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
++if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
++ echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++ case $PKG_CONFIG in
++ [\\/]* | ?:[\\/]*)
++ ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
++ ;;
++ *)
++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
++ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++done
++IFS=$as_save_IFS
++
++ ;;
++esac
++fi
++PKG_CONFIG=$ac_cv_path_PKG_CONFIG
++if test -n "$PKG_CONFIG"; then
++ { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
++echo "${ECHO_T}$PKG_CONFIG" >&6; }
++else
++ { echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6; }
++fi
++
++
++fi
++if test -z "$ac_cv_path_PKG_CONFIG"; then
++ ac_pt_PKG_CONFIG=$PKG_CONFIG
++ # Extract the first word of "pkg-config", so it can be a program name with args.
++set dummy pkg-config; ac_word=$2
++{ echo "$as_me:$LINENO: checking for $ac_word" >&5
++echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
++if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
++ echo $ECHO_N "(cached) $ECHO_C" >&6
++else
++ case $ac_pt_PKG_CONFIG in
++ [\\/]* | ?:[\\/]*)
++ ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
++ ;;
++ *)
++ as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
++for as_dir in $PATH
++do
++ IFS=$as_save_IFS
++ test -z "$as_dir" && as_dir=.
++ for ac_exec_ext in '' $ac_executable_extensions; do
++ if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
++ ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
++ echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
++ break 2
++ fi
++done
++done
++IFS=$as_save_IFS
++
++ ;;
++esac
++fi
++ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
++if test -n "$ac_pt_PKG_CONFIG"; then
++ { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
++echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
++else
++ { echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6; }
++fi
++
++ if test "x$ac_pt_PKG_CONFIG" = x; then
++ PKG_CONFIG=""
++ else
++ case $cross_compiling:$ac_tool_warned in
++yes:)
++{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
++whose name does not start with the host triplet. If you think this
++configuration is useful to you, please write to autoconf@gnu.org." >&5
++echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
++whose name does not start with the host triplet. If you think this
++configuration is useful to you, please write to autoconf@gnu.org." >&2;}
++ac_tool_warned=yes ;;
++esac
++ PKG_CONFIG=$ac_pt_PKG_CONFIG
++ fi
++else
++ PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
++fi
++
++fi
++if test -n "$PKG_CONFIG"; then
++ _pkg_min_version=0.9.0
++ { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
++echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
++ if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
++ { echo "$as_me:$LINENO: result: yes" >&5
++echo "${ECHO_T}yes" >&6; }
++ else
++ { echo "$as_me:$LINENO: result: no" >&5
++echo "${ECHO_T}no" >&6; }
++ PKG_CONFIG=""
++ fi
++
++fi
++
+ macosx_found=no
+
+ case $OS in
+@@ -21332,126 +21453,6 @@ arts_enabled=false
+ if test "$artsc" = "true" ; then
+
+
+-
+-if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
+- if test -n "$ac_tool_prefix"; then
+- # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
+-set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
+-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+-if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
+- echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+- case $PKG_CONFIG in
+- [\\/]* | ?:[\\/]*)
+- ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
+- ;;
+- *)
+- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+-for as_dir in $PATH
+-do
+- IFS=$as_save_IFS
+- test -z "$as_dir" && as_dir=.
+- for ac_exec_ext in '' $ac_executable_extensions; do
+- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+- ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
+- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+- break 2
+- fi
+-done
+-done
+-IFS=$as_save_IFS
+-
+- ;;
+-esac
+-fi
+-PKG_CONFIG=$ac_cv_path_PKG_CONFIG
+-if test -n "$PKG_CONFIG"; then
+- { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
+-echo "${ECHO_T}$PKG_CONFIG" >&6; }
+-else
+- { echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6; }
+-fi
+-
+-
+-fi
+-if test -z "$ac_cv_path_PKG_CONFIG"; then
+- ac_pt_PKG_CONFIG=$PKG_CONFIG
+- # Extract the first word of "pkg-config", so it can be a program name with args.
+-set dummy pkg-config; ac_word=$2
+-{ echo "$as_me:$LINENO: checking for $ac_word" >&5
+-echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
+-if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
+- echo $ECHO_N "(cached) $ECHO_C" >&6
+-else
+- case $ac_pt_PKG_CONFIG in
+- [\\/]* | ?:[\\/]*)
+- ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
+- ;;
+- *)
+- as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
+-for as_dir in $PATH
+-do
+- IFS=$as_save_IFS
+- test -z "$as_dir" && as_dir=.
+- for ac_exec_ext in '' $ac_executable_extensions; do
+- if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
+- ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
+- echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
+- break 2
+- fi
+-done
+-done
+-IFS=$as_save_IFS
+-
+- ;;
+-esac
+-fi
+-ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
+-if test -n "$ac_pt_PKG_CONFIG"; then
+- { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
+-echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
+-else
+- { echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6; }
+-fi
+-
+- if test "x$ac_pt_PKG_CONFIG" = x; then
+- PKG_CONFIG=""
+- else
+- case $cross_compiling:$ac_tool_warned in
+-yes:)
+-{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
+-whose name does not start with the host triplet. If you think this
+-configuration is useful to you, please write to autoconf@gnu.org." >&5
+-echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
+-whose name does not start with the host triplet. If you think this
+-configuration is useful to you, please write to autoconf@gnu.org." >&2;}
+-ac_tool_warned=yes ;;
+-esac
+- PKG_CONFIG=$ac_pt_PKG_CONFIG
+- fi
+-else
+- PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
+-fi
+-
+-fi
+-if test -n "$PKG_CONFIG"; then
+- _pkg_min_version=0.9.0
+- { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
+-echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
+- if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
+- { echo "$as_me:$LINENO: result: yes" >&5
+-echo "${ECHO_T}yes" >&6; }
+- else
+- { echo "$as_me:$LINENO: result: no" >&5
+-echo "${ECHO_T}no" >&6; }
+- PKG_CONFIG=""
+- fi
+-
+-fi
+-
+ pkg_failed=no
+ { echo "$as_me:$LINENO: checking for ARTS" >&5
+ echo $ECHO_N "checking for ARTS... $ECHO_C" >&6; }
+@@ -26209,6 +26210,7 @@ F77!$F77$ac_delim
+ FFLAGS!$FFLAGS$ac_delim
+ ac_ct_F77!$ac_ct_F77$ac_delim
+ LIBTOOL!$LIBTOOL$ac_delim
++PKG_CONFIG!$PKG_CONFIG$ac_delim
+ BUILD_MACOSX_TRUE!$BUILD_MACOSX_TRUE$ac_delim
+ BUILD_MACOSX_FALSE!$BUILD_MACOSX_FALSE$ac_delim
+ MSPLUGINS_CFLAGS!$MSPLUGINS_CFLAGS$ac_delim
+@@ -26218,7 +26220,6 @@ BUILD_OSS_FALSE!$BUILD_OSS_FALSE$ac_delim
+ ALSA_LIBS!$ALSA_LIBS$ac_delim
+ BUILD_ALSA_TRUE!$BUILD_ALSA_TRUE$ac_delim
+ BUILD_ALSA_FALSE!$BUILD_ALSA_FALSE$ac_delim
+-PKG_CONFIG!$PKG_CONFIG$ac_delim
+ ARTS_CFLAGS!$ARTS_CFLAGS$ac_delim
+ ARTS_LIBS!$ARTS_LIBS$ac_delim
+ BUILD_ARTS_TRUE!$BUILD_ARTS_TRUE$ac_delim
diff --git a/net-voip/linphone/linphone-3.0.0.ebuild b/net-voip/linphone/linphone-3.0.0.ebuild
new file mode 100644
index 000000000000..92eb036847c4
--- /dev/null
+++ b/net-voip/linphone/linphone-3.0.0.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-voip/linphone/linphone-3.0.0.ebuild,v 1.1 2008/12/23 04:47:30 vapier Exp $
+
+inherit eutils
+
+DESCRIPTION="Voice Over IP phone (internet phone which uses SIP)"
+HOMEPAGE="http://www.linphone.org/"
+SRC_URI="http://download.savannah.nongnu.org/releases/${PN}/stable/sources/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="1"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE="alsa arts console gsm gtk ilbc ipv6 video xv"
+
+RDEPEND="dev-libs/glib
+ dev-perl/XML-Parser
+ net-dns/bind-tools
+ >=net-libs/libosip-3.0.3
+ >=net-libs/libeXosip-3.0.3
+ >=media-libs/speex-1.1.12
+ gsm? ( >=media-sound/gsm-1.0.12-r1 )
+ gtk? (
+ >=x11-libs/gtk+-2
+ gnome-base/libglade
+ )
+ alsa? ( media-libs/alsa-lib )
+ arts? ( kde-base/arts )
+ ilbc? ( dev-libs/ilbc-rfc3951 )
+ video? (
+ >=media-libs/libsdl-1.2.9
+ media-video/ffmpeg
+ >=media-libs/libtheora-1.0_alpha7
+ )"
+DEPEND="${RDEPEND}
+ x86? ( xv? ( dev-lang/nasm ) )
+ dev-util/pkgconfig"
+# use the bundled ortp until newer versions leave package.mask
+# >=net-libs/ortp-0.13.0
+# portaudio? ( >=media-libs/portaudio-19_pre )"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-pkg-config.patch
+}
+
+src_compile() {
+ export ac_cv_path_DOXYGEN=false
+ econf \
+ --disable-manual \
+ --disable-strict \
+ --libdir=/usr/$(get_libdir)/linphone \
+ --libexecdir=/usr/$(get_libdir)/linphone/exec \
+ $(use_enable console console_ui) \
+ $(use_enable gtk gtk_ui) \
+ $(use_with ilbc) \
+ $(use_enable ipv6) \
+ $(use_enable alsa) \
+ $(use_enable arts artsc) \
+ $(use_with gsm) \
+ $(use_enable video) \
+ --disable-portaudio \
+ $(use_enable x86 truespeech) \
+ || die "Unable to configure"
+ #--enable-external-ortp \
+ #$(use_enable portaudio)
+ emake || die "Unable to make"
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "Failed to install"
+ dodoc AUTHORS BUGS ChangeLog INSTALL NEWS README README.arm TODO
+
+ # don't install mediastreamer/ortp includes, docs and pkgconfig files
+ # to avoid conflicts with net-libs/ortp
+ rm -r "${D}"/usr/include/{mediastreamer2,ortp} || die
+ rm -r "${D}"/usr/$(get_libdir)/linphone/pkgconfig/{mediastreamer,ortp}.pc || die
+ mv "${D}"/usr/$(get_libdir)/{linphone/,}pkgconfig || die
+}