# Maintainer: Rasmus Thomsen pkgname=rhythmbox pkgver=3.4.6 pkgrel=0 pkgdesc="GNOME audio player" url="https://wiki.gnome.org/Apps/Rhythmbox" # s390x and riscv64 blocked by gnome-desktop -> gtk4 arch="all !riscv64 !s390x" license="GPL-2.0-or-later" depends_dev="gnome-desktop-dev libpeas-dev" makedepends=" $depends_dev appstream-glib desktop-file-utils docbook-xml docbook-xsl gmime-dev grilo-dev gst-plugins-base-dev gstreamer-dev itstool json-glib-dev libmtp-dev libnotify-dev libsecret-dev libsoup-dev libxml2-utils libxslt meson py3-gobject3-dev tdb-dev totem-pl-parser-dev " subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-python" source="https://download.gnome.org/sources/rhythmbox/${pkgver%.*}/rhythmbox-$pkgver.tar.xz" build() { abuild-meson \ -Db_lto=true \ . output meson compile -C output } check() { meson test --no-rebuild --print-errorlogs -C output } package() { DESTDIR="$pkgdir" meson install --no-rebuild -C output } python() { pkgdesc="$pkgdesc (python plugin support)" depends="py3-gobject3 libpeas-python3 python3" mkdir -p "$subpkgdir" } sha512sums=" d48818a6f299b3da8ae78bf13e41d702244d83a473586008b53f9c4cc504495ac2570c520c65efaf9e75408363b0256121d12680940c673d2977c7d177ef1fb3 rhythmbox-3.4.6.tar.xz "