2010-11-28 10:37:24 +01:00
|
|
|
# Description: An image loading library for GTK+
|
2021-03-22 16:31:44 +01:00
|
|
|
# URL: https://wiki.gnome.org/Projects/GdkPixbuf
|
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
|
|
# Depends on: gobject-introspection libpng libtiff shared-mime-info
|
2010-11-28 10:37:24 +01:00
|
|
|
|
|
|
|
name=gdk-pixbuf
|
2022-10-29 18:43:15 +00:00
|
|
|
version=2.42.10
|
2022-03-19 15:26:08 +01:00
|
|
|
release=1
|
2021-12-14 09:44:07 +01:00
|
|
|
source=(http://download.gnome.org/sources/$name/${version:0:4}/$name-$version.tar.xz
|
2021-03-22 16:31:44 +01:00
|
|
|
gdk-pixbuf.loaders gdk-pixbuf-register.sh)
|
2010-11-28 10:37:24 +01:00
|
|
|
|
2021-03-22 16:31:44 +01:00
|
|
|
build() {
|
2020-12-14 16:20:21 +01:00
|
|
|
meson setup build $name-$version \
|
|
|
|
--prefix=/usr \
|
2020-11-16 20:32:40 +01:00
|
|
|
--buildtype=plain \
|
2021-12-14 09:44:07 +01:00
|
|
|
--wrap-mode nodownload \
|
|
|
|
-D b_lto=true \
|
|
|
|
-D b_pie=true \
|
2020-12-14 16:20:21 +01:00
|
|
|
-D installed_tests=false \
|
|
|
|
-D man=false
|
2010-11-28 10:37:24 +01:00
|
|
|
|
2020-12-14 16:20:21 +01:00
|
|
|
meson compile -C build -j ${JOBS:-1}
|
|
|
|
DESTDIR=$PKG meson install -C build
|
2018-04-17 23:25:07 +10:00
|
|
|
|
2019-03-19 06:06:41 +01:00
|
|
|
install -m 644 $SRC/gdk-pixbuf.loaders \
|
|
|
|
$PKG/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
|
|
|
|
install -m 755 $SRC/gdk-pixbuf-register.sh \
|
|
|
|
$PKG/usr/bin/gdk-pixbuf-register
|
|
|
|
rm -r $PKG/usr/share/locale
|
2010-11-28 10:37:24 +01:00
|
|
|
}
|