summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-im/wengophone/ChangeLog7
-rw-r--r--net-im/wengophone/Manifest4
-rw-r--r--net-im/wengophone/wengophone-1.0_pre20060106.ebuild14
3 files changed, 19 insertions, 6 deletions
diff --git a/net-im/wengophone/ChangeLog b/net-im/wengophone/ChangeLog
index cdd2532dc981..e0c08a0e819d 100644
--- a/net-im/wengophone/ChangeLog
+++ b/net-im/wengophone/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-im/wengophone
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/wengophone/ChangeLog,v 1.2 2006/01/13 12:26:19 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/wengophone/ChangeLog,v 1.3 2006/01/20 21:19:44 genstef Exp $
+
+ 20 Jan 2006; Stefan Schweizer <genstef@gentoo.org>
+ wengophone-1.0_pre20060106.ebuild:
+ Add oss support thanks to Rohan McGovern <rohan.pm@gmail.com> and Peter Read
+ <drwook@users.sourceforge.net> in bug 119680
13 Jan 2006; Stefan Schweizer <genstef@gentoo.org>
wengophone-1.0_pre20060106.ebuild:
diff --git a/net-im/wengophone/Manifest b/net-im/wengophone/Manifest
index 560273d82764..9763a31e6c2f 100644
--- a/net-im/wengophone/Manifest
+++ b/net-im/wengophone/Manifest
@@ -1,4 +1,4 @@
-MD5 879caa72a8c4d21a39a2b59f7255fca8 ChangeLog 641
+MD5 95a5d859b66a6469677cf3e687cb72b0 ChangeLog 858
MD5 19477c225a5db4b25fb88da40f5c028e files/digest-wengophone-1.0_pre20060106 80
MD5 6a062824f62adbd459fb0045419ef3d8 metadata.xml 216
-MD5 97b08158be2b68d7bc26cac18b4d6fdc wengophone-1.0_pre20060106.ebuild 937
+MD5 72069efbf9fcf5d721b4b80d150bac5b wengophone-1.0_pre20060106.ebuild 1193
diff --git a/net-im/wengophone/wengophone-1.0_pre20060106.ebuild b/net-im/wengophone/wengophone-1.0_pre20060106.ebuild
index 4381f781ba34..2a5913bfc0d2 100644
--- a/net-im/wengophone/wengophone-1.0_pre20060106.ebuild
+++ b/net-im/wengophone/wengophone-1.0_pre20060106.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-im/wengophone/wengophone-1.0_pre20060106.ebuild,v 1.2 2006/01/13 12:26:19 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/wengophone/wengophone-1.0_pre20060106.ebuild,v 1.3 2006/01/20 21:19:44 genstef Exp $
inherit qt3 eutils
@@ -11,9 +11,9 @@ SRC_URI="http://dev.gentoo.org/~genstef/files/dist/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
-IUSE=""
+IUSE="oss"
-RDEPEND="media-libs/alsa-lib
+RDEPEND="!oss? ( media-libs/alsa-lib )
dev-libs/glib
sys-libs/zlib
$(qt_min_version 3.3.4)"
@@ -23,6 +23,14 @@ DEPEND="${RDEPEND}
media-libs/speex"
src_compile() {
+ if use oss; then
+ sed -e 's|PA_USE_ALSA|PA_USE_OSS|g' \
+ -e 's|sources_alsa|sources_oss|g' \
+ -e 's|pa_env.WengoLibAdd("asound")||g' \
+ -i libs/portaudio/SConscript \
+ || die "Failed to patch SConscript to build OSS support"
+ fi
+
scons softphone-runtime softphone || die "scons failed"
}