smlinux/extra/gthumb/gthumb.SMBuild

31 lines
750 B
Text
Executable file

app=gthumb
version=3.11.2
build=1sml
homepage="https://wiki.gnome.org/Apps/Gthumb"
download="https://download.gnome.org/sources/gthumb/3.11/gthumb-$version.tar.xz"
desc="An image viewer and browser"
requires="exiv2 json-glib librsvg libsecret libsoup libwebp dconf gtk2 gsettings-desktop-schemas "
build() {
mkandenterbuilddir
rm -rf $app-$version
tar xf $srcdir/$app-$version.tar.?z*
cd $app-$version
fixbuilddirpermissions
mkdir smbuild && cd smbuild
meson .. \
--prefix="/"
ninja
DESTDIR="$pkg" ninja install
cp ../COPYING $pkgdocs
mkfinalpkg
}
sha512sums="
af2a21cb4f11c8aafa5e87057b8e96f6dfd95149741401c9a61ff7f94a6f4c9a454c6a7800bf6a8052e4c9ff57adfcfe6355a388ce7743b44e917d8559307daf gthumb-3.11.2.tar.lz
"