diff --git a/lxde/base/lxappearance/00-gtk3-fix.patch b/lxde/base/lxappearance/00-gtk3-fix.patch new file mode 100644 index 00000000..44a00cbf --- /dev/null +++ b/lxde/base/lxappearance/00-gtk3-fix.patch @@ -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); diff --git a/lxde/base/lxappearance/ympbuild b/lxde/base/lxappearance/ympbuild index d180788f..56f6d2d3 100644 --- a/lxde/base/lxappearance/ympbuild +++ b/lxde/base/lxappearance/ympbuild @@ -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/ diff --git a/media/libs/libjxl/ympbuild b/media/libs/libjxl/ympbuild new file mode 100644 index 00000000..049bc385 --- /dev/null +++ b/media/libs/libjxl/ympbuild @@ -0,0 +1,35 @@ +#!/usr/bin/env bash +name='libjxl' +release='1' +version='0.8.1' +url='https://github.com/libjxl/libjxl' +description='JPEG XL image format reference implementation' +email='parduscix@yandex.ru' +maintainer='sulincix' +license=('GPLv3') +source=("https://github.com/libjxl/libjxl/archive/refs/tags/v$version.tar.gz") +depends=(highway) +makedepends=() +md5sums=('04a73be60211224e039d791a902a46de') +group=() +uses=() +arch=('x86_64') + +cd $name-$version + +setup(){ + mkdir build + cd build + cmake .. \ + -DCMAKE_INSTALL_PREFIX:PATH='/usr' \ + -DBUILD_TESTING=OFF +} + +build(){ + make $jobs +} + +package(){ + make install $jobs +} +