summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-voip/wengophone/ChangeLog4
-rw-r--r--net-voip/wengophone/Manifest3
-rw-r--r--net-voip/wengophone/wengophone-2.1.2-r2.ebuild108
-rw-r--r--profiles/use.local.desc2
4 files changed, 115 insertions, 2 deletions
diff --git a/net-voip/wengophone/ChangeLog b/net-voip/wengophone/ChangeLog
index d68b0fe..ffc2a55 100644
--- a/net-voip/wengophone/ChangeLog
+++ b/net-voip/wengophone/ChangeLog
@@ -2,6 +2,10 @@
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/skel.ChangeLog,v 1.2 2006/02/22 02:08:04 hd_brummy Exp $
+ 15 Dec 2007; Chi-Thanh Christopher Nguyen <chithanh@cs.tu-berlin.de>
+ +wengophone-2.1.2-r2.ebuild:
+ Get rid of more internal libraries
+
06 Sep 2007; Chi-Thanh Christopher Nguyen <chithanh@cs.tu-berlin.de>
+files/alsa-plughw-default.patch, +wengophone-2.1.2-r1.ebuild:
Fix automagic dependencies per tester's comment. Add patch to allow
diff --git a/net-voip/wengophone/Manifest b/net-voip/wengophone/Manifest
index 337506b..2aa08e8 100644
--- a/net-voip/wengophone/Manifest
+++ b/net-voip/wengophone/Manifest
@@ -7,5 +7,6 @@ DIST wengophone-2.1.1.tar.bz2 25726476 RMD160 17a1c694e3dd27581408bf23372c383e65
DIST wengophone-2.1.2-source.zip 48210044 RMD160 f9b2a106dcd27c228cca3305bead2c9738ac39c6 SHA1 53839c87efe322879fd416e0111ed70348587116 SHA256 ac9d254f8c4b0146fa4751f2328aab1765a0d27709e883eb46a9f297e155681e
EBUILD wengophone-2.1.1.ebuild 3023 RMD160 2e7d05b2d085c0517ac7908d79f836ff61774322 SHA1 6b7057188f21519e0cbdf227ce564d6b70ec5d16 SHA256 e6b152f5ab702021c903ba34282e31201357c6ec439283372e5b75b26f03ecf7
EBUILD wengophone-2.1.2-r1.ebuild 3191 RMD160 b7c81581e4b84bc3440df3e8c8f401bd4205b0a5 SHA1 1ed7cd6484a240e4e212b3d475d594d7016fb513 SHA256 901e93798825f346861a519d7d3c2c64deb812910b5a59a5107e26c354440b34
+EBUILD wengophone-2.1.2-r2.ebuild 2745 RMD160 28f02ea4c91f8bd87fb104100f36618c2a2f503c SHA1 d2ca37fa4ee877ed91e1313e0bffb9879d802b5f SHA256 2f5f4fc3850eff38e1f441d6f74d35f5ad640b8582fc5708428bf4778ec60c54
EBUILD wengophone-2.1.2.ebuild 3097 RMD160 44573c16bd62993b623ffb0d9c867dfb1455c680 SHA1 29c6c47eb0466b08fd21ac2bf88832b6e7f76fbe SHA256 73701640a252452f7378021c793fadb25a25a752f002a09704e7e35163bbeb84
-MISC ChangeLog 830 RMD160 0097757cb177110c772efebc36e54ae6daddad5d SHA1 3448295335c40ef8ecf75307f659847611596be8 SHA256 5f6a80600eae0b6b0cb9a4c8cd072a41d282da0ff1958a30f5a5170742568109
+MISC ChangeLog 970 RMD160 f319297177d607fc97eb0887e448f3ce872af9b0 SHA1 8bc86685a10e2ce1a745322bb7117b2615c9e537 SHA256 af195e515f9871166992a9b5dde4d459a16a6b2a0fc6572498e1796231448af5
diff --git a/net-voip/wengophone/wengophone-2.1.2-r2.ebuild b/net-voip/wengophone/wengophone-2.1.2-r2.ebuild
new file mode 100644
index 0000000..7d257cb
--- /dev/null
+++ b/net-voip/wengophone/wengophone-2.1.2-r2.ebuild
@@ -0,0 +1,108 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+inherit eutils toolchain-funcs
+
+MY_V4L2_PATCH_V="2.1.1"
+
+DESCRIPTION="Wengophone NG is a VoIP client featuring the SIP protcol"
+HOMEPAGE="http://dev.openwengo.com"
+SRC_URI="http://download.wengo.com/nightlybuilds/universal/sources/openwengo/${PV}/${P}-source.zip v4l2? ( http://nguyenchithanh.googlepages.com/${PN}-${MY_V4L2_PATCH_V}-v4l2-patches.tar.bz2 )"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa debug oss portaudio v4l2 xv"
+
+RDEPEND=">=dev-libs/boost-1.34
+ dev-libs/glib
+ dev-libs/openssl
+ alsa? ( media-libs/alsa-lib )
+ media-libs/libsamplerate
+ media-libs/libsndfile
+ portaudio? ( >=media-libs/portaudio-19_pre )
+ >=media-libs/speex-1.1.12
+ media-video/ffmpeg
+ net-libs/gnutls
+ >=net-libs/libosip-3
+ >=net-misc/curl-7.16.1
+ || ( x11-libs/libX11 virtual/x11 )
+ >=x11-libs/qt-4.1
+ xv? ( x11-libs/libXv )"
+
+DEPEND="${RDEPEND}
+ >=dev-util/cmake-2.4.4"
+
+S=${WORKDIR}/${P}-source
+
+src_unpack() {
+ unpack ${A}
+ cd ${S} || die
+
+ epatch ${FILESDIR}/phapi_newerffmpeg.diff
+ epatch ${FILESDIR}/pixertool_newerffmpeg.diff
+ epatch ${FILESDIR}/wengophone_externavcodec.diff
+ epatch ${FILESDIR}/alsa-plughw-default.patch
+
+ if use v4l2; then
+ cd ${S}/libs/owpixertool || die
+ epatch ${WORKDIR}/owpixertool-v4l2.patch
+ cd ${S}/libs/owwebcam || die
+ epatch ${WORKDIR}/owwebcam-v4l2.patch
+ fi
+}
+src_compile() {
+
+ local mycmakeflags
+
+ if use debug; then
+ mycmakeflags="${mycmakeflags} -DCMAKE_BUILD_TYPE=Debug"
+ else
+ mycmakeflags="${mycmakeflags} -DCMAKE_BUILD_TYPE=Release"
+ fi
+
+ if use portaudio; then
+ mycmakeflags="${mycmakeflags} -DOWSOUND_PORTAUDIO_SUPPORT=ON"
+ else
+ mycmakeflags="${mycmakeflags} -DOWSOUND_PORTAUDIO_SUPPORT=OFF"
+ fi
+
+ if use alsa; then
+ mycmakeflags="${mycmakeflags} -DPHAPI_AUDIO_ALSA_SUPPORT=ON \
+ -DPORTAUDIO_ALSA_SUPPORT=ON"
+ else
+ mycmakeflags="${mycmakeflags} -DPHAPI_AUDIO_ALSA_SUPPORT=OFF \
+ -DPORTAUDIO_ALSA_SUPPORT=OFF"
+ fi
+
+ if use oss; then
+ mycmakeflags="${mycmakeflags} -DPHAPI_AUDIO_OSS_SUPPORT=ON \
+ -DPORTAUDIO_OSS_SUPPORT=ON"
+ else
+ mycmakeflags="${mycmakeflags} -DPHAPI_AUDIO_OSS_SUPPORT=OFF \
+ -DPORTAUDIO_OSS_SUPPORT=OFF"
+ fi
+
+ if use xv; then
+ mycmakeflags="${mycmakeflags} -DWENGOPHONE_XV_SUPPORT=ON"
+ else
+ mycmakeflags="${mycmakeflags} -DWENGOPHONE_XV_SUPPORT=OFF"
+ fi
+
+ cd ${S}/build
+ cmake -DCMAKE_INSTALL_PREFIX="/usr" ${mycmakeflags} \
+ .. || die "cmake failed"
+ emake || die "make failed"
+}
+
+src_install() {
+ cd ${S}/build
+ emake DESTDIR=${D} install || die "install failed"
+ domenu ../wengophone/res/wengophone.desktop
+ doicon ../wengophone/res/wengophone_64x64.png
+}
+
+pkg_postinst() {
+ elog 'execute "qtwengophone" to start wengophone'
+}
diff --git a/profiles/use.local.desc b/profiles/use.local.desc
index 682da5e..d40e100 100644
--- a/profiles/use.local.desc
+++ b/profiles/use.local.desc
@@ -8,7 +8,6 @@
# Keep it sorted.
dev-dotnet/ndesk-dbus:glib - Enable glib integration
-net-im/wengophone:v4l2 - Enable video4linux2 support
net-libs/libpri:bri - Enable ISDN BRI support (bristuff)
net-libs/openh323:noaudio - Disable audio codecs
net-libs/openh323:novideo - Disable video codecs
@@ -71,3 +70,4 @@ net-misc/zaptel:zapras - Enable PPP support for Remote-Access-Service
net-voip/linphone:gsm - Enable gsm codec support
net-voip/landell:xulrunner - Compile against xulrunner instead of firefox
net-voip/telepathy-gabble:loudmouth - Enable loudmouth support
+net-voip/wengophone:v4l2 - Enable video4linux2 support