# Contributor: Rasmus Thomsen # Maintainer: Rasmus Thomsen pkgname=gnome-podcasts pkgver=0.6.0 pkgrel=0 pkgdesc="Podcast app for GNOME" url="https://wiki.gnome.org/Apps/Podcasts" # armv7 blocked by failing test arch="all !armv7" license="GPL-3.0-or-later" depends="gst-plugins-good" makedepends=" bash cargo dbus-dev desktop-file-utils gst-plugins-bad-dev gst-plugins-base-dev gstreamer-dev gtk4.0-dev libadwaita-dev meson openssl-dev>3 sqlite-dev " checkdepends=" appstream-glib xvfb-run " options="!check" # needs the thing to be installed first subpackages="$pkgname-lang" source="https://gitlab.gnome.org/World/podcasts/uploads/0678c74c76a4012168f445c3199ef80a/gnome-podcasts-$pkgver.tar.xz " prepare() { default_prepare sed 's| /usr/bin/sh|/bin/sh|' -i scripts/test.sh } build() { abuild-meson . output meson compile -C output } check() { xvfb-run meson test --no-rebuild --print-errorlogs -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output } sha512sums=" b6df819397b3141914954aa2890a61bb2fc9aed9532d286b642126dc1031519ea424d208e6ec9a756b51495178ebfc689477654eba76f3657b2c0260fd740ba8 gnome-podcasts-0.6.0.tar.xz "