#!/bin/sh
#
# Copyright 2026  Sasa Ostrouska <saxa@droplinegnome.org>
# Available under the terms of the GNU GPL.
#

NAME="glycin-gtk4"
VERSION="2.1.5"
REVISION="1"

PKG_SOURCEURL='${DLG_GNOMEMIRROR}/glycin/${VER_MAJ}.${VER_MIN}/glycin-${VERSION}.tar.xz'

. $DLG_ROOT/etc/config
. $DLG_ROOT/lib/dl-base

cflags
cxxflags
prepare
analyzesource
configure -Dglycin-loaders=false \
	-Dglycin-thumbnailer=false \
	-Dbuildtype=release \
	-Dlibglycin=false \
	-Dlibglycin-gtk4=true \
	-Dtests=false 
make
makeinstall
tidydocumentation
analyzebinaries
finalizepackage
packagize
cleanup
