pkgname = "graphite2"
pkgver = "1.3.14"
pkgrel = 0
build_style = "cmake"
configure_args = ["-DGRAPHITE2_COMPARE_RENDERER=OFF"]
hostmakedepends = ["cmake", "ninja", "pkgconf", "python"]
pkgdesc = "Reimplementation of the SIL Graphite text processing engine"
maintainer = "q66 <<EMAIL>>"
license = "LGPL-2.1-or-later AND GPL-2.0-or-later"
url = "https://github.com/silnrsi/graphite"
source = f"{url}/releases/download/{pkgver}/{pkgname}-{pkgver}.tgz"
sha256 = "f99d1c13aa5fa296898a181dff9b82fb25f6cc0933dbaa7a475d8109bd54209d"

@subpackage("graphite2-devel")
def _devel(self):
    return self.default_devel()
