wok view gdk-pixbuf/receipt @ rev 25630

libssh, openssh, paramiko, proftpd, putty: CVE-2023-48795 fix, waiting for dropbear and tinyssh released.
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 22 14:30:01 2023 +0000 (11 months ago)
parents 5d79829fa876
children
line source
1 # SliTaz package receipt.
3 PACKAGE="gdk-pixbuf"
4 VERSION="2.31.1"
5 CATEGORY="x-window"
6 SHORT_DESC="An image loading library for gtk2."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.gtk.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 DEPENDS="glib jpeg libgio libjpeg libpng shared-mime-info tiff xorg-libX11 zlib"
15 BUILD_DEPENDS="glib-dev jbigkit jpeg-dev libgio-dev libjpeg libpng-dev
16 shared-mime-info-dev tiff-dev xorg-libX11-dev zlib-dev"
18 HOST_ARCH="i486 arm"
20 # Handle cross compilation
21 case "$ARCH" in
22 (i?86)
23 BUILD_DEPENDS="$BUILD_DEPENDS gobject-introspection-dev"
24 ;;
25 (arm)
26 ARCH_ARGS="--enable-introspection=no --cache-file=arm.cache"
27 ;;
28 esac
30 current_version()
31 {
32 wget -O - $GNOME_MIRROR/$PACKAGE/$(wget -O - $GNOME_MIRROR/$PACKAGE 2>/dev/null | \
33 sed '/href="[0-9]/!d;s|.*href="||;s|/" .*||' | sort -Vr | sed q) 2>/dev/null | \
34 sed "/href=\"$PACKAGE-[0-9]/!d;s|.*$PACKAGE-||;s|.[a-z].*||" | sort -Vr | sed q
35 }
37 # Rules to configure and make the package.
38 compile_rules()
39 {
40 case "$ARCH" in
41 (arm) echo "gio_can_sniff=yes" > arm.cache ;;
42 esac
44 ./configure \
45 --disable-glibtest \
46 --without-libjasper \
47 --with-x11 \
48 $CONFIGURE_ARGS $ARCH_ARGS &&
49 make &&
50 make install
51 }
53 # Rules to gen a SliTaz package suitable for Tazpkg.
54 genpkg_rules()
55 {
56 mkdir -p $fs/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
58 cp -a $install/usr/bin $fs/usr
59 cp -a $install/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders/*.so \
60 $fs/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders
61 [ -d "$install/usr/lib/girepository-1.0" ] &&
62 cp -a $install/usr/lib/girepository-1.0 $fs/usr/lib
63 cp -a $install/usr/lib/*.so* $fs/usr/lib
64 touch $fs/usr/lib/gdk-pixbuf-2.0/2.10.0/loaders.cache
65 }
67 # Pre and post install commands for Tazpkg.
68 post_install()
69 {
70 # Updating gdk pixbuf loaders cache file...
71 chroot "$1/" /usr/bin/gdk-pixbuf-query-loaders --update-cache
72 }