summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Schweizer <genstef@gentoo.org>2006-05-24 18:19:05 +0000
committerStefan Schweizer <genstef@gentoo.org>2006-05-24 18:19:05 +0000
commitce849c6bf9a7e2543ad3167d31a9f373011d34da (patch)
treec54e348b607f0396cc31d002e46b17f7cc473a7d /net-im/wengophone
parentAdd ~x86-fbsd keyword. (diff)
downloadgentoo-2-ce849c6bf9a7e2543ad3167d31a9f373011d34da.tar.gz
gentoo-2-ce849c6bf9a7e2543ad3167d31a9f373011d34da.tar.bz2
gentoo-2-ce849c6bf9a7e2543ad3167d31a9f373011d34da.zip
2.0 Snapshot ebuild, bug 133837
(Portage version: 2.1_rc2)
Diffstat (limited to 'net-im/wengophone')
-rw-r--r--net-im/wengophone/ChangeLog8
-rw-r--r--net-im/wengophone/files/digest-wengophone-2.0_pre200605243
-rw-r--r--net-im/wengophone/wengophone-2.0_pre20060524.ebuild69
-rw-r--r--net-im/wengophone/wengophone-2.0_pre20099999.ebuild13
4 files changed, 85 insertions, 8 deletions
diff --git a/net-im/wengophone/ChangeLog b/net-im/wengophone/ChangeLog
index edb8f3a74262..9248d2d83668 100644
--- a/net-im/wengophone/ChangeLog
+++ b/net-im/wengophone/ChangeLog
@@ -1,6 +1,12 @@
# 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.5 2006/05/23 21:59:45 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/wengophone/ChangeLog,v 1.6 2006/05/24 18:19:05 genstef Exp $
+
+*wengophone-2.0_pre20060524 (24 May 2006)
+
+ 24 May 2006; Stefan Schweizer <genstef@gentoo.org>
+ +wengophone-2.0_pre20060524.ebuild, wengophone-2.0_pre20099999.ebuild:
+ 2.0 Snapshot ebuild, bug 133837
*wengophone-2.0_pre20099999 (23 May 2006)
diff --git a/net-im/wengophone/files/digest-wengophone-2.0_pre20060524 b/net-im/wengophone/files/digest-wengophone-2.0_pre20060524
new file mode 100644
index 000000000000..9e4536ea31c2
--- /dev/null
+++ b/net-im/wengophone/files/digest-wengophone-2.0_pre20060524
@@ -0,0 +1,3 @@
+MD5 0fab17688ffcf436b8e8384a53bdfd8d wengophone-2.0_pre20060524.tar.bz2 15604190
+RMD160 7fe3efe43da4b7ff1e736ceea4e8b100c9ab6a37 wengophone-2.0_pre20060524.tar.bz2 15604190
+SHA256 688b0fc37521aa40fc87a00e405503d957e79d5291921f1f8459cff0b825cc8e wengophone-2.0_pre20060524.tar.bz2 15604190
diff --git a/net-im/wengophone/wengophone-2.0_pre20060524.ebuild b/net-im/wengophone/wengophone-2.0_pre20060524.ebuild
new file mode 100644
index 000000000000..5a303f7e2a54
--- /dev/null
+++ b/net-im/wengophone/wengophone-2.0_pre20060524.ebuild
@@ -0,0 +1,69 @@
+# 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-2.0_pre20060524.ebuild,v 1.1 2006/05/24 18:19:05 genstef Exp $
+
+inherit eutils toolchain-funcs
+
+DESCRIPTION="Wengophone NG is a VoIP client featuring the SIP protcol"
+HOMEPAGE="http://dev.openwengo.com"
+SRC_URI="mirror://gentoo/${P}.tar.bz2
+ http://dev.gentoo.org/~genstef/public_html/files/dist/${P}.tar.bz2"
+#ESVN_REPO_URI="http://dev.openwengo.com/svn/openwengo/wengophone-ng/trunk"
+#ESVN_OPTIONS="--username guest --password guest"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+RDEPEND="dev-libs/boost
+ dev-libs/glib
+ dev-libs/openssl
+ media-libs/alsa-lib
+ net-libs/gnutls
+ || ( x11-libs/libX11 virtual/x11 )
+ >=x11-libs/qt-4.1"
+
+DEPEND="${RDEPEND}
+ media-libs/speex
+ dev-util/scons"
+
+pkg_setup() {
+ if ! built_with_use dev-libs/boost threads; then
+ eerror "This package requires dev-libs/boost compiled with threads support."
+ eerror "Please reemerge dev-libs/boost with USE=\"threads\"."
+ die "Please reemerge dev-libs/boost with USE=\"threads\"."
+ fi
+
+ if test $(gcc-major-version) -ge 4 \
+ && test $(gcc-minor-version) -ge 1; then
+ eerror "This does not yet build with >=gcc-4.1, see bug #133837"
+ die "Please switch to gcc-4.0 for compiling"
+ fi
+ #if ! grep visit_each.hpp /usr/include/boost/bind.hpp >/dev/null 2>&1 \
+ # eerror "You need to add #include <boost/visit_each.hpp> in"
+ # eerror "/usr/include/boost/bind.hpp to build with gcc-4.1"
+ # die "Please fix your includes"
+}
+
+src_compile() {
+ sed -i -e "s/File:://" libs/util/util/include/util/File.h
+ # This breaks runtime, and we have no idea how to fix it properly
+ #sed -i -e "s:c = connect(slot);://\0:" libs/util/util/include/util/Event.h
+
+ QTLIBDIR=/usr/lib/qt4 QTDIR=/usr QTINCLUDEDIR=/usr/include/qt4 \
+ scons qtwengophone \
+ mode=release || die "scons failed"
+}
+
+src_install() {
+ cd release-symbols
+ insinto /usr/share/wengophone
+ doins -r emoticons pics sounds
+ exeinto /usr/lib/wengophone
+ doexe wengophone/src/presentation/qt/qtwengophone \
+ wifo/phapi/libphapi.so libs/curl/libowcurl.so
+ make_wrapper wengophone /usr/lib/wengophone/qtwengophone /usr/share/wengophone /usr/lib/wengophone
+ newicon ${S}/wengophone/src/presentation/qt/pics/contact/wengo.png wengophone.png
+ make_desktop_entry wengophone
+}
diff --git a/net-im/wengophone/wengophone-2.0_pre20099999.ebuild b/net-im/wengophone/wengophone-2.0_pre20099999.ebuild
index 5bc5363bceb6..d2ae03c55eec 100644
--- a/net-im/wengophone/wengophone-2.0_pre20099999.ebuild
+++ b/net-im/wengophone/wengophone-2.0_pre20099999.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-2.0_pre20099999.ebuild,v 1.1 2006/05/23 21:59:45 genstef Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-im/wengophone/wengophone-2.0_pre20099999.ebuild,v 1.2 2006/05/24 18:19:05 genstef Exp $
inherit subversion eutils toolchain-funcs
@@ -57,13 +57,12 @@ src_compile() {
src_install() {
cd release-symbols
- insinto /opt/wengophone
+ insinto /usr/share/wengophone
doins -r emoticons pics sounds
- exeinto /opt/wengophone
- doexe wengophone/src/presentation/qt/qtwengophone
- exeinto /opt/wengophone/lib
- doexe wifo/phapi/libphapi.so libs/curl/libowcurl.so
- make_wrapper wengophone ./qtwengophone /opt/wengophone /opt/wengophone/lib
+ exeinto /usr/lib/wengophone
+ doexe wengophone/src/presentation/qt/qtwengophone \
+ wifo/phapi/libphapi.so libs/curl/libowcurl.so
+ make_wrapper wengophone /usr/lib/wengophone/qtwengophone /usr/share/wengophone /usr/lib/wengophone
newicon ${S}/wengophone/src/presentation/qt/pics/contact/wengo.png wengophone.png
make_desktop_entry wengophone
}