Update package version to 2.44.0

This commit is contained in:
2025-09-15 11:18:35 +03:00
parent 82105820b7
commit 32a10c0954
2 changed files with 8 additions and 11 deletions
+2 -2
View File
@@ -1,10 +1,10 @@
name: gdk-pixbuf name: gdk-pixbuf
description: An image loading library description: An image loading library
version: 2.42.12 version: 2.44.0
url: https://wiki.gnome.org/Projects/GdkPixbuf url: https://wiki.gnome.org/Projects/GdkPixbuf
license: LGPL2-or-later license: LGPL2-or-later
architecture: any architecture: any
depends: ["glib","glibc","libjpeg-turbo","libpng","libtiff","shared-mime-info"] depends: ["glib","glibc","libjpeg-turbo","libpng","libtiff","shared-mime-info"]
optional_depends: ["librsvg"] optional_depends: ["libavif","libjxl","librsvg","libxwmf","webp-pixbuf-loader"]
make_depends: ["gobject-introspection","meson"] make_depends: ["gobject-introspection","meson"]
type: source type: source
+6 -9
View File
@@ -15,27 +15,24 @@ prepare() {
# The build function is executed in the source directory # The build function is executed in the source directory
# This function is used to compile the source code # This function is used to compile the source code
build() { build() {
mkdir build meson setup --prefix=/usr --libdir=/usr/lib --buildtype=release -D builtin_loaders=all -Dothers=enabled -Dglycin=disabled --wrap-mode=nofallback -Dman=false build
cd build meson compile -C build
meson setup --prefix=/usr --libdir=/usr/lib --buildtype=release -Dothers=enabled --wrap-mode=nofallback -Dman=false ..
ninja
} }
# The check function is executed in the source directory # The check function is executed in the source directory
# This function is used to run tests to verify the package has been compiled correctly # This function is used to run tests to verify the package has been compiled correctly
check() { check() {
cd build meson test -C build --print-errorlogs
ninja test
} }
# The package function is executed in the source directory # The package function is executed in the source directory
# This function is used to move the compiled files into the output directory # This function is used to move the compiled files into the output directory
package() { package() {
cd build meson install -C build --destdir="$BPM_OUTPUT"
DESTDIR="$BPM_OUTPUT" ninja install
# Install BPM hook
install -Dm644 "$BPM_WORKDIR"/*.bpmhook -t "$BPM_OUTPUT"/var/lib/bpm/hooks install -Dm644 "$BPM_WORKDIR"/*.bpmhook -t "$BPM_OUTPUT"/var/lib/bpm/hooks
# Install package license
install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/gdk-pixbuf/COPYING install -Dm644 "$BPM_SOURCE"/COPYING "$BPM_OUTPUT"/usr/share/licenses/gdk-pixbuf/COPYING
} }