diff options
author | Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> | 2008-09-17 19:39:06 +0000 |
---|---|---|
committer | Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org> | 2008-09-17 19:39:06 +0000 |
commit | 466a6efca0d109f2c5c3cb6cd20daac7fa36e1dc (patch) | |
tree | 75eaa488ef156a9354fd0a3a0a57a3d2ce0e120a /net-im | |
parent | x11-misc/dragbox: New ebuild for bug 237944. Thanks to Tommy and gentoofan23 ... (diff) | |
download | sunrise-466a6efca0d109f2c5c3cb6cd20daac7fa36e1dc.tar.gz sunrise-466a6efca0d109f2c5c3cb6cd20daac7fa36e1dc.tar.bz2 sunrise-466a6efca0d109f2c5c3cb6cd20daac7fa36e1dc.zip |
net-im/qutecom: initial import for bug 237941
svn path=/sunrise/; revision=7111
Diffstat (limited to 'net-im')
-rw-r--r-- | net-im/qutecom/ChangeLog | 11 | ||||
-rw-r--r-- | net-im/qutecom/Manifest | 8 | ||||
-rw-r--r-- | net-im/qutecom/files/qutecom-boost-1.35.patch | 31 | ||||
-rw-r--r-- | net-im/qutecom/files/qutecom-cstdlib-include.patch | 11 | ||||
-rw-r--r-- | net-im/qutecom/files/qutecom-gcc-4.3-switch-enum.patch | 21 | ||||
-rw-r--r-- | net-im/qutecom/files/qutecom-types.h.patch | 18 | ||||
-rw-r--r-- | net-im/qutecom/metadata.xml | 5 | ||||
-rw-r--r-- | net-im/qutecom/qutecom-2.2_rc1.ebuild | 62 |
8 files changed, 167 insertions, 0 deletions
diff --git a/net-im/qutecom/ChangeLog b/net-im/qutecom/ChangeLog new file mode 100644 index 000000000..a25ee8dda --- /dev/null +++ b/net-im/qutecom/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for net-im/qutecom +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + + 17 Sep 2008; Chi-Thanh Christopher Nguyen (chithead) + <chithanh@cs.tu-berlin.de> +files/qutecom-boost-1.35.patch, + +qutecom-2.2_rc1.ebuild, +files/qutecom-gcc-4.3-switch-enum.patch, + +files/qutecom-cstdlib-include.patch, +files/qutecom-types.h.patch, + +metadata.xml: + initial import for bug 237941 + diff --git a/net-im/qutecom/Manifest b/net-im/qutecom/Manifest new file mode 100644 index 000000000..2c23885fc --- /dev/null +++ b/net-im/qutecom/Manifest @@ -0,0 +1,8 @@ +AUX qutecom-boost-1.35.patch 627 RMD160 758262f720f3d4b303ee40d5f22b5b984009792d SHA1 6592513ab8296d2e89673956f79d6d8a0206cdaf SHA256 7e3b4d19f957007ac27f7bdb0ce689a061b69e316dc297ad17c2ff34a8aa77b7 +AUX qutecom-cstdlib-include.patch 371 RMD160 b2bf62fba4de1c384b6e2d586aea0171ba04d2af SHA1 cba8bdff1395c2e9396e244848ef9e729ad16b2e SHA256 ace997b0049720714bf538b564597a5ba755ff3408023042fe11d15bb8e900ad +AUX qutecom-gcc-4.3-switch-enum.patch 892 RMD160 89bb4421383bb263b65b302f3909edc9c250d467 SHA1 b8ee70f9f28dec35cb3bb324586872ba2b0ce666 SHA256 db5da9b715991dab954bce5cd8970dabec2cc8700540363ce1aac4242f958ce3 +AUX qutecom-types.h.patch 345 RMD160 3e847c147ee686933d87bfde97b57b1d12d74898 SHA1 fdae61a25fdbc3cad0a0e6f3b3857456ca8acc4d SHA256 b65cca74d41d941aff7467cf1f0ad863b5d504f74b80378bf65457cf1ab114c4 +DIST qutecom-2.2-RC1.tar.gz 43137488 RMD160 33ce9c89660699547c9bfc3dbd77051862622a34 SHA1 fc8dd06339a03806611d93a66c98450d584fbebf SHA256 ec729be2eec6704f11401b4e0f3a2356e884b3d20702ebd3419cf02c197e8eaf +EBUILD qutecom-2.2_rc1.ebuild 1538 RMD160 3907114d762c860d3c1f1136b7ea83d0b35db123 SHA1 e2003609f2473b0a7a2117b02c78c091c2b40eb8 SHA256 738cc642b9a129dcfbc4fb40fb6e11f87e1c744e965a35a33827086ae7070fe9 +MISC ChangeLog 421 RMD160 58f5965135a8d19329992d07b567d9854460635a SHA1 3f3c932a8078183f5373a8533fdf02e526261657 SHA256 1b85f86c929923ec66f1b6dc7140027acb0dd4eac4ee3d059d290f404c6a6d5c +MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42 diff --git a/net-im/qutecom/files/qutecom-boost-1.35.patch b/net-im/qutecom/files/qutecom-boost-1.35.patch new file mode 100644 index 000000000..68fbb1e68 --- /dev/null +++ b/net-im/qutecom/files/qutecom-boost-1.35.patch @@ -0,0 +1,31 @@ + +--- a/libs/owutil/thread/RecursiveMutex.h Mon Jan 28 20:19:41 2008 +0100 ++++ b/libs/owutil/thread/RecursiveMutex.h Tue Sep 09 11:32:52 2008 +0200 +@@ -21,6 +21,7 @@ + #define OWRECURSIVEMUTEX_H + + #include <boost/thread/recursive_mutex.hpp> ++#include <boost/version.hpp> + + /** + * Recursive Mutex helper for Boost. +@@ -33,6 +34,7 @@ + + typedef scoped_lock ScopedLock; + ++#if BOOST_VERSION < 103500 + void lock() { + boost::detail::thread::lock_ops<boost::recursive_mutex>::lock(*this); + } +@@ -40,6 +42,7 @@ + void unlock() { + boost::detail::thread::lock_ops<boost::recursive_mutex>::unlock(*this); + } ++#endif + + }; + + + + + diff --git a/net-im/qutecom/files/qutecom-cstdlib-include.patch b/net-im/qutecom/files/qutecom-cstdlib-include.patch new file mode 100644 index 000000000..f41916ef8 --- /dev/null +++ b/net-im/qutecom/files/qutecom-cstdlib-include.patch @@ -0,0 +1,11 @@ +diff -ur a/owbuild/owbuild/getcurrentdatetime.cpp b/owbuild/owbuild/getcurrentdatetime.cpp +--- a/owbuild/owbuild/getcurrentdatetime.cpp 2008-08-21 15:10:12.000000000 +0200 ++++ b/owbuild/owbuild/getcurrentdatetime.cpp 2008-09-09 17:59:34.823926436 +0200 +@@ -7,6 +7,7 @@ + + #include <string> + #include <ctime> ++#include <cstdlib> + #include <iostream> + #include <sstream> + diff --git a/net-im/qutecom/files/qutecom-gcc-4.3-switch-enum.patch b/net-im/qutecom/files/qutecom-gcc-4.3-switch-enum.patch new file mode 100644 index 000000000..184bd4263 --- /dev/null +++ b/net-im/qutecom/files/qutecom-gcc-4.3-switch-enum.patch @@ -0,0 +1,21 @@ +diff -ur a/wengophone/src/presentation/qt/chat/QtChatAvatarWidget.cpp b/wengophone/src/presentation/qt/chat/QtChatAvatarWidget.cpp +--- a/wengophone/src/presentation/qt/chat/QtChatAvatarWidget.cpp 2008-08-21 15:10:12.000000000 +0200 ++++ b/wengophone/src/presentation/qt/chat/QtChatAvatarWidget.cpp 2008-09-09 17:57:03.375925852 +0200 +@@ -17,8 +17,6 @@ + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +-#include "QtChatAvatarWidget.h" +- + #include <model/profile/AvatarList.h> + + #include <util/String.h> +@@ -26,6 +24,8 @@ + + #include <QtGui/QPainter> + ++#include "QtChatAvatarWidget.h" ++ + QtChatAvatarWidget::QtChatAvatarWidget(QWidget * parent, const QString & id, + QPixmap picture, const QString & nickname, const QString & contactId, PictureMode pmode, NicknameMode nmode) + : QWidget(parent), _pictureMode(pmode), _nicknameMode(nmode), _contactId(id) { diff --git a/net-im/qutecom/files/qutecom-types.h.patch b/net-im/qutecom/files/qutecom-types.h.patch new file mode 100644 index 000000000..56a500dc1 --- /dev/null +++ b/net-im/qutecom/files/qutecom-types.h.patch @@ -0,0 +1,18 @@ + +--- a/wifo/phapi/g722/g722.h Fri Feb 15 17:56:51 2008 +0100 ++++ b/wifo/phapi/g722/g722.h Fri Aug 22 13:53:38 2008 +0200 +@@ -46,8 +46,10 @@ + typedef unsigned short uint16_t; + typedef int int32_t; + typedef unsigned uint32_t; ++#ifndef __int8_t_defined + typedef long long int64_t; + typedef unsigned long long uint64_t; ++#endif + + + enum + + + + diff --git a/net-im/qutecom/metadata.xml b/net-im/qutecom/metadata.xml new file mode 100644 index 000000000..7e3286984 --- /dev/null +++ b/net-im/qutecom/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>maintainer-wanted</herd> +</pkgmetadata> diff --git a/net-im/qutecom/qutecom-2.2_rc1.ebuild b/net-im/qutecom/qutecom-2.2_rc1.ebuild new file mode 100644 index 000000000..89ae45c67 --- /dev/null +++ b/net-im/qutecom/qutecom-2.2_rc1.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="1" + +inherit cmake-utils eutils + +MY_P=${P/_rc/-RC} + +DESCRIPTION="An open source softphone" +HOMEPAGE="http://www.qutecom.com/" +SRC_URI="http://www.qutecom.com/downloads/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="alsa debug oss portaudio xv" + +DEPEND=">=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 + media-video/ffmpeg + net-libs/gnutls + >=net-libs/libosip-3 + net-misc/curl + || ( x11-libs/libX11 virtual/x11 ) + || ( ( x11-libs/qt-gui:4 x11-libs/qt-svg:4 ) =x11-libs/qt-4.3* ) + xv? ( x11-libs/libXv )" + +S=${WORKDIR}/${MY_P} + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PN}-boost-1.35.patch + epatch "${FILESDIR}"/${PN}-types.h.patch + epatch "${FILESDIR}"/${PN}-cstdlib-include.patch + epatch "${FILESDIR}"/${PN}-gcc-4.3-switch-enum.patch +} + +src_compile() { + EXTRA_ECONF = " \ + $(cmake_use_enable portaudio PORTAUDIO_SUPPORT) \ + $(cmake_use_enable alsa PHAPI_AUDIO_ALSA_SUPPORT) \ + $(cmake_use_enable oss PHAPI_AUDIO_OSS_SUPPORT) \ + $(cmake_use_enable xv WENGOPHONE_XV_SUPPORT) " + + cmake-utils_src_configureout + cmake-utils_src_make +} + +src_install() { + cmake-utils_src_install + domenu ../wengophone/res/wengophone.desktop || die "domenu failed" + doicon ../wengophone/res/wengophone_64x64.png || die "doicon failed" +} |