1 # Copyright 1999-2018 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 FRAMEWORKS_MINIMAL="5.50.0"
9 KMNAME="plasma-workspace"
12 DESCRIPTION="Legacy xembed tray icons support for SNI-only system trays"
13 HOMEPAGE="https://cgit.kde.org/plasma-workspace.git/tree/xembed-sni-proxy/Readme.md"
16 KEYWORDS="~amd64 ~arm ~x86"
19 $(add_frameworks_dep extra-cmake-modules)
20 $(add_frameworks_dep kwindowsystem)
24 $(add_qt_dep qtx11extras)
27 x11-libs/xcb-util-image
30 !<kde-plasma/plasma-workspace-5.14.2:5
31 !kde-plasma/xembed-sni-proxy:0
36 PATCHES=( "${FILESDIR}/${PN}-5.14.2-standalone.patch" )
41 sed -e "/set/s/GENTOO_PV/${PV}/" \
42 -e "/set/s/GENTOO_QT_MINIMAL/${QT_MINIMAL}/" \
43 -e "/set/s/GENTOO_KF5_MINIMAL/${FRAMEWORKS_MINIMAL}/" \
44 -i CMakeLists.txt || die "Failed to prepare CMakeLists.txt"