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
+8 -9
View File
@@ -1,7 +1,7 @@
name: gdk-pixbuf
description: An image loading library
version: 2.44.4
revision: 1
revision: 2
url: https://wiki.gnome.org/Projects/GdkPixbuf
license: LGPL2-or-later
architecture: any
@@ -9,19 +9,18 @@ type: source
depends:
- glib
- glibc
- libjpeg-turbo
- libpng
- libtiff
- glycin
- shared-mime-info
optional_depends:
- libavif
- libjxl
- librsvg
- libxwmf
- webp-pixbuf-loader
- libheif
- libopenraw
- libwmf
make_depends:
- gi-docgen
- glib
- gobject-introspection
- meson
- python-docutils
downloads:
- url: https://download.gnome.org/sources/gdk-pixbuf/${BPM_PKG_VERSION%.*}/gdk-pixbuf-${BPM_PKG_VERSION}.tar.xz
extract_to: ${BPM_SOURCE}
+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() {