# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-characters
pkgver=3.34.0
pkgrel=0
pkgdesc="A simple utility application to find and insert unusual characters"
url="https://wiki.gnome.org/Design/Apps/CharacterMap"
arch="all !s390x !mips !mips64" # gjs missing
license="BSD-3-Clause AND GPL-2.0-or-later"
makedepends="meson gjs-dev glib-dev pango-dev gtk+3.0-dev libunistring-dev"
options="!check" # no tests
subpackages="$pkgname-lang"
source="https://download.gnome.org/sources/gnome-characters/${pkgver%.*}/gnome-characters-$pkgver.tar.xz"

build() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="4dc2f0027c7079034d50c2743607391a0e529bcaf4f8fdd495b05aa776027609a43686f4621bcf30f09a29fa6f4d5fba6ed6166e51ab66f03dedf3032bc65632  gnome-characters-3.34.0.tar.xz"
