diff --git a/pkg.info b/pkg.info index 9b3e418..9077326 100644 --- a/pkg.info +++ b/pkg.info @@ -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} diff --git a/source.sh b/source.sh index 9e8ea4c..f7fd3e2 100644 --- a/source.sh +++ b/source.sh @@ -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() {