summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2007-12-15 23:20:45 +0000
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>2007-12-15 23:20:45 +0000
commit6d7ee00cf040b97d032a39a8e423f7507c559241 (patch)
tree22f06caaa69c5e7a8da839d5ffb8a18e4f3bb3f5 /net-voip
parentlinphone: make gsm support optional (diff)
downloadvoip-6d7ee00cf040b97d032a39a8e423f7507c559241.tar.gz
voip-6d7ee00cf040b97d032a39a8e423f7507c559241.tar.bz2
voip-6d7ee00cf040b97d032a39a8e423f7507c559241.zip
wengophone: get rid of internal libraries, fix use flag description
svn path=/trunk/; revision=628
Diffstat (limited to 'net-voip')
-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
3 files changed, 114 insertions, 1 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'
+}