aports/community/gnome-podcasts/APKBUILD
2025-05-11 11:15:32 +00:00

58 lines
1.3 KiB
Text

# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gnome-podcasts
pkgver=25.2
pkgrel=0
pkgdesc="Podcast app for GNOME"
url="https://apps.gnome.org/Podcasts"
# loongarch64: blocked by libc crate
arch="all !loongarch64"
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="net !check" # needs the thing to be installed first
subpackages="$pkgname-lang"
source="https://gitlab.gnome.org/World/podcasts/-/archive/$pkgver/podcasts-$pkgver.tar.gz"
builddir="$srcdir/podcasts-$pkgver"
prepare() {
default_prepare
sed 's| /bin/bash|/bin/sh|' -i scripts/test.sh
}
build() {
# required for 32-bit systems to not run out of memory
export CARGO_PROFILE_RELEASE_DEBUG=0
abuild-meson . output
meson compile -C output
}
check() {
xvfb-run meson test --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
b34040fc6b8dc4e6248bb39b243678d828037b21a6cda41878ccf3f676be4d1ae8ebcaeb8c280c2599e1bbcf44d2644e836fdd25d6d99610fa1610c4fef85ebe podcasts-25.2.tar.gz
"