Change dependencies and rebuild with automatic stripping
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
name: gdk-pixbuf
|
name: gdk-pixbuf
|
||||||
description: An image loading library
|
description: An image loading library
|
||||||
version: 2.44.4
|
version: 2.44.4
|
||||||
revision: 1
|
revision: 2
|
||||||
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
|
||||||
@@ -9,19 +9,18 @@ type: source
|
|||||||
depends:
|
depends:
|
||||||
- glib
|
- glib
|
||||||
- glibc
|
- glibc
|
||||||
- libjpeg-turbo
|
- glycin
|
||||||
- libpng
|
|
||||||
- libtiff
|
|
||||||
- shared-mime-info
|
- shared-mime-info
|
||||||
optional_depends:
|
optional_depends:
|
||||||
- libavif
|
- libheif
|
||||||
- libjxl
|
- libopenraw
|
||||||
- librsvg
|
- libwmf
|
||||||
- libxwmf
|
|
||||||
- webp-pixbuf-loader
|
|
||||||
make_depends:
|
make_depends:
|
||||||
|
- gi-docgen
|
||||||
|
- glib
|
||||||
- gobject-introspection
|
- gobject-introspection
|
||||||
- meson
|
- meson
|
||||||
|
- python-docutils
|
||||||
downloads:
|
downloads:
|
||||||
- url: https://download.gnome.org/sources/gdk-pixbuf/${BPM_PKG_VERSION%.*}/gdk-pixbuf-${BPM_PKG_VERSION}.tar.xz
|
- url: https://download.gnome.org/sources/gdk-pixbuf/${BPM_PKG_VERSION%.*}/gdk-pixbuf-${BPM_PKG_VERSION}.tar.xz
|
||||||
extract_to: ${BPM_SOURCE}
|
extract_to: ${BPM_SOURCE}
|
||||||
|
|||||||
@@ -5,16 +5,26 @@
|
|||||||
# 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() {
|
||||||
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
|
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
|
# 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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user