summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2012-05-17 23:10:56 +0000
committerJohannes Huber <johu@gentoo.org>2012-05-17 23:10:56 +0000
commite4dea785ec13748989e6a9c19b9c5a1f983572bc (patch)
tree8b0c442987fd5955111f5091a6b46227d6031f81 /dev-libs/libdbusmenu-qt
parentdev-util/pkgconfig -> virtual/pkgconfig (diff)
downloadgentoo-2-e4dea785ec13748989e6a9c19b9c5a1f983572bc.tar.gz
gentoo-2-e4dea785ec13748989e6a9c19b9c5a1f983572bc.tar.bz2
gentoo-2-e4dea785ec13748989e6a9c19b9c5a1f983572bc.zip
Version bump by Chris Reffett <creffett@gentoo.org> wrt bug #416073.
(Portage version: 2.2.0_alpha105/cvs/Linux i686)
Diffstat (limited to 'dev-libs/libdbusmenu-qt')
-rw-r--r--dev-libs/libdbusmenu-qt/ChangeLog7
-rw-r--r--dev-libs/libdbusmenu-qt/libdbusmenu-qt-0.9.2.ebuild61
2 files changed, 67 insertions, 1 deletions
diff --git a/dev-libs/libdbusmenu-qt/ChangeLog b/dev-libs/libdbusmenu-qt/ChangeLog
index 2c4704d47623..6fa4289962bb 100644
--- a/dev-libs/libdbusmenu-qt/ChangeLog
+++ b/dev-libs/libdbusmenu-qt/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/libdbusmenu-qt
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdbusmenu-qt/ChangeLog,v 1.24 2012/05/17 13:16:24 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdbusmenu-qt/ChangeLog,v 1.25 2012/05/17 23:10:56 johu Exp $
+
+*libdbusmenu-qt-0.9.2 (17 May 2012)
+
+ 17 May 2012; Johannes Huber <johu@gentoo.org> +libdbusmenu-qt-0.9.2.ebuild:
+ Version bump by Chris Reffett <creffett@gentoo.org> wrt bug #416073.
17 May 2012; Alexis Ballier <aballier@gentoo.org>
libdbusmenu-qt-0.8.2.ebuild:
diff --git a/dev-libs/libdbusmenu-qt/libdbusmenu-qt-0.9.2.ebuild b/dev-libs/libdbusmenu-qt/libdbusmenu-qt-0.9.2.ebuild
new file mode 100644
index 000000000000..93963414ca27
--- /dev/null
+++ b/dev-libs/libdbusmenu-qt/libdbusmenu-qt-0.9.2.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libdbusmenu-qt/libdbusmenu-qt-0.9.2.ebuild,v 1.1 2012/05/17 23:10:56 johu Exp $
+
+EAPI=4
+
+QT_DEPEND="4.6.3"
+EGIT_REPO_URI="git://gitorious.org/dbusmenu/dbusmenu-qt.git"
+
+[[ ${PV} == 9999* ]] && GIT_ECLASS="git-2"
+inherit cmake-utils virtualx ${GIT_ECLASS}
+
+DESCRIPTION="A library providing Qt implementation of DBusMenu specification"
+HOMEPAGE="https://launchpad.net/libdbusmenu-qt/"
+if [[ ${PV} == 9999* ]] ; then
+ KEYWORDS=""
+else
+ #SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.bz2"
+ # upstream has no permissions to use some kde written code so repack git
+ # repo every time
+ SRC_URI="http://dev.gentoo.org/~creffett/${P}.tar.xz"
+ KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~amd64-linux ~x86-linux"
+fi
+
+LICENSE="LGPL-2"
+SLOT="0"
+IUSE="debug doc"
+
+RDEPEND="
+ >=x11-libs/qt-core-${QT_DEPEND}:4
+ >=x11-libs/qt-gui-${QT_DEPEND}:4[dbus]
+"
+DEPEND="${RDEPEND}
+ doc? ( app-doc/doxygen )
+ test? (
+ dev-libs/qjson
+ >=x11-libs/qt-test-${QT_DEPEND}:4
+ )
+"
+
+DOCS=(NEWS README)
+
+# tests fail due to missing conection to dbus
+RESTRICT="test"
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_build test TESTS)
+ $(cmake-utils_use_with doc)
+ )
+ cmake-utils_src_configure
+}
+
+src_test() {
+ local builddir=${CMAKE_BUILD_DIR}
+
+ CMAKE_BUILD_DIR=${CMAKE_BUILD_DIR}/tests \
+ VIRTUALX_COMMAND=cmake-utils_src_test virtualmake
+
+ CMAKE_BUILD_DIR=${builddir}
+}