summaryrefslogtreecommitdiff
path: root/lxde-base/lxappearance
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-10-18 17:13:17 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-10-18 17:13:17 +0100
commit5d12c53a350bf56f89383ec547ca18bdc871bb43 (patch)
tree26955115e62c1b7c6270e591c7310f6de8db1e29 /lxde-base/lxappearance
parentf6e20bc6c308556ba296264be68bd88f2ad6bcc8 (diff)
lxde-base/lxappearance : use it for lxqt
Diffstat (limited to 'lxde-base/lxappearance')
-rw-r--r--lxde-base/lxappearance/Manifest1
-rw-r--r--lxde-base/lxappearance/files/desktop.patch18
-rw-r--r--lxde-base/lxappearance/lxappearance-0.6.3-r5.ebuild35
3 files changed, 54 insertions, 0 deletions
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)
+}