wok-next view gdk-pixbuf/receipt @ rev 21674
updated geoip (1.4.8 -> 1.6.12)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jun 29 10:52:14 2020 +0100 (2020-06-29) |
parents | 491cf445e961 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gdk-pixbuf"
4 VERSION="2.40.0"
5 CATEGORY="x-window"
6 SHORT_DESC="An image loading library for GTK+2"
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.gtk.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/x/gdk-pixbuf.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="https://download.gnome.org/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
14 # 2.38.0 TARBALL_SHA1="6e6bef71a1f06ecd1cd282d074ae068f89867144"
16 BUILD_DEPENDS="docbook-xsl gettext-dev glib-dev gobject-introspection-dev
17 libjpeg-turbo-dev libpng-dev libx11-dev libxml2-tools libxslt meson
18 ninja shared-mime-info-dev tiff-dev"
19 SPLIT="$PACKAGE-dev $PACKAGE"
21 COPY_dev="@dev gdk-pixbuf-csource libgdk_pixbuf-2.0.so libgdk_pixbuf_xlib-2.0.so"
23 DEPENDS_std="glib libjpeg-turbo libpng libtiff libx11"
24 DEPENDS_dev="$PACKAGE glib-dev libx11-dev shared-mime-info-dev"
25 # gdk-pixbuf-csource use shared-mime-info to detect the image file format
27 compile_rules()
28 {
29 mkdir build
30 cd build
32 meson-wrapper \
33 -Dinstalled_tests=false \
34 &&
35 ninja &&
36 ninja install || return 1
38 touch $install/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
39 }
41 # Updating gdk pixbuf loaders cache file...
42 post_install_gdk_pixbuf()
43 {
44 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders > /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
45 }