aboutsummaryrefslogtreecommitdiffstats
path: root/community/gnome-feeds/APKBUILD
blob: a183aa1d8916061e80ce3c066dff18b27fa8ddb9 (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
# Contributor: Rasmus Thomsen <oss@cogitri.dev>
# Maintainer: Rasmus Thomsen <oss@cogitri.dev>
pkgname=gnome-feeds
pkgver=0.16.2
pkgrel=0
pkgdesc="RSS/Atom feed reader for GNOME"
url="https://gitlab.gnome.org/World/gfeeds"
arch="noarch !mips !mips64" # webkit2gtk
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 py3-readability py3-pygments
	py3-gobject3 py3-dateutil py3-pillow"
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"
builddir="$srcdir/gfeeds-$pkgver"

build() {
	abuild-meson . output
	meson compile ${JOBS:+-j ${JOBS}} -C output
}

check() {
	meson test --no-rebuild -v -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="a92e4102506c4e6c2c61ffd32805a173c03a142664a9a6af53ae2cfaae2e36c32a1c8d4e35f8455a950401ae2702a48641e47b90e5bc957fc457388af533a8c6  gfeeds-0.16.2.tar.gz"