diff options
Diffstat (limited to 'kde-frameworks/purpose/purpose-1.2.1.ebuild')
-rw-r--r-- | kde-frameworks/purpose/purpose-1.2.1.ebuild | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/kde-frameworks/purpose/purpose-1.2.1.ebuild b/kde-frameworks/purpose/purpose-1.2.1.ebuild new file mode 100644 index 000000000000..06e55ebd995a --- /dev/null +++ b/kde-frameworks/purpose/purpose-1.2.1.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +KDE_AUTODEPS="false" +KDE_QTHELP="false" +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="+kaccounts" + +COMMON_DEPEND=" + $(add_frameworks_dep kcoreaddons '' 5.40.0) + $(add_frameworks_dep ki18n '' 5.40.0) + $(add_frameworks_dep kio '' 5.40.0) + $(add_qt_dep qtcore) + $(add_qt_dep qtdeclarative) + $(add_qt_dep qtgui) + $(add_qt_dep qtnetwork) + $(add_qt_dep qtwidgets) + kaccounts? ( + $(add_kdeapps_dep kaccounts-integration) + net-libs/accounts-qt + ) +" +DEPEND="${COMMON_DEPEND} + $(add_frameworks_dep extra-cmake-modules '' 5.40.0) +" +RDEPEND="${COMMON_DEPEND} + >=kde-frameworks/kf-env-4 + || ( $(add_frameworks_dep breeze-icons '' 5.40.0) kde-frameworks/oxygen-icons:* ) +" + +# requires running environment +RESTRICT+=" test" + +src_configure() { + local mycmakeargs=( + $(cmake-utils_use_find_package kaccounts KAccounts) + ) + + kde5_src_configure +} + +pkg_postinst(){ + kde5_pkg_postinst + + if ! has_version "kde-misc/kdeconnect[app]" ; then + elog + elog "Optional runtime dependency:" + elog "kde-misc/kdeconnect[app] (send through KDE Connect)" + elog + fi +} |