From 5d12c53a350bf56f89383ec547ca18bdc871bb43 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Tue, 18 Oct 2022 17:13:17 +0100 Subject: lxde-base/lxappearance : use it for lxqt --- lxde-base/lxappearance/Manifest | 1 + lxde-base/lxappearance/files/desktop.patch | 18 +++++++++++ .../lxappearance/lxappearance-0.6.3-r5.ebuild | 35 ++++++++++++++++++++++ 3 files changed, 54 insertions(+) create mode 100644 lxde-base/lxappearance/Manifest create mode 100644 lxde-base/lxappearance/files/desktop.patch create mode 100644 lxde-base/lxappearance/lxappearance-0.6.3-r5.ebuild (limited to 'lxde-base/lxappearance') diff --git a/lxde-base/lxappearance/Manifest b/lxde-base/lxappearance/Manifest new file mode 100644 index 00000000..4c558853 --- /dev/null +++ b/lxde-base/lxappearance/Manifest @@ -0,0 +1 @@ +DIST lxappearance-0.6.3.tar.xz 165656 BLAKE2B d76d3d9b270e18e46cad44d204d1d5e4faf20bd6c292bf8dd17c2d570fa0276f183489c39f115c189b525643dbd03d0a1b1681f7fa0f61171bc822d8250ef513 SHA512 035cc952a33ac25408a4158cb4e745b17af3f29b5ceedfbe6b37235d16c801658403e862cd35ad7c8ca20fe6186fab1dce74a6e8d3b2eec12a30d532fc21662c diff --git a/lxde-base/lxappearance/files/desktop.patch b/lxde-base/lxappearance/files/desktop.patch new file mode 100644 index 00000000..7e0cf8b8 --- /dev/null +++ b/lxde-base/lxappearance/files/desktop.patch @@ -0,0 +1,18 @@ +diff -Nur a/data/lxappearance.desktop b/data/lxappearance.desktop +--- a/data/lxappearance.desktop 2017-01-25 01:35:20.000000000 +0000 ++++ b/data/lxappearance.desktop 2017-12-18 16:55:52.477918777 +0000 +@@ -175,4 +175,4 @@ + Exec=lxappearance + NotShowIn=GNOME;KDE;XFCE;MATE; + StartupNotify=true +-Categories=GTK;Settings;DesktopSettings;X-LXDE-Settings; ++Categories=Settings;DesktopSettings;Qt;LXQt; +diff -Nur a/data/lxappearance.desktop.in b/data/lxappearance.desktop.in +--- a/data/lxappearance.desktop.in 2016-02-20 22:48:38.000000000 +0000 ++++ b/data/lxappearance.desktop.in 2017-12-18 16:56:04.608154965 +0000 +@@ -8,4 +8,4 @@ + Exec=lxappearance + NotShowIn=GNOME;KDE;XFCE;MATE; + StartupNotify=true +-Categories=GTK;Settings;DesktopSettings;X-LXDE-Settings; ++Categories=Settings;DesktopSettings;Qt;LXQt; diff --git a/lxde-base/lxappearance/lxappearance-0.6.3-r5.ebuild b/lxde-base/lxappearance/lxappearance-0.6.3-r5.ebuild new file mode 100644 index 00000000..23b25251 --- /dev/null +++ b/lxde-base/lxappearance/lxappearance-0.6.3-r5.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="LXDE GTK+ theme switcher" +HOMEPAGE="https://wiki.lxde.org/en/LXAppearance" +SRC_URI="mirror://sourceforge/lxde/${P}.tar.xz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~alpha amd64 ~arm ~arm64 ~mips ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" +IUSE="dbus" + +RDEPEND=" + dev-libs/glib:2 + x11-libs/gdk-pixbuf:2 + x11-libs/gtk+:3 + x11-libs/libX11 + dbus? ( dev-libs/dbus-glib ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-util/intltool + sys-devel/gettext + virtual/pkgconfig +" + +PATCHES=( "${FILESDIR}"/desktop.patch ) + +src_configure() { + econf \ + --enable-gtk3 \ + $(use_enable dbus) +} -- cgit v1.2.3