| Name |
gdk-pixbuf2 |
| Description |
An image loading library |
| Version |
2.44.4-1 |
| Package Base |
gdk-pixbuf2 |
| Homepage |
https://wiki.gnome.org/Projects/GdkPixbuf |
| Maintainers |
['Jan Alexander Steffens (heftig) <heftig@archlinux.org>'] |
| Contributors |
['Ionut Biru <ibiru@archlinux.org>'] |
| Distro-repo |
https://gitlab.archlinux.org/archlinux/packaging/packages/gdk-pixbuf2 |
| Sources |
['gdk-pixbuf-query-loaders.hook', 'git+https://gitlab.gnome.org/GNOME/gdk-pixbuf.git#tag=2.44.4'] |
| Dependencies |
['glib2', 'glibc', 'glycin', 'shared-mime-info'] |
| Optional-Dependencies |
['libheif', 'libopenraw', 'libwmf'] |
| Build-Dependencies |
['gi-docgen', 'git', 'glib2-devel', 'gobject-introspection', 'meson', 'python-docutils'] |
| Provides |
['libgdk_pixbuf-2.0.so'] |
| Builddate |
21-10-2025 18:09:11 |
| Architecture |
x86_64 |
| Distro-Version |
|
| Licenses |
['LGPL-2.0-or-later'] |
| Hash |
89bf8c2771cda0ad03430140a2d657c8d4d216ba87844391feeda1c720ab638e |
# Maintainer: Jan Alexander Steffens (heftig) <heftig@archlinux.org>
# Contributor: Ionut Biru <ibiru@archlinux.org>
pkgbase=gdk-pixbuf2
pkgname=(
gdk-pixbuf2
gdk-pixbuf2-docs
)
pkgver=2.44.4
pkgrel=1
pkgdesc="An image loading library"
url="https://wiki.gnome.org/Projects/GdkPixbuf"
arch=(x86_64)
license=(LGPL-2.0-or-later)
depends=(
glib2
glibc
glycin
shared-mime-info
)
makedepends=(
gi-docgen
git
glib2-devel
gobject-introspection
meson
python-docutils
)
source=(
"git+https://gitlab.gnome.org/GNOME/gdk-pixbuf.git#tag=$pkgver"
gdk-pixbuf-query-loaders.hook
)
b2sums=('c25b8070b944aaa3c27301dce8a991b8525a764c32e5ec673933de611ce7acb4f7963405ac715e5deb7a547b22352676fa024f77dd4a9e1cb821495f61f4cb26'
'5a00d34888e207d70d02369015d029f4c0450fc5a02b4b257de8e5df04380dc550723f351433859224c96c3c6390896f2166673af65e8a09eb57024f5a34301b')
prepare() {
cd gdk-pixbuf
}
build() {
local meson_options=(
-D android=disabled
-D builtin_loaders=all
-D documentation=true
-D gif=disabled
-D glycin=enabled
-D gtk_doc=true
-D installed_tests=false
-D introspection=enabled
-D jpeg=disabled
-D man=true
-D others=enabled
-D png=disabled
-D thumbnailer=disabled
-D tiff=disabled
)
arch-meson gdk-pixbuf build "${meson_options[@]}"
meson compile -C build
}
package_gdk-pixbuf2() {
optdepends=(
"libheif: Load .avif, .heic and .heif"
"libopenraw: Load .arw, .cr2, .crw, .dng, .erf, .mrw, .nef, .orf, .pef and .raf"
"libwmf: Load .apm and .wmf"
)
provides=(libgdk_pixbuf-2.0.so)
install=gdk-pixbuf2.install
meson install -C build --destdir "$pkgdir"
mkdir -p doc/usr/share
mv {"$pkgdir",doc}/usr/share/doc
install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 *.hook
}
package_gdk-pixbuf2-docs() {
pkgdesc+=" (documentation)"
depends=()
mv doc/* "$pkgdir"
}
# vim:set sw=2 sts=-1 et: