libjxl init

This commit is contained in:
sulincix committed 2023-04-02 20:03:30 +00:00
1 parent f6702d2a29
commit a0db98e63b
3 files changed
+56 -2

No files matched your search

+13
View File
@@ -0,0 +1,13 @@
diff --git a/src/widget-theme.c b/src/widget-theme.c
index 3331ae4..bceadfe 100644
--- a/src/widget-theme.c
+++ b/src/widget-theme.c
@@ -36,7 +36,7 @@ static GSList* load_themes_in_dir(const char* theme_dir, GSList* themes)
if(!g_slist_find_custom(themes, name, (GCompareFunc)strcmp))
{
/* test if this is a gtk theme */
- char* gtkrc = g_build_filename(theme_dir, name, "gtk-2.0/gtkrc", NULL);
+ char* gtkrc = g_build_filename(theme_dir, name, "gtk-3.0/gtk.css", NULL);
if(g_file_test(gtkrc, G_FILE_TEST_EXISTS))
themes = g_slist_prepend(themes, g_strdup(name));
g_free(gtkrc);
+8 -2
View File
@@ -7,16 +7,22 @@ description='Feature-rich GTK+ theme switcher of the LXDE Desktop'
email='akarsu@protonmail.com'
maintainer='akarsu'
license=('GPL2')
source=("https://downloads.sourceforge.net/lxde/$name-$version.tar.xz")
source=("https://downloads.sourceforge.net/lxde/$name-$version.tar.xz"
"00-gtk3-fix.patch")
depends=(gtk3) #dbus-glib
makedepends=(intltool)
md5sums=('f10345313e2c12bad51c1b58bd46b454')
md5sums=('f10345313e2c12bad51c1b58bd46b454'
'SKIP')
group=(lxde.base)
uses=()
arch=('x86_64')
cd $name-$version
prepare(){
patch -Np1 -i ../00-gtk3-fix.patch
}
setup(){
./configure --prefix=/usr --enable-gtk3 \
--libdir=/usr/lib64/