diff options
author | Andreas Sturmlechner <asturm@gentoo.org> | 2023-03-22 23:19:44 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2023-03-23 00:01:00 +0100 |
commit | 19f8593bb9c65271e0e5739fbe35acaf28b3b518 (patch) | |
tree | 73af4f5292dd6eee5e3146c7b11b03cdc0afe062 /kde-plasma/kde-gtk-config | |
parent | kde-plasma/breeze-gtk: drop 5.27.3 (diff) | |
download | gentoo-19f8593bb9c65271e0e5739fbe35acaf28b3b518.tar.gz gentoo-19f8593bb9c65271e0e5739fbe35acaf28b3b518.tar.bz2 gentoo-19f8593bb9c65271e0e5739fbe35acaf28b3b518.zip |
kde-plasma/kde-gtk-config: Respect forceFontDPI setting from kcmfonts
Upstream commit d2a84a92ca563b94fdfbea9d8edb8eb5955bccf0
https://bugs.kde.org/show_bug.cgi?id=461106
https://bugs.kde.org/show_bug.cgi?id=466463
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'kde-plasma/kde-gtk-config')
-rw-r--r-- | kde-plasma/kde-gtk-config/Manifest | 1 | ||||
-rw-r--r-- | kde-plasma/kde-gtk-config/kde-gtk-config-5.27.3-r1.ebuild | 57 |
2 files changed, 58 insertions, 0 deletions
diff --git a/kde-plasma/kde-gtk-config/Manifest b/kde-plasma/kde-gtk-config/Manifest index 12f31d88c412..de26179c54ef 100644 --- a/kde-plasma/kde-gtk-config/Manifest +++ b/kde-plasma/kde-gtk-config/Manifest @@ -1,2 +1,3 @@ DIST kde-gtk-config-5.26.5.tar.xz 74392 BLAKE2B 5b5e975650d4987358a926abcb3ddeee77e5d4c190fd0ccc1c2dc31c2080056c24680f444512b03a1b5dee9f93e4950f4dc2c8b1526dba488d903f3215ba5fb0 SHA512 dbb9318d282b7f60b481abffc5ba6504f1c89825e0fb825e7f28410f6ceffce2f4fda727cde3b97a1902a7c3f12d01bc4ed482ce68088a1159efbfa57e00e513 +DIST kde-gtk-config-5.27.3-read-kcmfonts-dpi-size.patch.xz 3004 BLAKE2B de0e1617b5200df779863a7bdb097395c81205d5fc50651bdfe66ed4511a676879dd32ef5160af854b5ee0c351e083b0067cbd8148531755d55c53bc48dd23ef SHA512 ed5f18ce9887a466f1d1987b716e9a070f7d119dcf1fbf594204458618518248849059d6064dbad1081a9480e61638d842df9c863706e6bb20ac99c140c218db DIST kde-gtk-config-5.27.3.tar.xz 75316 BLAKE2B 210cbd306b8583621dcac3c5ea534b90fc0725da3f36d4aded940a39df8ed6bc5187469dc78ac4a4b97be4b5ff046732c571bd5c54aeb2248d0ef816cb679cb7 SHA512 2eb162d54a6a1d5e488fe8c6c2d91eb15faae29b82092ac607388515bf85bfdad6dfd4fb69fc9b9adb54c6419afe7935fdd1f1ad47e4d0d30fd9815becde0a88 diff --git a/kde-plasma/kde-gtk-config/kde-gtk-config-5.27.3-r1.ebuild b/kde-plasma/kde-gtk-config/kde-gtk-config-5.27.3-r1.ebuild new file mode 100644 index 000000000000..e99a860d7687 --- /dev/null +++ b/kde-plasma/kde-gtk-config/kde-gtk-config-5.27.3-r1.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +KFMIN=5.102.0 +PVCUT=$(ver_cut 1-3) +QTMIN=5.15.7 +VIRTUALX_REQUIRED="test" +inherit ecm plasma.kde.org + +DESCRIPTION="Syncs KDE Plasma theme settings to GTK applications" +HOMEPAGE="https://invent.kde.org/plasma/kde-gtk-config" +SRC_URI+=" https://dev.gentoo.org/~asturm/distfiles/${P}-read-kcmfonts-dpi-size.patch.xz" + +LICENSE="GPL-3" +SLOT="5" +KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +IUSE="" + +DEPEND=" + dev-cpp/glibmm:2 + dev-libs/glib:2 + >=dev-qt/qtdbus-${QTMIN}:5 + >=dev-qt/qtgui-${QTMIN}:5 + >=dev-qt/qtsvg-${QTMIN}:5 + gnome-base/gsettings-desktop-schemas + >=kde-frameworks/kconfig-${KFMIN}:5 + >=kde-frameworks/kconfigwidgets-${KFMIN}:5 + >=kde-frameworks/kcoreaddons-${KFMIN}:5 + >=kde-frameworks/kdbusaddons-${KFMIN}:5 + >=kde-frameworks/kguiaddons-${KFMIN}:5 + >=kde-plasma/kdecoration-${PVCUT}:5 + x11-libs/gtk+:3 +" +RDEPEND="${DEPEND} + >=kde-plasma/kde-cli-tools-${PVCUT}:5 + x11-misc/xsettingsd +" +BDEPEND="dev-lang/sassc" + +PATCHES=( "${WORKDIR}/${P}-read-kcmfonts-dpi-size.patch" ) # KDE-bugs 461106, 466463 + +src_configure() { + local mycmakeargs=( + -DDATA_INSTALL_DIR="${EPREFIX}/usr/share" + ) + + ecm_src_configure +} + +pkg_postinst() { + ecm_pkg_postinst + 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." +} |