forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
kde-gtk-config-5.4.3.ebuild
56 lines (48 loc) · 1.27 KB
/
kde-gtk-config-5.4.3.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
46
47
48
49
50
51
52
53
54
55
56
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=5
KDE_PUNT_BOGUS_DEPS="true"
inherit kde5
DESCRIPTION="KDE systemsettings kcm to set GTK application look&feel"
HOMEPAGE="https://projects.kde.org/kde-gtk-config"
LICENSE="GPL-3"
KEYWORDS=" ~amd64 ~x86"
IUSE="+gtk3"
DEPEND="
$(add_frameworks_dep karchive)
$(add_frameworks_dep kcmutils)
$(add_frameworks_dep kconfigwidgets)
$(add_frameworks_dep kcoreaddons)
$(add_frameworks_dep ki18n)
$(add_frameworks_dep kiconthemes)
$(add_frameworks_dep kio)
$(add_frameworks_dep knewstuff)
$(add_frameworks_dep kwidgetsaddons)
dev-libs/glib:2
dev-qt/qtgui:5
dev-qt/qtwidgets:5
x11-libs/gtk+:2
gtk3? ( x11-libs/gtk+:3 )
"
RDEPEND="${DEPEND}
$(add_plasma_dep kde-cli-tools)
!kde-base/kde-gtk-config:4
!kde-misc/kde-gtk-config
"
PATCHES=( "${FILESDIR}/${PN}-5.4.2-gtk3-optional.patch" )
src_configure() {
local mycmakeargs=(
-DDATA_INSTALL_DIR="${EPREFIX}/usr/share"
-DBUILD_gtk3proxies=$(usex gtk3)
)
kde5_src_configure
}
pkg_postinst() {
kde5_pkg_postinst
einfo
elog "If you notice missing icons in your GTK applications, you may have to install"
elog "the corresponding themes for GTK. A good guess would be x11-themes/oxygen-gtk"
elog "for example."
einfo
}