summaryrefslogtreecommitdiff
blob: 718a88956c5ebd5bf33563ad7ce719486838b9cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

inherit cmake-utils flag-o-matic

DESCRIPTION="Helps integration of pure Qt4 applications with KDE Plasma"
HOMEPAGE="https://www.kde.org/"
SRC_URI="mirror://kde/Attic/applications/15.08.0/src/kde-workspace-${PV}.tar.xz"

KEYWORDS="amd64 ~arm x86 ~amd64-linux ~x86-linux"
LICENSE="GPL-2"
SLOT="4/4.11"
IUSE="debug"

RDEPEND="
	dev-qt/qtcore:4
	dev-qt/qtgui:4
	kde-frameworks/kdelibs:4
"
DEPEND="${RDEPEND}"

S="${WORKDIR}/kde-workspace-${PV}/qguiplatformplugin_kde"

PATCHES=( "${FILESDIR}/${P}-cmake.patch" )

src_configure() {
	use debug ||  append-cppflags -DQT_NO_DEBUG
	cmake-utils_src_configure
}