smlinux/extra/gthumb/gthumb.SMBuild

31 lines
753 B
Text
Executable file

app=gthumb
version=3.8.3
build=1sml
homepage="https://wiki.gnome.org/Apps/Gthumb"
download="https://gitlab.gnome.org/GNOME/gthumb/-/archive/3.8.3/gthumb-3.8.3.tar.bz2"
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="
ed8be7421494b1cb1c4ae87d5703ef398e4c887f081a71a5a0dbb3ef4950784c334685a46f68650e4f4f665b3444104133b9b567d0a3842651ba62d27c6f8c2a gthumb-3.8.3.tar.lz
"