# Template file for 'celluloid'
pkgname=celluloid
version=0.30
revision=1
build_style=meson
hostmakedepends="gettext glib-devel pkg-config"
makedepends="gtk4-devel libadwaita-devel libepoxy-devel libglib-devel
 mpv-devel"
short_desc="Simple GTK+ frontend for mpv"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="https://celluloid-player.github.io/"
distfiles="https://github.com/celluloid-player/celluloid/releases/download/v${version}/celluloid-${version}.tar.xz"
checksum=7fef96431842c24e5ae78a9c42bc6523818a6c45213f23ceb146d037d6ec8559
replaces="gnome-mpv>=0"

gnome-mpv_package() {
	depends="${sourcepkg}>=${version}_${revision}"
	metapackage=yes
	short_desc+=" (transitional dummy package)"
}
