summaryrefslogtreecommitdiff
path: root/community/cog/APKBUILD
blob: 2a52ede4bdea2f9c851b6ffbe3ba178d3f016e1a (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
# Contributor: David Demelier <markand@malikania.fr>
# Maintainer: David Demelier <markand@malikania.fr>
pkgname=cog
pkgver=0.18.3
pkgrel=0
pkgdesc="simple browser for WebKit WPE"
url="https://github.com/Igalia/cog"
arch="all"
license="MIT"
makedepends="
	cairo-dev
	coreutils
	eudev-dev
	libepoxy-dev
	libinput-dev
	libmanette-dev
	libsoup3-dev
	libwpebackend-fdo-dev
	mesa-dev
	meson
	wayland-dev
	wayland-protocols
	weston-dev
	wpewebkit-dev
	"
subpackages="$pkgname-dev $pkgname-doc"
source="https://github.com/Igalia/cog/releases/download/$pkgver/cog-$pkgver.tar.xz"
options="!check" # no tests

build() {
	abuild-meson \
		-Db_lto=true \
		-Dwayland_weston_direct_display=true \
		. output

	meson compile -C output
}

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

sha512sums="
3dd5c08e84cedf7af15ed42f8d76aa28132f616aa9692760d7b3d04fdb12d57a66ee9f46ab6d7f02290ba9da37c07b8f6fbf90d03b09836adb8691289a614651  cog-0.18.3.tar.xz
"