diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2019-11-12 01:18:01 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2019-11-12 02:10:11 +0100 |
commit | 04c74959dfc942242796a6c4fb922729bab65ac4 (patch) | |
tree | 300a7912b8cc3858d362cbb135add1e749c3d8f6 /x11-themes | |
parent | media-fonts/oxygen-fonts: Switch to cmake-utils, kde.org, xdg-utils (diff) | |
download | gentoo-04c74959dfc942242796a6c4fb922729bab65ac4.tar.gz gentoo-04c74959dfc942242796a6c4fb922729bab65ac4.tar.bz2 gentoo-04c74959dfc942242796a6c4fb922729bab65ac4.zip |
x11-themes/qtcurve: Switch to cmake-utils, kde.org
Package-Manager: Portage-2.3.79, Repoman-2.3.18
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'x11-themes')
-rw-r--r-- | x11-themes/qtcurve/qtcurve-9999.ebuild | 53 |
1 files changed, 27 insertions, 26 deletions
diff --git a/x11-themes/qtcurve/qtcurve-9999.ebuild b/x11-themes/qtcurve/qtcurve-9999.ebuild index 98dfb742e0d0..47898ba5cf1c 100644 --- a/x11-themes/qtcurve/qtcurve-9999.ebuild +++ b/x11-themes/qtcurve/qtcurve-9999.ebuild @@ -3,18 +3,16 @@ EAPI=7 -ECM_KDEINSTALLDIRS="false" -KDE_AUTODEPS="false" -inherit kde5 +inherit cmake-utils kde.org DESCRIPTION="Widget styles for Qt and GTK2" HOMEPAGE="https://cgit.kde.org/qtcurve.git" LICENSE="LGPL-2+" SLOT="0" -IUSE="+X gtk nls plasma +qt5 test" +IUSE="gtk nls plasma +qt5 test +X" -if [[ "${PV}" != 9999 ]] ; then +if [[ ${KDE_BUILD_TYPE} = release ]] ; then SRC_URI="https://github.com/KDE/qtcurve/archive/${PV/_/-}.tar.gz -> ${P}.tar.gz" KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86" S="${WORKDIR}/${P/_/-}" @@ -28,32 +26,34 @@ REQUIRED_USE="gtk? ( X ) BDEPEND=" virtual/pkgconfig nls? ( sys-devel/gettext ) + plasma? ( kde-frameworks/extra-cmake-modules:5 ) " DEPEND=" gtk? ( x11-libs/gtk+:2 ) plasma? ( - $(add_frameworks_dep frameworkintegration) - $(add_frameworks_dep karchive) - $(add_frameworks_dep kcompletion) - $(add_frameworks_dep kconfig) - $(add_frameworks_dep kconfigwidgets) - $(add_frameworks_dep kcoreaddons) - $(add_frameworks_dep kdelibs4support) - $(add_frameworks_dep kguiaddons) - $(add_frameworks_dep ki18n) - $(add_frameworks_dep kiconthemes) - $(add_frameworks_dep kio) - $(add_frameworks_dep kwidgetsaddons) - $(add_frameworks_dep kwindowsystem) - $(add_frameworks_dep kxmlgui) - $(add_qt_dep qtprintsupport) + dev-qt/qtprintsupport:5 + kde-frameworks/frameworkintegration:5 + kde-frameworks/karchive:5 + kde-frameworks/kcompletion:5 + kde-frameworks/kconfig:5 + kde-frameworks/kconfigwidgets:5 + kde-frameworks/kcoreaddons:5 + kde-frameworks/kdelibs4support:5 + kde-frameworks/kguiaddons:5 + kde-frameworks/ki18n:5 + kde-frameworks/kiconthemes:5 + kde-frameworks/kio:5 + kde-frameworks/kwidgetsaddons:5 + kde-frameworks/kwindowsystem:5 + kde-frameworks/kxmlgui:5 ) qt5? ( - $(add_qt_dep qtdbus) - $(add_qt_dep qtgui) - $(add_qt_dep qtsvg) - $(add_qt_dep qtwidgets) - X? ( $(add_qt_dep qtx11extras) ) + dev-qt/qtcore:5 + dev-qt/qtdbus:5 + dev-qt/qtgui:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + X? ( dev-qt/qtx11extras:5 ) ) X? ( x11-libs/libX11 @@ -74,10 +74,11 @@ src_configure() { -DQTC_KDE4_DEFAULT_HOME=ON -DENABLE_GTK2="$(usex gtk)" -DENABLE_QT5="$(usex qt5)" + -DBUILD_TESTING="$(usex test)" -DQTC_ENABLE_X11="$(usex X)" -DQTC_INSTALL_PO="$(usex nls)" -DQTC_QT5_ENABLE_KDE="$(usex plasma)" ) - kde5_src_configure + cmake-utils_src_configure } |