Update package version to 2.44.0
This commit is contained in:
@@ -1,10 +1,10 @@
|
||||
name: gdk-pixbuf
|
||||
description: An image loading library
|
||||
version: 2.42.12
|
||||
version: 2.44.0
|
||||
url: https://wiki.gnome.org/Projects/GdkPixbuf
|
||||
license: LGPL2-or-later
|
||||
architecture: any
|
||||
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"]
|
||||
type: source
|
||||
|
||||
@@ -15,27 +15,24 @@ prepare() {
|
||||
# The build function is executed in the source directory
|
||||
# This function is used to compile the source code
|
||||
build() {
|
||||
mkdir build
|
||||
cd build
|
||||
|
||||
meson setup --prefix=/usr --libdir=/usr/lib --buildtype=release -Dothers=enabled --wrap-mode=nofallback -Dman=false ..
|
||||
ninja
|
||||
meson setup --prefix=/usr --libdir=/usr/lib --buildtype=release -D builtin_loaders=all -Dothers=enabled -Dglycin=disabled --wrap-mode=nofallback -Dman=false 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() {
|
||||
cd build
|
||||
ninja test
|
||||
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() {
|
||||
cd build
|
||||
DESTDIR="$BPM_OUTPUT" ninja install
|
||||
meson install -C build --destdir="$BPM_OUTPUT"
|
||||
|
||||
# Install BPM hook
|
||||
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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user