Change dependencies and rebuild with automatic stripping

This commit is contained in:
2025-10-28 15:27:50 +02:00
parent 8a7b61707c
commit 5c08b2eb64
2 changed files with 25 additions and 16 deletions
+17 -7
View File
@@ -5,16 +5,26 @@
# The build function is executed in the source directory
# This function is used to compile the source code
build() {
meson setup --prefix=/usr --libdir=/usr/lib --buildtype=release -D builtin_loaders=all -Dothers=enabled -Dglycin=disabled --wrap-mode=nofallback -Dman=false build
meson setup --prefix=/usr \
--libdir=/usr/lib \
--wrap-mode=nofallback \
-Ddocumentation=true \
-Dinstalled_tests=false \
-Dgtk_doc=true \
-Dman=true \
-Dintrospection=enabled \
-Dbuiltin_loaders=all \
-Dglycin=enabled \
-Dothers=enabled \
-Dgif=disabled \
-Djpeg=disabled \
-Dpng=disabled \
-Dthumbnailer=disabled \
-Dtiff=disabled \
build
meson compile -C build
}
# The check function is executed in the source directory
# This function is used to run tests to verify the package has been compiled correctly
check() {
meson test -C build --print-errorlogs
}
# The package function is executed in the source directory
# This function is used to move the compiled files into the output directory
package() {