Bring back qutecom.
authorChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
Mon, 3 Oct 2011 08:08:29 +0000 (08:08 +0000)
committerChí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
Mon, 3 Oct 2011 08:08:29 +0000 (08:08 +0000)
Package-Manager: portage-2.2.0_alpha60/cvs/Linux x86_64

net-im/qutecom/ChangeLog [new file with mode: 0644]
net-im/qutecom/Manifest [new file with mode: 0644]
net-im/qutecom/metadata.xml [new file with mode: 0644]
net-im/qutecom/qutecom-2.2_p20110210.ebuild [new file with mode: 0644]

diff --git a/net-im/qutecom/ChangeLog b/net-im/qutecom/ChangeLog
new file mode 100644 (file)
index 0000000..862c4f1
--- /dev/null
@@ -0,0 +1,43 @@
+# ChangeLog for net-im/qutecom
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/qutecom/ChangeLog,v 1.11 2011/10/03 08:08:29 chithanh Exp $
+
+  03 Oct 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+  qutecom-2.2_p20110210.ebuild:
+  Allow building against >=linux-headers-2.6.38, bug #361181.
+
+  31 Mar 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+  qutecom-2.2_p20110210.ebuild:
+  Require old kernel headers, bug #361181.
+
+  28 Mar 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+  -qutecom-2.2_p20100309.ebuild, -qutecom-2.2_p20100620.ebuild,
+  qutecom-2.2_p20110210.ebuild:
+  Depend on virtual/ffmpeg, remove old.
+
+*qutecom-2.2_p20110210 (13 Feb 2011)
+
+  13 Feb 2011; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+  +qutecom-2.2_p20110210.ebuild:
+  New snapshot.
+
+  14 Aug 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+  qutecom-2.2_p20100309.ebuild, qutecom-2.2_p20100620.ebuild:
+  Filter --as-needed, bug #315045, ack'ed by QA on IRC.
+
+*qutecom-2.2_p20100620 (21 Jun 2010)
+
+  21 Jun 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+  +qutecom-2.2_p20100620.ebuild:
+  New snapshot. Fixes bug #324317
+
+  13 Apr 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+  qutecom-2.2_p20100309.ebuild:
+  add qt-webkit dependency, bug 315043
+
+*qutecom-2.2_p20100309 (09 Mar 2010)
+
+  09 Mar 2010; Chí-Thanh Christopher Nguyễn <chithanh@gentoo.org>
+  +qutecom-2.2_p20100309.ebuild:
+  initial import for bug 237941
+
diff --git a/net-im/qutecom/Manifest b/net-im/qutecom/Manifest
new file mode 100644 (file)
index 0000000..b1caa34
--- /dev/null
@@ -0,0 +1,4 @@
+DIST qutecom-2.2_p20110210.tar.xz 39408892 RMD160 f26e618d11b9fa767f19d58fedd1b202b2dca841 SHA1 1ec9418f519b5a8fa1f7d24872a80d552a2915bd SHA256 76cdfc2cee5a71c264bcc255b9657ebcd3f70fac0be37772fd47bf3c97f2677e
+EBUILD qutecom-2.2_p20110210.ebuild 2240 RMD160 644ed568bfdbbecdb3f2a1d070df915b61b504b0 SHA1 4470e5ccea78ffcabbcd28fc14ce0a336edc5fe8 SHA256 6876a4fdb11b72d84569a4a7627bb39cf86b91c7deb12d0dffb506614f329b2b
+MISC ChangeLog 1553 RMD160 4c7af1a1f9dc240603df549c39223d032ac3f71c SHA1 c7533be27880e39d73a8cc044adf3bc6094d2f0c SHA256 7721fadfc9bb87b0e19232c30c4ee65dea75fc9bffc2aefbbcdc855e90e66b03
+MISC metadata.xml 272 RMD160 4a80062ca381c4d74a4efabc38d29fb1b0c6b592 SHA1 28f9d9426442ff315737006285ca0b90b4ef833f SHA256 55558c7efd245be98e0b3a5be45c4e855ecb6f2f4d651edf3d5442d6edbd9298
diff --git a/net-im/qutecom/metadata.xml b/net-im/qutecom/metadata.xml
new file mode 100644 (file)
index 0000000..11b7531
--- /dev/null
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+       <herd>voip</herd>
+       <maintainer>
+               <email>chithanh@gentoo.org</email>
+               <name>Chí-Thanh Christopher Nguyễn</name>
+       </maintainer>
+</pkgmetadata>
+
diff --git a/net-im/qutecom/qutecom-2.2_p20110210.ebuild b/net-im/qutecom/qutecom-2.2_p20110210.ebuild
new file mode 100644 (file)
index 0000000..a7510a6
--- /dev/null
@@ -0,0 +1,78 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-im/qutecom/qutecom-2.2_p20110210.ebuild,v 1.7 2011/10/03 08:08:29 chithanh Exp $
+
+EAPI="3"
+
+inherit cmake-utils eutils flag-o-matic
+
+DESCRIPTION="Multi-protocol instant messenger and VoIP client"
+HOMEPAGE="http://www.qutecom.org/"
+SRC_URI="mirror://gentoo/${P}.tar.xz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa debug oss portaudio xv"
+
+RDEPEND="dev-libs/boost
+       dev-libs/glib
+       dev-libs/openssl
+       alsa? ( media-libs/alsa-lib )
+       media-libs/libsamplerate
+       media-libs/libsndfile
+       portaudio? ( media-libs/portaudio )
+       media-libs/speex
+       net-im/pidgin[gnutls]
+       net-libs/gnutls
+       >=net-libs/libosip-3
+       >=net-libs/libeXosip-3
+       net-misc/curl
+       virtual/ffmpeg
+       x11-libs/libX11
+       x11-libs/qt-gui
+       x11-libs/qt-svg
+       x11-libs/qt-webkit
+       xv? ( x11-libs/libXv )"
+DEPEND="${RDEPEND}
+       app-arch/xz-utils
+       media-libs/libv4l
+       sys-kernel/linux-headers"
+
+pkg_setup() {
+       if has_version "<dev-libs/boost-1.41" && has_version ">=dev-libs/boost-1.41"; then
+               ewarn "QuteCom build system may mix up headers and libraries if versions of"
+               ewarn "dev-libs/boost both before and after 1.41 are installed. If the build"
+               ewarn "fails due to undefined boost symbols, remove older boost."
+       fi
+       # fails to find its libraries with --as-needed, bug #315045
+       append-ldflags $(no-as-needed)
+}
+
+src_prepare() {
+       # build against >=linux-headers-2.6.38, bug 361181
+       sed -i -e "s|linux/videodev.h|libv4l1-videodev.h|" \
+               -e "s|__u16|uint16_t|" \
+               libs/pixertool/src/v4l/v4l-pixertool.c \
+               libs/webcam/include/webcam/V4LWebcamDriver.h \
+               libs/webcam/src/v4l/V4LWebcamDriver.cpp || die
+}
+
+src_configure() {
+       local mycmakeargs="$(cmake-utils_use_enable portaudio PORTAUDIO_SUPPORT)
+               $(cmake-utils_use_enable alsa PHAPI_AUDIO_ALSA_SUPPORT)
+               $(cmake-utils_use_enable oss PHAPI_AUDIO_OSS_SUPPORT)
+               $(cmake-utils_use_enable xv WENGOPHONE_XV_SUPPORT)
+               -DLIBPURPLE_INTERNAL=OFF
+               -DPORTAUDIO_INTERNAL=OFF
+               -DCMAKE_VERBOSE_MAKEFILE=ON "
+
+       cmake-utils_src_configure
+}
+
+src_install() {
+       cmake-utils_src_install
+       domenu ${PN}/res/${PN}.desktop || die "domenu failed"
+       doicon ${PN}/res/${PN}_64x64.png || die "doicon failed"
+
+}