dev-libs/purpose: revision bump to add Qt subslot operator
authorMichael Palimaka <kensington@gentoo.org>
Sun, 19 Jun 2016 13:39:24 +0000 (23:39 +1000)
committerMichael Palimaka <kensington@gentoo.org>
Sun, 19 Jun 2016 13:42:41 +0000 (23:42 +1000)
The QT_VERSION_CHECK macro is used at build-time.

Package-Manager: portage-2.3.0_rc1

dev-libs/purpose/purpose-1.1-r1.ebuild [new file with mode: 0644]

diff --git a/dev-libs/purpose/purpose-1.1-r1.ebuild b/dev-libs/purpose/purpose-1.1-r1.ebuild
new file mode 100644 (file)
index 0000000..212830a
--- /dev/null
@@ -0,0 +1,29 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KDE_TEST="forceoptional"
+inherit kde5
+
+DESCRIPTION="Library for providing abstractions to get the developer's purposes fulfilled"
+SRC_URI="mirror://kde/stable/${PN}/${P}.tar.xz"
+
+LICENSE="LGPL-2.1+"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE=""
+
+# drop qtgui subslot operator when QT_MINIMAL >= 5.6.0
+DEPEND="
+       $(add_frameworks_dep kcoreaddons)
+       $(add_frameworks_dep ki18n)
+       $(add_frameworks_dep kio)
+       $(add_kdeapps_dep kaccounts-integration)
+       $(add_qt_dep qtdeclarative)
+       $(add_qt_dep qtgui '' '' '5=')
+       $(add_qt_dep qtnetwork)
+       $(add_qt_dep qtwidgets)
+       net-libs/accounts-qt
+"
+RDEPEND="${DEPEND}"