diff options
Diffstat (limited to 'net-voip/linphone')
-rw-r--r-- | net-voip/linphone/Manifest | 11 | ||||
-rw-r--r-- | net-voip/linphone/files/linphone-3.5.2-automake-1.13.patch | 19 | ||||
-rw-r--r-- | net-voip/linphone/files/linphone-3.5.2-nls.patch | 15 | ||||
-rw-r--r-- | net-voip/linphone/files/linphone-3.6.1-nls.patch | 19 | ||||
-rw-r--r-- | net-voip/linphone/linphone-3.5.2.ebuild | 111 | ||||
-rw-r--r-- | net-voip/linphone/linphone-3.6.1.ebuild | 116 | ||||
-rw-r--r-- | net-voip/linphone/metadata.xml | 17 |
7 files changed, 308 insertions, 0 deletions
diff --git a/net-voip/linphone/Manifest b/net-voip/linphone/Manifest new file mode 100644 index 000000000000..dff9a6809565 --- /dev/null +++ b/net-voip/linphone/Manifest @@ -0,0 +1,11 @@ +AUX linphone-3.5.2-automake-1.13.patch 411 SHA256 2a22664f9afa25cc30a5f4720f166d2915cbb6d7165d5a2c0ca4cebb942dc19c SHA512 c01970d2e18efc5187695c25c0ae63f681c482769c078724a9805e47c6b8d4c5d69c401d673032062fe6137de582a6fd16c42cd4be6868c3bae86c958ba131b5 WHIRLPOOL 9d2e800736ecebcf0d74a0c76919f498fcc8a97cb5549ba6011909d29892d59ee2f2bb3adb48ed7746167b3097fc64e51e2ffd546dbadfc0e5f0f7474f7bf566 +AUX linphone-3.5.2-nls.patch 419 SHA256 122db264895c42d21aae55cd2297a5bb4e0098d043d77b0e14d6af69018e9776 SHA512 f0b7259c0fee65edbbe2df4a60f85ff738f78cb5002e7bdbbd6b0ff602419843fab32bd30e2797a4fa4cc662709336c44de5fdac56a8ce4b886095507061ef46 WHIRLPOOL 76e03094639e989cd95f26f91cad9e004d36db6905bf957923c7e51af9bfe3892f3229b7befb788f9d6dc13c2054666341bedeca315d3c97d5d082829134ca93 +AUX linphone-3.6.1-nls.patch 401 SHA256 19fb515aeb3acfe9785df376aa9ad26ae4c8be205c6404791c3af2fd6300cdce SHA512 cec3043ca002b120907ab64177e5abed50109daae9f6bbcd6d4242667cb180bf33b2cc5a7a4f335c77fc3925736087de3f9e037daa909cc19257ca419f966820 WHIRLPOOL 97a1b216f29c654a8cd2406931ed179f90730d73895e7420c7774b4dbf65ef1e57e44c4f99f799717fbaf0dd5afdda00a878ce14e908e2014e12894a267ef95d +DIST linphone-3.5.2.tar.gz 8338517 SHA256 da37d5e539e3f8aaa44039aa52ed032ef372e7481d1b3ce68317bf79aa8a6020 SHA512 a45be141af3ee5fc37d314889b92246000810b2b5e129088a30e3ba9335f6cecd226b488a568953463d38806491471e3798be99eda7ceba9d421ff0fa7a995c9 WHIRLPOOL d3365a9d05ed7694bcd12237bd80a55a9ca7766b5e52362ca1c470e7ea748a9e50419ef05e9c79af156d364f8ec8f9a29bcf45361cd07bb8ee029a9e45f142c6 +DIST linphone-3.6.1-exosip-4.patch 89376 SHA256 36e72e03bfc215b923b11f360b0435b1ba5df2b2ead4abce12a7b80a7a0fc367 SHA512 bdab74336cb8235b3396230278fd8eb465defac1175b00ff9cf273ef2dbc4e05f63d2574de599618e4d963b42ad17ac4f0c8c9013e40a497c99211041317313d WHIRLPOOL 8f74746447210a284677e6b203c14542bc9e4c9507d37f5adc860ffd4bf825112c9aba6a4dd9d34ca6152a9e0021ea815d14edd33774d6b75124f549d1d0dbc4 +DIST linphone-3.6.1.tar.gz 11458586 SHA256 05ba81223e9378c3bce8d33080213b9925af49bd9623cd9004eb3dd22ca9d2a0 SHA512 688ccfb333b2302ca20c2c77e38b20deee8b1c5f3c31f7a4b666d81114ea3e5cbe38bac6d88116d635ac3fcb7f38d013e35c7c076549cc3d7ae900456d51b5e4 WHIRLPOOL 3b76b6d3bbf1a9e2b06beae41e276abcd5223c5cf6f600c140ab27a60aae7b9c47c1c9da1f26587fac0d77f8a6114115b18d346d33f05b1e2a0a3a83fbf986b0 +EBUILD linphone-3.5.2.ebuild 2889 SHA256 8fa5ff78bf0604260cf86e6d7f9a75d7291e3a611df95114859b6d939450a28f SHA512 135e1798897c1c2a646d8041079884ae7f68cd5863f168a60b4ee075ce8577b3c3fe84e9a5ddb5e50e929bdf0a4dc099b624b9471072d78c1d46b8987f6d69ed WHIRLPOOL 2c036abd1e4d80e4197698d057fc95b3e274e35af18c94137f3342a8d64c3e1d61d44159f4c4cf9c486d799102a8d20156f8abcaccac0116de7cc09497098581 +EBUILD linphone-3.6.1.ebuild 3071 SHA256 e25a9b403e5829de30bfa3ee162134bd3f38fb4e4b51cc6261c0666633b37664 SHA512 0aab857e8ed61cf58b9221b5e69006a5b7b3023e4733f15d198146cd8033369a7596ac1b9bee1343523943706d11af5719041900921741b6bf798521b34c0bfb WHIRLPOOL 06d8b334171f6780331c6b48a67354a86bdc26c4c4b24dd2c415f16a25199fc27059faa9ca22d3d1ae3d6beb0017b2013fe1b7a42b82c6b1326ae16d6e9044f4 +MISC ChangeLog 2764 SHA256 720aff589d600af79951c749b0342f8e68bb41a3e63a474bdbeadd5b4136da44 SHA512 b746cc8fad9ef8b2a779bf44ace730126bd9c57f2f0f7fbae02058a22ef54b3df9a45ce3d310462ff71ad681600c357288871fa958c5cffba9ab909107315b58 WHIRLPOOL 35e2ca736928549b1ceb8ad4fa977c7f36820e94bba46cbfe92d3fad03ea3fa1a9e0e0fdbf41c5fa4c8b19ab2571862e92aacbdabc3f64385f874391bf3f30aa +MISC ChangeLog-2015 19071 SHA256 e35db154de39081ebe44ed44d355308d40876b6ae37ae9c58215951078fe402e SHA512 def4d63cb157f14573613a3b4df49af150b6ec055a4b0979a0438bfafaab3a41c1f8d0260de02e666f18f31ff6720adba7081eb922fc6eb6b8ef3567b3c4a27f WHIRLPOOL 486c43ea7270dba23fb0dfde0155aaf18007c7f26346b9b6ce784f75b27c215f0fdf3929dbea1e83265092acda04fa562962a5cfd24345b9911e28ed2d0f6b86 +MISC metadata.xml 603 SHA256 493004ae5ba17c012a496fdf451b5dee5624fe54e2e9a1b6edf086ebf02483fd SHA512 5d48b510b798090b2ebfed2197570ac045462dbd424aeac2a8aae8b01c04c7620fe7f8eb5480f12d813b0c55fc15db475f2128de7d6ffb9fcbc1c158711143fd WHIRLPOOL f47cd194c48cfb795c84485315330cf66948566bb6e88f775f3a52a8553a30d761922ae741c0bd6823e5b5988f243cb2c273acaebff1c7c55d05cc301ba6dcf8 diff --git a/net-voip/linphone/files/linphone-3.5.2-automake-1.13.patch b/net-voip/linphone/files/linphone-3.5.2-automake-1.13.patch new file mode 100644 index 000000000000..44d679c473a9 --- /dev/null +++ b/net-voip/linphone/files/linphone-3.5.2-automake-1.13.patch @@ -0,0 +1,19 @@ +Author: hasufell <hasufell@gentoo.org> +Date: Sun Sep 29 17:41:02 2013 +0200 + + remove obsolete macro + + AC_PROG_CC is already called anyway + +diff --git a/configure.ac b/configure.ac +index 22bc235..81f6277 100644 +--- a/configure.ac ++++ b/configure.ac +@@ -39,7 +39,6 @@ AC_ISC_POSIX + AC_PROG_CC + AC_PROG_CXX + AC_C_INLINE +-AM_PROG_CC_STDC + AC_HEADER_STDC + AM_PROG_CC_C_O + AC_CHECK_PROGS(MD5SUM,[md5sum md5]) diff --git a/net-voip/linphone/files/linphone-3.5.2-nls.patch b/net-voip/linphone/files/linphone-3.5.2-nls.patch new file mode 100644 index 000000000000..b9624048edfe --- /dev/null +++ b/net-voip/linphone/files/linphone-3.5.2-nls.patch @@ -0,0 +1,15 @@ +diff -r 5c0dde6115a0 -r 082bb23f04a9 configure.ac +--- a/configure.ac Thu Mar 29 12:44:23 2012 +0400 ++++ b/configure.ac Thu Mar 29 12:48:40 2012 +0400 +@@ -80,7 +80,10 @@ + AC_SUBST(GUI_FLAGS) + + dnl localization tools +-IT_PROG_INTLTOOL([0.40], [no-xml]) ++AM_NLS ++if test "$USE_NLS" != "no"; then ++ IT_PROG_INTLTOOL([0.40], [no-xml]) ++fi + + AM_CONDITIONAL(BUILD_TESTS,test x$build_tests != xno) + dnl Initialize libtool diff --git a/net-voip/linphone/files/linphone-3.6.1-nls.patch b/net-voip/linphone/files/linphone-3.6.1-nls.patch new file mode 100644 index 000000000000..fb53aece8f64 --- /dev/null +++ b/net-voip/linphone/files/linphone-3.6.1-nls.patch @@ -0,0 +1,19 @@ +Author: hasufell <hasufell@gentoo.org> +Date: Sun Sep 29 20:19:39 2013 +0200 + + fix nls + +--- a/configure.ac ++++ b/configure.ac +@@ -79,7 +79,10 @@ AC_SUBST(CONSOLE_FLAGS) + AC_SUBST(GUI_FLAGS) + + dnl localization tools +-IT_PROG_INTLTOOL([0.40], [no-xml]) ++AM_NLS ++if test "$USE_NLS" != "no"; then ++ IT_PROG_INTLTOOL([0.40], [no-xml]) ++fi + + AM_CONDITIONAL(BUILD_TESTS,test x$build_tests != xno) + diff --git a/net-voip/linphone/linphone-3.5.2.ebuild b/net-voip/linphone/linphone-3.5.2.ebuild new file mode 100644 index 000000000000..8d000d4c4b35 --- /dev/null +++ b/net-voip/linphone/linphone-3.5.2.ebuild @@ -0,0 +1,111 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools eutils multilib pax-utils versionator + +DESCRIPTION="Video softphone based on the SIP protocol" +HOMEPAGE="http://www.linphone.org/" +SRC_URI="mirror://nongnu/${PN}/$(get_version_component_range 1-2).x/sources/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 x86" +# TODO: run-time test for ipv6: does it need mediastreamer[ipv6]? +IUSE="doc gsm-nonstandard gtk ipv6 ncurses nls ssl video" + +RDEPEND=" + =media-libs/mediastreamer-2.8*[video?,ipv6?] + >=net-libs/libeXosip-3.0.2 + >=net-libs/libosip-3.0.0 + <net-libs/libosip-4 + <net-libs/libeXosip-4 + >=net-libs/libsoup-2.26 + >=net-libs/ortp-0.20.0 + <net-libs/ortp-0.22.0 + gtk? ( + dev-libs/glib:2 + >=gnome-base/libglade-2.4.0:2.0 + >=x11-libs/gtk+-2.4.0:2 + x11-libs/libnotify + ) + gsm-nonstandard? ( =media-libs/mediastreamer-2.8*[gsm] ) + ncurses? ( + sys-libs/readline:= + sys-libs/ncurses + ) + ssl? ( dev-libs/openssl:= ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( app-text/sgmltools-lite ) + nls? ( + dev-util/intltool + sys-devel/gettext + ) +" + +IUSE_LINGUAS=" fr it de ja es pl cs nl sv pt_BR hu ru zh_CN" +IUSE="${IUSE}${IUSE_LINGUAS// / linguas_}" + +pkg_setup() { + if ! use gtk && ! use ncurses ; then + ewarn "gtk and ncurses are disabled." + ewarn "At least one of these use flags are needed to get a front-end." + ewarn "Only liblinphone is going to be installed." + fi + + strip-linguas ${IUSE_LINGUAS} +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-nls.patch \ + "${FILESDIR}"/${P}-automake-1.13.patch + # remove speex check, avoid bug when mediastreamer[-speex] + sed -i -e '/SPEEX/d' configure.ac || die "patching configure.ac failed" + + # variable causes "command not found" warning and is not + # needed anyway + sed -i -e 's/$(ACLOCAL_MACOS_FLAGS)//' Makefile.am || die + + # fix path to use lib64 + sed -i -e "s:lib\(/liblinphone\):$(get_libdir)\1:" configure.ac \ + || die "patching configure.ac failed" + + # removing bundled libs dir prevent them to be reconf + rm -rf mediastreamer2 oRTP || die "should not die" + sed -i -e "s:oRTP::;s:mediastreamer2::" Makefile.am \ + || die "patching Makefile.am failed" + + eautoreconf +} + +src_configure() { + local myeconfargs=( + --disable-static + # we don't want -Werror + --disable-strict + # don't bundle libs + --enable-external-ortp + --enable-external-mediastreamer + # seems not used, TODO: ask in ml + --disable-truespeech + --disable-zrtp + $(use_enable doc manual) + $(use_enable gsm-nonstandard nonstandard-gsm) + $(use_enable gtk gtk_ui) + $(use_enable ipv6) + $(use_enable ncurses console_ui) + $(use_enable nls) + $(use_enable video) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + emake DESTDIR="${D}" pkgdocdir="/usr/share/doc/${PF}" install # 415161 + dodoc AUTHORS BUGS ChangeLog NEWS README README.arm TODO + pax-mark m "${ED}usr/bin/linphone" +} diff --git a/net-voip/linphone/linphone-3.6.1.ebuild b/net-voip/linphone/linphone-3.6.1.ebuild new file mode 100644 index 000000000000..0651a889417b --- /dev/null +++ b/net-voip/linphone/linphone-3.6.1.ebuild @@ -0,0 +1,116 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit autotools eutils multilib pax-utils versionator + +DESCRIPTION="Video softphone based on the SIP protocol" +HOMEPAGE="http://www.linphone.org/" +SRC_URI="mirror://nongnu/${PN}/$(get_version_component_range 1-2).x/sources/${P}.tar.gz + https://dev.gentoo.org/~hasufell/distfiles/${P}-exosip-4.patch" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +# TODO: run-time test for ipv6: does it need mediastreamer[ipv6]? +IUSE="assistant doc gsm-nonstandard gtk ipv6 libnotify ncurses nls sqlite ssl tools upnp video" + +RDEPEND=" + >=media-libs/mediastreamer-2.9.0[ipv6?,upnp?,video?] + >=net-libs/libeXosip-4.0.0 + >=net-libs/libosip-4.0.0 + >=net-libs/ortp-0.22.0 + virtual/udev + gtk? ( + dev-libs/glib:2 + >=gnome-base/libglade-2.4.0:2.0 + >=x11-libs/gtk+-2.4.0:2 + assistant? ( >=net-libs/libsoup-2.26 ) + libnotify? ( x11-libs/libnotify ) + ) + gsm-nonstandard? ( >=media-libs/mediastreamer-2.9.0[gsm] ) + ncurses? ( + sys-libs/readline:0 + sys-libs/ncurses + ) + sqlite? ( dev-db/sqlite:3 ) + ssl? ( dev-libs/openssl:0 ) + tools? ( dev-libs/libxml2 ) + upnp? ( net-libs/libupnp ) + video? ( >=media-libs/mediastreamer-2.9.0[v4l] ) +" +DEPEND="${RDEPEND} + virtual/pkgconfig + doc? ( app-text/sgmltools-lite ) + nls? ( dev-util/intltool ) +" + +IUSE_LINGUAS=" fr it de he ja es pl cs nl sr sv pt_BR hu ru zh_CN" +IUSE="${IUSE}${IUSE_LINGUAS// / linguas_}" + +pkg_setup() { + if ! use gtk && ! use ncurses ; then + ewarn "gtk and ncurses are disabled." + ewarn "At least one of these use flags are needed to get a front-end." + ewarn "Only liblinphone is going to be installed." + fi + + strip-linguas ${IUSE_LINGUAS} +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-nls.patch \ + "${DISTDIR}"/${P}-exosip-4.patch + + # variable causes "command not found" warning and is not + # needed anyway + sed -i \ + -e 's/$(ACLOCAL_MACOS_FLAGS)//' Makefile.am || die + + # fix path to use lib64 + sed -i \ + -e "s:lib\(/liblinphone\):$(get_libdir)\1:" configure.ac \ + || die "patching configure.ac failed" + + # removing bundled libs dir prevent them to be reconf + rm -r mediastreamer2 oRTP || die + + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_enable doc manual) + $(use_enable nls) + --disable-static + $(use_enable ncurses console_ui) + $(use_enable tools) + $(use_enable upnp) + $(use_enable gtk gtk_ui) + $(use_enable libnotify notify) + $(use_enable ipv6) + --disable-truespeech + $(use_enable gsm-nonstandard nonstandard-gsm) + $(use_enable ssl) + --disable-speex + # seems not used, TODO: ask in ml + $(use_enable video) + --disable-zrtp + $(usex gtk "$(use_enable assistant)" "--disable-assistant") + # we don't want -Werror + --disable-strict + # don't bundle libs + --enable-external-mediastreamer + $(use_enable sqlite msg-storage) + --enable-external-ortp + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + emake DESTDIR="${D}" pkgdocdir="/usr/share/doc/${PF}" install # 415161 + dodoc AUTHORS BUGS ChangeLog NEWS README README.arm TODO + pax-mark m "${ED%/}/usr/bin/linphone" +} diff --git a/net-voip/linphone/metadata.xml b/net-voip/linphone/metadata.xml new file mode 100644 index 000000000000..de12a8b0d04d --- /dev/null +++ b/net-voip/linphone/metadata.xml @@ -0,0 +1,17 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>bircoph@gentoo.org</email> + <name>Andrew Savchenko</name> + </maintainer> + <use> + <flag name="assistant">Turn on assistant compiling + (needs gtk enabled)</flag> + <flag name="gsm-nonstandard">Support non-standard GSM frequencies + </flag> + <flag name="sqlite">Turn on compilation of message storage</flag> + <flag name="tools">Compile tools</flag> + <flag name="video">Enable video support (display/capture)</flag> + </use> +</pkgmetadata> |