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
"