libjxl init
This commit is contained in:
1 parent
f6702d2a29
commit
a0db98e63b
3 files changed
+56
-2
No files matched your search
@@ -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);
|
||||||
@@ -7,16 +7,22 @@ description='Feature-rich GTK+ theme switcher of the LXDE Desktop'
|
|||||||
email='akarsu@protonmail.com'
|
email='akarsu@protonmail.com'
|
||||||
maintainer='akarsu'
|
maintainer='akarsu'
|
||||||
license=('GPL2')
|
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
|
depends=(gtk3) #dbus-glib
|
||||||
makedepends=(intltool)
|
makedepends=(intltool)
|
||||||
md5sums=('f10345313e2c12bad51c1b58bd46b454')
|
md5sums=('f10345313e2c12bad51c1b58bd46b454'
|
||||||
|
'SKIP')
|
||||||
group=(lxde.base)
|
group=(lxde.base)
|
||||||
uses=()
|
uses=()
|
||||||
arch=('x86_64')
|
arch=('x86_64')
|
||||||
|
|
||||||
cd $name-$version
|
cd $name-$version
|
||||||
|
|
||||||
|
prepare(){
|
||||||
|
patch -Np1 -i ../00-gtk3-fix.patch
|
||||||
|
}
|
||||||
|
|
||||||
setup(){
|
setup(){
|
||||||
./configure --prefix=/usr --enable-gtk3 \
|
./configure --prefix=/usr --enable-gtk3 \
|
||||||
--libdir=/usr/lib64/
|
--libdir=/usr/lib64/
|
||||||
|
|||||||
@@ -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
|
||||||
|
}
|
||||||
|
|
||||||
Reference in new issue
Block a user