summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJean-Noël Rivasseau <elvanor@gentoo.org>2010-09-07 15:45:38 +0000
committerJean-Noël Rivasseau <elvanor@gentoo.org>2010-09-07 15:45:38 +0000
commitc84cab70d2627cd3c8897eb6b046338009f94d7c (patch)
tree7119943daa0cdcb70a0b302b3ed10cf04a0ac989 /net-voip
parentSet RDEPEND to include DEPEND by James Rowe (bug #336360). (diff)
downloadhistorical-c84cab70d2627cd3c8897eb6b046338009f94d7c.tar.gz
historical-c84cab70d2627cd3c8897eb6b046338009f94d7c.tar.bz2
historical-c84cab70d2627cd3c8897eb6b046338009f94d7c.zip
Initial import, bug #293399.
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'net-voip')
-rw-r--r--net-voip/sflphone/ChangeLog9
-rw-r--r--net-voip/sflphone/Manifest4
-rw-r--r--net-voip/sflphone/metadata.xml15
-rw-r--r--net-voip/sflphone/sflphone-0.9.8.4.ebuild143
4 files changed, 171 insertions, 0 deletions
diff --git a/net-voip/sflphone/ChangeLog b/net-voip/sflphone/ChangeLog
new file mode 100644
index 000000000000..4b79ec507f2d
--- /dev/null
+++ b/net-voip/sflphone/ChangeLog
@@ -0,0 +1,9 @@
+# ChangeLog for net-voip/sflphone
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-voip/sflphone/ChangeLog,v 1.1 2010/09/07 15:45:38 elvanor Exp $
+
+*sflphone-0.9.8.4 (06 Sep 2010)
+
+ 06 Sep 2010; <elvanor@gentoo.org> +sflphone-0.9.8.4.ebuild, +metadata.xml:
+ Initial import from bug #293399. Credits goes to Atman Sense.
+
diff --git a/net-voip/sflphone/Manifest b/net-voip/sflphone/Manifest
new file mode 100644
index 000000000000..6b382ea4279d
--- /dev/null
+++ b/net-voip/sflphone/Manifest
@@ -0,0 +1,4 @@
+DIST sflphone-0.9.8.4.tar.gz 7191853 RMD160 b42af5a80c851b34b0362cbc920241345b795b8a SHA1 a29ec6febb2c1b2c78ab70019ada17fb5fe65e0e SHA256 db31e642e77543099325a18c3c1f2e7e1ef83615c9d4d27c2a21c5abfb0253a4
+EBUILD sflphone-0.9.8.4.ebuild 3770 RMD160 54ba7d4af44147ce4295cfc06f4585e049ad7837 SHA1 79c6ceb500889d4ac96a7066359ba197b9532807 SHA256 1431d4f7ff0d53a01de7c4a6ff515cf7d3aa2d2ce8f278e8576991d7b8a3c7d9
+MISC ChangeLog 383 RMD160 d3847dcafae685b481bdc399bb412aaa1e6819d6 SHA1 3785611f32fc1314732836ed98b56ff51c723baf SHA256 8590c48401f4948b7912d577cc56c21063213e40ba790955cb2657550d979079
+MISC metadata.xml 601 RMD160 5d90dfb1c2b55f04de3becb09acd78d91d7f3263 SHA1 87cba5b018223ee925bc2666635ed95683912692 SHA256 6010d087c96b75b655fac51c9e9b362ae91a02dd8d6b7c91388db7773bb0e048
diff --git a/net-voip/sflphone/metadata.xml b/net-voip/sflphone/metadata.xml
new file mode 100644
index 000000000000..4e1793d6b864
--- /dev/null
+++ b/net-voip/sflphone/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>elvanor@gentoo.org</email>
+ <name>Jean-Noël Rivasseau</name>
+ </maintainer>
+ <longdescription>
+ SFLphone is a robust standards-compliant enterprise softphone, for desktop and embedded systems. It is designed to handle several hundreds of calls a day. SFLphone is available under the GNU GPL license, version 3.
+ </longdescription>
+ <use>
+ <flag name="iax">Support for IAX (Inter Asterisk eXchange)</flag>
+ </use>
+</pkgmetadata>
diff --git a/net-voip/sflphone/sflphone-0.9.8.4.ebuild b/net-voip/sflphone/sflphone-0.9.8.4.ebuild
new file mode 100644
index 000000000000..84432343e5b4
--- /dev/null
+++ b/net-voip/sflphone/sflphone-0.9.8.4.ebuild
@@ -0,0 +1,143 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-voip/sflphone/sflphone-0.9.8.4.ebuild,v 1.1 2010/09/07 15:45:38 elvanor Exp $
+
+EAPI="2"
+
+inherit autotools
+
+DESCRIPTION="SFLphone is a robust standards-compliant enterprise softphone, for desktop and embedded systems."
+HOMEPAGE="http://www.sflphone.org/"
+SRC_URI="https://projects.savoirfairelinux.com/attachments/download/1327/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="debug gnome gsm iax networkmanager speex"
+
+DEPEND="media-sound/pulseaudio
+ media-libs/libsamplerate
+ net-libs/ccrtp
+ net-libs/libzrtpcpp
+ net-libs/pjsip
+ dev-cpp/commoncpp2
+ sys-apps/dbus
+ dev-libs/openssl
+ dev-libs/expat
+ media-libs/alsa-lib
+ media-libs/celt
+ dev-libs/libpcre
+ gsm? ( media-sound/gsm )
+ speex? ( media-libs/speex )
+ networkmanager? ( net-misc/networkmanager )
+ iax? ( net-libs/iax )
+ gnome? ( dev-libs/atk
+ dev-libs/check
+ dev-libs/log4c
+ net-libs/libsoup
+ gnome-base/libgnomeui
+ gnome-base/orbit
+ gnome-extra/evolution-data-server
+ media-libs/libart_lgpl
+ media-libs/freetype
+ media-libs/fontconfig
+ x11-libs/cairo
+ x11-libs/libnotify
+ x11-libs/libICE
+ x11-libs/libSM )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ if ! use gnome; then
+ ewarn
+ ewarn "No clients selected. Use USE=gnome to get the gnome client."
+ ewarn "See"
+ ewarn "https://projects.savoirfairelinux.com/repositories/browse/sflphone/tools/pysflphone"
+ ewarn "for a python command line client."
+ ewarn
+ fi
+
+ cd sflphone-common
+ #remove "target" from lib-names, remove dep to shipped pjsip
+ sed -i -e 's/-$(target)//' \
+ -e '/^\t\t\t-L/ d' \
+ -e 's!-I$(src)/libs/pjproject!-I/usr/include!' \
+ globals.mak || die "sed failed."
+ #respect CXXFLAGS
+ sed -i -e 's/CXXFLAGS="-g/CXXFLAGS="-g $CXXFLAGS /' \
+ configure.ac || die "sed failed."
+ rm -r libs/pjproject
+ eautoreconf
+
+ #TODO: remove shipped dbus-c++ use system one (see #220767)
+ #TODO: remove shipped utilspp (from curlpp), use system one, see #55185
+
+ if use gnome; then
+ cd ../sflphone-client-gnome
+ #fix as-needed
+ sed -i -e "s/X11_LIBS)/X11_LIBS) -lebook-1.2/" src/Makefile.am || die "sed failed."
+ eautoreconf
+ fi
+}
+
+src_configure() {
+ cd sflphone-common
+ econf --disable-dependency-tracking \
+ $(use_with debug) \
+ $(use_with gsm) \
+ $(use_with speex) \
+ $(use_with iax iax2) \
+ $(use_with networkmanager) || die "econf failed."
+
+ if use gnome; then
+ cd ../sflphone-client-gnome
+ econf || die "econf failed."
+ fi
+}
+
+src_compile() {
+ cd sflphone-common
+ emake || die "emake failed."
+
+ if use gnome; then
+ cd ../sflphone-client-gnome
+ emake || die "emake failed."
+ fi
+}
+
+src_install() {
+ cd sflphone-common
+ emake -j1 DESTDIR="${D}" install || die "emake install failed"
+ dodoc test/sflphonedrc-sample
+
+ if use gnome; then
+ cd ../sflphone-client-gnome
+ emake DESTDIR="${D}" install || die "emake install failed"
+ fi
+}
+
+pkg_postinst() {
+ elog
+ elog "You need to restart dbus, if you want to access"
+ elog "sflphoned through dbus."
+ elog
+ elog
+ elog "If you use the command line client"
+ elog "(https://projects.savoirfairelinux.com/repositories/browse/sflphone/tools/pysflphone)"
+ elog "extract /usr/share/doc/${PF}/${PN}drc-sample to"
+ elog "~/.config/${PN}/${PN}drc for example config."
+ elog
+ elog
+ elog "For calls out of your browser have a look in sflphone-callto"
+ elog "and sflphone-handler. You should consider to install"
+ elog "the \"Telify\" Firefox addon. See"
+ elog "https://projects.savoirfairelinux.com/repositories/browse/sflphone/tools"
+ elog
+ if use gnome; then
+ elog
+ elog "sflphone-client-gnome: To manage your contacts you need"
+ elog "mail-client/evolution or access to an evolution-data-server"
+ elog "connected backend."
+ elog
+ fi
+}