summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThilo Bangert <bangert@gentoo.org>2010-05-06 20:43:13 +0000
committerThilo Bangert <bangert@gentoo.org>2010-05-06 20:43:13 +0000
commit2b8eba4c0d7b45c7a1c6566872865fb615acb151 (patch)
treee51344dc83e015b16e3e3f8aae6a8d178e271e4a /net-voip/qjsimple
parentfix minor issur (diff)
downloadbangert-2b8eba4c0d7b45c7a1c6566872865fb615acb151.tar.gz
bangert-2b8eba4c0d7b45c7a1c6566872865fb615acb151.tar.bz2
bangert-2b8eba4c0d7b45c7a1c6566872865fb615acb151.zip
crude ebuild for qjsimple
svn path=/ebuilds/; revision=102
Diffstat (limited to 'net-voip/qjsimple')
-rw-r--r--net-voip/qjsimple/Manifest4
-rw-r--r--net-voip/qjsimple/metadata.xml20
-rw-r--r--net-voip/qjsimple/qjsimple-0.6.3.ebuild66
3 files changed, 90 insertions, 0 deletions
diff --git a/net-voip/qjsimple/Manifest b/net-voip/qjsimple/Manifest
new file mode 100644
index 0000000..2fd8ed3
--- /dev/null
+++ b/net-voip/qjsimple/Manifest
@@ -0,0 +1,4 @@
+DIST QjSimple-0.6.3-src.zip 319015 RMD160 e9b4bb0c89052235ca0138c7a8fe076a08def9cc SHA1 f9ea67eea7583a8136ddff56f4e4bddde8af447c SHA256 1611ec432a02858238d1b85f7ce63f22b0d877e7bda9d3d770fea9b9beb5977e
+DIST pjproject-1.6.tar.bz2 3716047 RMD160 4a8c1342ad2860983e785bbfbd170410edc2b7d7 SHA1 63e7cd6963290cf396024a837d1fb5194107db57 SHA256 8f13d7197eddd1442d24cf164b395582c00e7f19283f3c0e9d1315d85551ec7b
+EBUILD qjsimple-0.6.3.ebuild 1503 RMD160 646b38def7b1a6e2d00c08c5a6030caca9db6b4b SHA1 e54ec5e4d40e918c0eb6fc9006c357a78d26fc7c SHA256 83276c3047fbb7536e610defcc23bed583ab1a98acaac3451caa1e911b0c63fe
+MISC metadata.xml 534 RMD160 73b35d3dc0f9d4035b05ba5df80a540b20027c66 SHA1 eb484673882359a422673da9cb1a54c1ec10d553 SHA256 689f454765e4f4d6412d388f8ed4fb903138ce03823416de538606dcd29625e8
diff --git a/net-voip/qjsimple/metadata.xml b/net-voip/qjsimple/metadata.xml
new file mode 100644
index 0000000..46dfc5a
--- /dev/null
+++ b/net-voip/qjsimple/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>no-herd</herd>
+<maintainer>
+ <email>bangert@gentoo.org</email>
+</maintainer>
+<longdescription lang="en">
+QjSimple can be seen as developer tool and supports the following features:
+cross-plattform Windows/Linux/Mac OS X
+SIP over UDP/TCP/TLS
+RTP/SRTP
+Instant Messaging
+Presence (SIMPLE)
+IPv6
+NAT traversal (STUN)
+QjSimple's underlying SIP stack is IETF SIP compatible.
+</longdescription>
+</pkgmetadata>
+
diff --git a/net-voip/qjsimple/qjsimple-0.6.3.ebuild b/net-voip/qjsimple/qjsimple-0.6.3.ebuild
new file mode 100644
index 0000000..0405f2d
--- /dev/null
+++ b/net-voip/qjsimple/qjsimple-0.6.3.ebuild
@@ -0,0 +1,66 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="3"
+
+DESCRIPTION="QjSimple is a qt4 simple cross-platform SIP Client. Based on pjsip."
+HOMEPAGE="http://www.ipcom.at/index.php?id=560"
+SRC_URI="http://enum.at/fileadmin/ipcom/files/QjSimple-${PV}-src.zip
+http://www.pjsip.org/release/1.6/pjproject-1.6.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE=""
+
+DEPEND="media-libs/speex
+ dev-libs/openssl
+ media-libs/portaudio
+ x11-libs/qt-core
+ x11-libs/qt-gui"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"
+
+src_configure() {
+ local localconf
+
+ cd "${S}"/pjproject-1.6
+
+ localconf='--with-external-speex '
+ localconf="${localconf} --with-external-pa"
+
+ econf ${localconf} || die
+
+ echo '#define PJSIP_HAS_TLS_TRANSPORT 1' >> \
+ pjlib/include/pj/config_site.h
+
+ echo '#define PJ_HAS_IPV6 1' >> \
+ pjlib/include/pj/config_site.h
+
+ target=`grep "export TARGET_NAME" build.mak | awk '{ print $NF}'`
+
+ cd "${S}"/QjSimple-${PV}-src
+
+ sed -i "s/-lspeex-i686-pc-linux-gnu/-lspeex -lspeexdsp/" QjSimple.pro
+ sed -i "s/-lportaudio-i686-pc-linux-gnu/-lportaudio/" QjSimple.pro
+ sed -i "s/i686-pc-linux-gnu/${target}/" QjSimple.pro
+ sed -i "s/pjproject-1.3/pjproject-1.6/" QjSimple.pro
+
+ qmake
+}
+
+src_compile() {
+ cd "${S}"/pjproject-1.6
+ #fails on parallel build
+ emake -j1 || die "Make failed!"
+ cd "${S}"/QjSimple-${PV}-src
+ emake || die "Make failed!"
+}
+
+src_install() {
+ cd QjSimple-${PV}-src
+ exeinto /usr/bin
+ newexe QjSimple qjsimple
+}