summaryrefslogtreecommitdiff
path: root/testing/read-it-later/APKBUILD
blob: c3c01524ab0da21784e1f3ca40f04088f3c9c6c1 (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
# Contributor: Alistair Francis <alistair@alistair23.me>
# Maintainer: Alistair Francis <alistair@alistair23.me>
pkgname=read-it-later
pkgver=0.0.2
pkgrel=2
pkgdesc="Wallabag Client built with GTK"
url="https://gitlab.gnome.org/World/read-it-later"
arch="all !s390x !riscv64" # cargo, rust not found
license="GPL-3.0-only"
makedepends="meson bash rust cargo webkit2gtk-dev libhandy1-dev sqlite-dev
	gettext-dev openssl-dev>3"
source="read-it-later-692cf638e1284bcf31031421e6951c767bed6139.tar.gz::https://gitlab.gnome.org/World/read-it-later/-/archive/692cf638e1284bcf31031421e6951c767bed6139/read-it-later-692cf638e1284bcf31031421e6951c767bed6139.tar.gz
	0001-Cargo-Update-the-glib-dependencies.patch
	0002-Cargo-Update-most-remainig-dependencies.patch
	0003-gitlab-ci.yml-Update-the-containers.patch
	0004-Cargo.toml-Update-isahc.patch
	"
builddir="$srcdir/read-it-later-692cf638e1284bcf31031421e6951c767bed6139"
options="!check" # no tests

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="
8c0b6a608230feb57612b06ea993f0f03d25ba90959376cfd80709190e4939c88edeadd3071a70006ad84879604682ac47f87e3e72cbb5a300d0f505084bf37e  read-it-later-692cf638e1284bcf31031421e6951c767bed6139.tar.gz
12e26a50f155e13e8704b1eb5a7858baf2fe54e59374518f77225172694b40c716801e4bc868c4af03feb71acd85ee34e8ad0e5497c69360943618abb18f823e  0001-Cargo-Update-the-glib-dependencies.patch
c74dcbb4413b30c336d8b421f1d82a4516409e76c936b126491418914cdf287d91ba80557799c86e7c874ef74538011416e5aefa5bcf73d4946dcae58b2f3f7a  0002-Cargo-Update-most-remainig-dependencies.patch
7d1327995d9c4e8eb9b0774ea3d54c338bb16ec0fd3f9724655e54f28ac38c9e6623661ff9313bdb4e3aab3131d6a384f6c60c7499a3e3891b57a13e9750ac3f  0003-gitlab-ci.yml-Update-the-containers.patch
0638d8270b3666fdb149ef0e4c6e23dc33e48bad2b2294d2484240560933560e9500c34ddba44b7f4972062d0c0e618149d448e4bb0c83dd17220a1e3f0d8d41  0004-Cargo.toml-Update-isahc.patch
"