diff options
| author | Dennis Schridde <devurandom@gmx.net> | 2011-01-29 19:34:26 +0100 |
|---|---|---|
| committer | Dennis Schridde <devurandom@gmx.net> | 2011-01-29 20:03:52 +0100 |
| commit | 5759014e4d062f19ade3d083ec67514fe5a27f9a (patch) | |
| tree | 7caf965a67db3b3cc14e8a6fb4f1a93fc26ba024 /dev-libs/libdbusmenu-qt/libdbusmenu-qt-0.7.0.ebuild | |
| parent | fe4ba90c7a80ae1cc7e3775a874410199e275943 (diff) | |
| download | kde-5759014e4d062f19ade3d083ec67514fe5a27f9a.tar.gz kde-5759014e4d062f19ade3d083ec67514fe5a27f9a.tar.bz2 kde-5759014e4d062f19ade3d083ec67514fe5a27f9a.zip | |
[dev-libs/libdbusmenu-qt] Version bump to 0.7.0, cleanup, use official sources, support tests, sync with live ebuild
(Portage version: 2.2.0_alpha19/git/Linux x86_64, signed Manifest commit with key 50ED256E)
Diffstat (limited to 'dev-libs/libdbusmenu-qt/libdbusmenu-qt-0.7.0.ebuild')
| -rw-r--r-- | dev-libs/libdbusmenu-qt/libdbusmenu-qt-0.7.0.ebuild | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/dev-libs/libdbusmenu-qt/libdbusmenu-qt-0.7.0.ebuild b/dev-libs/libdbusmenu-qt/libdbusmenu-qt-0.7.0.ebuild new file mode 100644 index 00000000000..0cf7ade0990 --- /dev/null +++ b/dev-libs/libdbusmenu-qt/libdbusmenu-qt-0.7.0.ebuild @@ -0,0 +1,62 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3 + +QT_DEPEND="4.6.3" +inherit cmake-utils virtualx + +if [[ "${PV}" = 9999* ]] ; then + inherit git + + EGIT_REPO_URI="git://gitorious.org/dbusmenu/dbusmenu-qt.git" + + KEYWORDS="" +else + # We are using snapshots from Aurelien's repos, as advised in kde-packager ml + # This is because version 0.6.3 removed code from the official version, + # because Canonical has no copyright on it + #SRC_URI="mirror://gentoo/${P}.tar.bz2" + SRC_URI="http://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.bz2" + + KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux" +fi + +DESCRIPTION="A library providing Qt implementation of DBusMenu specification" +HOMEPAGE="https://launchpad.net/libdbusmenu-qt/" + +LICENSE="LGPL-2" +SLOT="0" +IUSE="debug" + +RDEPEND=" + >=x11-libs/qt-core-${QT_DEPEND}:4 + >=x11-libs/qt-gui-${QT_DEPEND}:4[dbus] +" +DEPEND="${RDEPEND} + test? ( + dev-libs/qjson + >=x11-libs/qt-test-${QT_DEPEND}:4 + ) +" + +DOCS=(NEWS README) + +src_configure() { + mycmakeargs=( + $(cmake-utils_use_build test TESTS) + ) + cmake-utils_src_configure +} + +src_test() { + pushd "${CMAKE_BUILD_DIR}/tests" > /dev/null + local ctestargs + [[ -n ${TEST_VERBOSE} ]] && ctestargs="--extra-verbose --output-on-failure" + + export maketype="ctest ${ctestargs}" + virtualmake || die "Tests failed." + + popd > /dev/null +} |
