wok-next view gdk-pixbuf/receipt @ rev 21613
updated eboard (1.1.1 -> 1.1.3)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 25 10:33:28 2020 +0100 (2020-06-25) |
parents | 75632eca5b07 |
children | 491cf445e961 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gdk-pixbuf"
4 VERSION="2.38.0"
5 CATEGORY="x-window"
6 SHORT_DESC="An image loading library for GTK+2"
7 MAINTAINER="devel@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="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 TARBALL_SHA1="6e6bef71a1f06ecd1cd282d074ae068f89867144"
16 BUILD_DEPENDS="meson ninja glib-dev shared-mime-info-dev libpng-dev \
17 libjpeg-turbo-dev tiff-dev gobject-introspection-dev libx11-dev gettext-dev \
18 libxslt docbook-xsl libxml2-tools"
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 shared-mime-info-dev libx11-dev"
25 # gdk-pixbuf-csource use shared-mime-info to detect the image file format
27 compile_rules() {
28 mkdir build
29 cd build
31 meson-wrapper \
32 -Dinstalled_tests=false \
33 &&
34 ninja &&
35 ninja install || return 1
37 touch $install/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
38 }
40 # Updating gdk pixbuf loaders cache file...
41 post_install_gdk_pixbuf() {
42 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders > /usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
43 }