aboutsummaryrefslogtreecommitdiffstats
path: root/testing/eolie/APKBUILD
blob: d674e6afd23c512f4c81bd80b1a7acd760cbeb47 (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# Contributor: Daniele Debernardi <drebrez@gmail.com>
# Maintainer: Daniele Debernardi <drebrez@gmail.com>
pkgname=eolie
pkgver=0.9.101
pkgrel=4
_translations=d5aac9503b4af24e3df89f531305cf9a70e26549
pkgdesc="Web browser for GNOME"
url="https://gitlab.gnome.org/World/eolie"
arch="noarch !riscv64 !s390x" # blocked by libhandy1/gnome-settings-daemon
license="GPL-3.0-or-later"
depends="
	gnome-settings-daemon
	gtkspell3
	libhandy1
	py3-cairo
	py3-gobject3
	python3
	webkit2gtk
	"
makedepends="
	glib-dev
	gobject-introspection-dev
	gtk+3.0-dev
	meson
	"
checkdepends="desktop-file-utils appstream-glib"
subpackages="$pkgname-lang"
source="https://gitlab.gnome.org/World/eolie/-/archive/$pkgver/eolie-$pkgver.tar.gz
	https://gitlab.gnome.org/gnumdk/eolie-po/-/archive/$_translations/eolie-po-$_translations.tar.gz
	"

prepare() {
	default_prepare
	mv "$srcdir"/eolie-po-$_translations/* "$builddir"/subprojects/po
}

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

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

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

sha512sums="
7c17020cb67fa2a0782669c39fc39f9e11e74023029a945ab61808fd426235f897846a6becbd3cf75d2ff042ec945cd65284548ef39d0d24e0f306efab7850b2  eolie-0.9.101.tar.gz
180107420ecb076a47f7ab6024ffdfa743a8712b7711e20c1b8befe36cc8373172902f14d00e870b05bbe5882177a0bdb81274c7fb6b49d65c7a2b1a3f8b46c8  eolie-po-d5aac9503b4af24e3df89f531305cf9a70e26549.tar.gz
"