maintainer="fossdd <fossdd@pwned.life>"
pkgname=gnome-mimeapps
pkgver=0.1
pkgrel=0
pkgdesc="Default MIME associations for GNOME"
url="https://gitlab.gnome.org/heftig/gnome-mimeapps"
arch="noarch !armhf !s390x" # not all apps supported, for testing/ this is fine
license="GPL-2.0-or-later"
makedepends="
	evolution
	file-roller
	gnome-apps-core
	gnome-dev-tools
	gthumb
	meld
	meson
	papers
	python3
	seahorse
	"
source="https://gitlab.gnome.org/heftig/gnome-mimeapps/-/archive/$pkgver/gnome-mimeapps-$pkgver.tar.gz"
options="!check" # no tests

build() {
	abuild-meson \
		output .
	meson compile -C output
}

check() {
	meson test --print-errorlogs -C output
}

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

sha512sums="
0fc07402ad9ec7fbf73b7886fa47c55d6021c91d3b33196cc84b304d468aacb51dbddea4f42ae61fec556dcb3dbec9518fa0d243e069a075961800c015cf01fd  gnome-mimeapps-0.1.tar.gz
"
