forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
xembed-sni-proxy-5.14.5.ebuild
45 lines (36 loc) · 1.05 KB
/
xembed-sni-proxy-5.14.5.ebuild
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
32
33
34
35
36
37
38
39
40
41
42
43
44
45
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
FRAMEWORKS_MINIMAL="5.50.0"
QT_MINIMAL="5.9.6"
KDE_AUTODEPS="false"
KMNAME="plasma-workspace"
inherit kde5
DESCRIPTION="Legacy xembed tray icons support for SNI-only system trays"
HOMEPAGE="https://cgit.kde.org/plasma-workspace.git/tree/xembed-sni-proxy/Readme.md"
LICENSE="GPL-2"
KEYWORDS="amd64 ~arm x86"
DEPEND="
$(add_frameworks_dep extra-cmake-modules)
$(add_frameworks_dep kwindowsystem)
$(add_qt_dep qtcore)
$(add_qt_dep qtdbus)
$(add_qt_dep qtgui)
$(add_qt_dep qtx11extras)
x11-libs/libxcb
x11-libs/libXtst
x11-libs/xcb-util-image
"
RDEPEND="${DEPEND}
!<kde-plasma/plasma-workspace-5.14.2:5
!kde-plasma/xembed-sni-proxy:0
"
S="${S}/${PN}"
PATCHES=( "${FILESDIR}/${PN}-5.14.2-standalone.patch" )
src_prepare() {
kde5_src_prepare
sed -e "/set/s/GENTOO_PV/${PV}/" \
-e "/set/s/GENTOO_QT_MINIMAL/${QT_MINIMAL}/" \
-e "/set/s/GENTOO_KF5_MINIMAL/${FRAMEWORKS_MINIMAL}/" \
-i CMakeLists.txt || die "Failed to prepare CMakeLists.txt"
}