summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Popov <pinkbyte@gentoo.org>2013-03-11 10:14:05 +0000
committerSergey Popov <pinkbyte@gentoo.org>2013-03-11 10:14:05 +0000
commit2e76a6b41872e60118ab9120b0567e64b7f6215f (patch)
tree0fc30b0c88aa6d40931dee2cc570c22a4fa0169b /net-libs/qxmpp
parentfix #457694 thx to Balint SZENTE (diff)
downloadgentoo-2-2e76a6b41872e60118ab9120b0567e64b7f6215f.tar.gz
gentoo-2-2e76a6b41872e60118ab9120b0567e64b7f6215f.tar.bz2
gentoo-2-2e76a6b41872e60118ab9120b0567e64b7f6215f.zip
Version bump, sync live ebuild
(Portage version: 2.2.0_alpha165/cvs/Linux x86_64, signed Manifest commit with key 0x1F357D42)
Diffstat (limited to 'net-libs/qxmpp')
-rw-r--r--net-libs/qxmpp/ChangeLog8
-rw-r--r--net-libs/qxmpp/qxmpp-0.7.6.ebuild48
-rw-r--r--net-libs/qxmpp/qxmpp-9999.ebuild4
3 files changed, 57 insertions, 3 deletions
diff --git a/net-libs/qxmpp/ChangeLog b/net-libs/qxmpp/ChangeLog
index 346787ee319e..c8122c057eeb 100644
--- a/net-libs/qxmpp/ChangeLog
+++ b/net-libs/qxmpp/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-libs/qxmpp
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/qxmpp/ChangeLog,v 1.35 2013/03/02 22:58:08 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/qxmpp/ChangeLog,v 1.36 2013/03/11 10:14:05 pinkbyte Exp $
+
+*qxmpp-0.7.6 (11 Mar 2013)
+
+ 11 Mar 2013; Sergey Popov <pinkbyte@gentoo.org> +qxmpp-0.7.6.ebuild,
+ qxmpp-9999.ebuild:
+ Version bump, sync live ebuild
02 Mar 2013; Markos Chandras <hwoarang@gentoo.org> qxmpp-0.7.4.ebuild,
qxmpp-0.7.5.ebuild, qxmpp-9999.ebuild:
diff --git a/net-libs/qxmpp/qxmpp-0.7.6.ebuild b/net-libs/qxmpp/qxmpp-0.7.6.ebuild
new file mode 100644
index 000000000000..a054724d615a
--- /dev/null
+++ b/net-libs/qxmpp/qxmpp-0.7.6.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-libs/qxmpp/qxmpp-0.7.6.ebuild,v 1.1 2013/03/11 10:14:05 pinkbyte Exp $
+
+EAPI=5
+
+inherit qt4-r2 multilib
+
+DESCRIPTION="A cross-platform C++ XMPP client library based on the Qt framework."
+HOMEPAGE="http://code.google.com/p/qxmpp/"
+SRC_URI="http://qxmpp.googlecode.com/files/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~amd64-linux"
+IUSE="debug doc test"
+
+RDEPEND="dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ media-libs/speex"
+DEPEND="${RDEPEND}
+ test? ( dev-qt/qttest:4 )"
+
+src_prepare(){
+ if ! use doc; then
+ sed -i \
+ -e '/SUBDIRS/s/doc//' \
+ -e '/INSTALLS/d' \
+ qxmpp.pro || die "sed for removing docs failed"
+ fi
+ if ! use test; then
+ sed -i -e '/SUBDIRS/s/tests//' \
+ qxmpp.pro || die "sed for removing tests failed"
+ fi
+ qt4-r2_src_prepare
+}
+
+src_configure(){
+ eqmake4 "${S}"/qxmpp.pro "PREFIX=${EPREFIX}/usr" "LIBDIR=$(get_libdir)"
+}
+
+src_install() {
+ qt4-r2_src_install
+ if use doc; then
+ # Use proper path for documentation
+ mv "${ED}"/usr/share/doc/${PN} "${ED}"/usr/share/doc/${PF} || die "doc mv failed"
+ fi
+}
diff --git a/net-libs/qxmpp/qxmpp-9999.ebuild b/net-libs/qxmpp/qxmpp-9999.ebuild
index 706e6eda9a17..208dc187a72b 100644
--- a/net-libs/qxmpp/qxmpp-9999.ebuild
+++ b/net-libs/qxmpp/qxmpp-9999.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-libs/qxmpp/qxmpp-9999.ebuild,v 1.13 2013/03/02 22:58:08 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-libs/qxmpp/qxmpp-9999.ebuild,v 1.14 2013/03/11 10:14:05 pinkbyte Exp $
EAPI=5
@@ -44,6 +44,6 @@ src_install() {
qt4-r2_src_install
if use doc; then
# Use proper path for documentation
- mv "${ED}"/usr/share/doc/${PN} "${ED}"/usr/share/doc/${P} || die "doc mv failed"
+ mv "${ED}"/usr/share/doc/${PN} "${ED}"/usr/share/doc/${PF} || die "doc mv failed"
fi
}