blob: 9acd8fbdabd0a2aeb968b9b8e3edc2f423a09336 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-podcasts
pkgver=0.5.1
pkgrel=1
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
gst-plugins-bad-dev
gst-plugins-base-dev
gstreamer-dev
gtk+3.0-dev
libhandy1-dev
meson
openssl-dev>3
sqlite-dev
"
checkdepends="
appstream-glib
desktop-file-utils
xvfb-run
"
options="!check" # needs the thing to be installed first
subpackages="$pkgname-lang"
source="https://gitlab.gnome.org/World/podcasts/uploads/de438a4d62196bddd134bb155a812fe1/gnome-podcasts-$pkgver.tar.xz
meson-0.60.patch
"
prepare() {
default_prepare
sed 's| /usr/bin/sh|/bin/sh|' -i scripts/test.sh
}
build() {
abuild-meson . output
meson compile ${JOBS:+-j ${JOBS}} -C output
}
check() {
xvfb-run meson test --no-rebuild -v -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
7b50112fc1f7bbbec1b916ba4490738752af603d5ddf3e0621dc18b6bacb488ba557e895529b940b9e039870aa5577550cf807c40011187d7d41c326a46d2803 gnome-podcasts-0.5.1.tar.xz
4c75425d626de3a35616b6a9e89538b5d89dc920bc94b5cf73c62ae8985e67159778069fa2e3363ea3a5ae3e423cc8df274d09361c6bcaa3ea678f1345faae65 meson-0.60.patch
"
|