# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=celluloid pkgver=0.18 pkgrel=1 pkgdesc="A simple GTK+ frontend for mpv (formerly gnome-mpv)" url="https://celluloid-player.github.io/" arch="all" license="GPL-3.0-or-later" depends="gsettings-desktop-schemas" makedepends="meson appstream-glib-dev glib-dev gtk+3.0-dev mpv-dev libepoxy-dev" checkdepends="desktop-file-utils" subpackages="$pkgname-doc $pkgname-lang" source="https://github.com/celluloid-player/celluloid/releases/download/v$pkgver/celluloid-$pkgver.tar.xz" build() { meson \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --buildtype=debugoptimized \ . output ninja -C output } check() { ninja -C output test } package() { DESTDIR="$pkgdir" ninja -C output install } sha512sums="22e04ee774ca1e3d9bdc966ce32ca4c6f00ac5731b4019a4e92552d74524f7a20d4dfcb94f1c043f906c0bbb121708b08d34b00bc8a914391f38eaf08c7e50c2 celluloid-0.18.tar.xz"