# Depends on: gobject-introspection jasper xorg-libxcomposite libtiff libpng libjpeg-turbo shared-mime-info

description="Toolkit for image loading and pixel buffer manipulation."
url="http://www.gtk.org/"
contributors="Greg, Pierre B, Jayce"
packager="tnut <tnut@nutyx.org>"

name=gdk-pixbuf
version=2.38.0

source=(http://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.xz)

build=meson

uptodate(){
local latest lastversion url
url="http://ftp.gnome.org/pub/gnome/sources/$name"
latest="`lynx -read_timeout=20 -dump -listonly -nonumbers \
$url/?C=N\;O=D|grep [0-9]/$|head -1`"
lastversion="`lynx -read_timeout=20 -dump -listonly -nonumbers \
$latest/?C=N\;O=D|grep LATEST|grep [0-9]$|cut -d "-" -f4`"
echo "$lastversion"
}
