1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
7 KDE_ORG_NAME="plasma-workspace"
13 DESCRIPTION="Workspace library to interact with the Plasma session manager"
15 LICENSE="GPL-2" # TODO: CHECK
17 KEYWORDS="amd64 ~arm arm64 x86"
21 >=kde-frameworks/kcoreaddons-${KFMIN}:5
22 >=kde-frameworks/ki18n-${KFMIN}:5
23 >=kde-frameworks/kwindowsystem-${KFMIN}:5
24 >=kde-frameworks/plasma-${KFMIN}:5
25 >=kde-plasma/kscreenlocker-${PVCUT}:5
26 >=dev-qt/qtdbus-${QTMIN}:5
27 >=dev-qt/qtx11extras-${QTMIN}:5
33 DEPEND="${COMMON_DEPEND}
34 >=kde-plasma/kwin-${PVCUT}:5
36 RDEPEND="${COMMON_DEPEND}
37 !<kde-plasma/plasma-workspace-5.14.2:5
42 PATCHES=( "${FILESDIR}/${PN}-5.16.80-standalone.patch" )
45 # delete colliding libkworkspace translations, let ecm_src_prepare do its magic
46 if [[ ${KDE_BUILD_TYPE} = release ]]; then
47 find ../po -type f -name "*po" -and -not -name "libkworkspace*" -delete || die
48 rm -rf po/*/docs || die
52 if [[ ${KDE_BUILD_TYPE} = release ]]; then
53 cat >> CMakeLists.txt <<- _EOF_ || die
58 sed -e "/set/s/GENTOO_PV/$(ver_cut 1-3)/" \
59 -i CMakeLists.txt || die "Failed to prepare CMakeLists.txt"