Change dependencies and rebuild with automatic stripping
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user