aboutsummaryrefslogtreecommitdiffstats
path: root/testing/gnome-feeds/APKBUILD
blob: c20ba43a89d31f64bf4f00444744ac6d5a758b0f (plain) (blame)
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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-feeds
pkgver=0.12
pkgrel=1
pkgdesc="An RSS/Atom feed reader for GNOME"
url="https://gitlab.gnome.org/World/gfeeds"
arch="noarch"
license="GPL-3.0-or-later"
depends="py3-html5lib webkit2gtk py3-lxml py3-requests py3-feedparser gtk+3.0
	py3-beautifulsoup4 py3-listparser py3-tz"
makedepends="meson gettext glib-dev gobject-introspection-dev gtk+3.0-dev"
subpackages="$pkgname-lang"
source="https://gitlab.gnome.org/World/gfeeds/-/archive/$pkgver/gfeeds-$pkgver.tar.gz
	dont-require-py3-gettext.patch"
builddir="$srcdir/gfeeds-$pkgver"

build() {
	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=plain \
		. output
	ninja -C output
}

check() {
	ninja -C output test
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="49369333eabd274192296f0830e51de07051ed095c9d14be75d2e8980bdd6ccf62d4d6d992487809bd41bf1648997c8d4e4462efbd6a5a2c650fee48bbad4f9b  gfeeds-0.12.tar.gz
ac1d2f0293693a25d57a5b5517a971e9c8865885618d937f77bdd4d4ea0b2e1033b7df00f78b5e3c9c8414fb9c1e90df81d45b59f9b327a63466e2ebf317603f  dont-require-py3-gettext.patch"