kde-plasma/qguiplatformplugin_kde: Switch to kde4-base, EAPI 6

Package-Manager: Portage-2.3.19, Repoman-2.3.6
This commit is contained in:
Andreas Sturmlechner
2018-01-04 21:46:34 +01:00
parent 970ae83d48
commit a321a66e1b
2 changed files with 25 additions and 4 deletions

View File

@@ -0,0 +1,17 @@
Standalone build of the plugin.
--- a/CMakeLists.txt 2018-01-04 21:38:30.921464554 +0100
+++ b/CMakeLists.txt 2018-01-04 21:38:30.890464324 +0100
@@ -1,5 +1,12 @@
+cmake_minimum_required(VERSION 2.8.6 FATAL_ERROR)
+
project(qguiplatformplugin_kde)
+find_package(KDE4 4.9.4 REQUIRED)
+include(KDE4Defaults)
+add_definitions(${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
+include_directories(${CMAKE_SOURCE_DIR} ${CMAKE_BINARY_DIR} ${KDE4_INCLUDES})
+
set(kde_SOURCES qguiplatformplugin_kde.cpp)
qt4_generate_moc(qguiplatformplugin_kde.cpp ${CMAKE_CURRENT_BINARY_DIR}/qguiplatformplugin_kde.moc)

View File

@@ -1,11 +1,15 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
EAPI=6
KMNAME="kde-workspace"
inherit kde4-meta
inherit kde4-base
DESCRIPTION="Helps integration of pure Qt applications with KDE Plasma"
DESCRIPTION="Helps integration of pure Qt4 applications with KDE Plasma"
KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux"
IUSE="debug"
S="${WORKDIR}/${KMNAME}-${PV}/qguiplatformplugin_kde"
PATCHES=( "${FILESDIR}/${P}-cmake.patch" )