aboutsummaryrefslogtreecommitdiffstats
path: root/community/midori/APKBUILD
blob: 773f19c51fa93da79b8eba42d283a467abb6d6c5 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=midori
pkgver=0.5.11
pkgrel=2
pkgdesc="A lightweight web browser based on Gtk WebKit"
url="http://www.midori-browser.org"
arch="all"
license="LGPL-2.0-or-later"
depends=
makedepends="cmake librsvg-dev paxmark python2 vala gtk+3.0-dev gcr-dev
	libunique-dev webkit2gtk-dev"
subpackages="$pkgname-lang $pkgname-doc"
install=""
options="!check" # unable to check
source="http://www.midori-browser.org/downloads/midori_${pkgver}_all_.tar.bz2
	valac-0.35.patch"

builddir="${srcdir}/$pkgname-${pkgver}"

build() {
	mkdir "$builddir"/build
	cd "$builddir"/build
	cmake \
		-DCMAKE_BUILD_TYPE=Release \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=/usr/lib \
		-DUSE_GTK3=ON \
		-DHALF_BRO_INCOM_WEBKIT2=ON \
		-DUSE_ZEITGEIST=OFF \
		..
	make
}

package() {
	cd "$builddir"/build
	make DESTDIR="$pkgdir" install
}

sha512sums="237310d1f0bf70796474b9ec5be6755927e66acd2b527d04db39696c5e2f7ea2d11f7deb51ba3f5c151a450ab71e642282a1386e34253aaea1d8602ce76ac87d  midori_0.5.11_all_.tar.bz2
2a788e543cfa2e72f223b356792b59ff64116c9ac9dc1273c2dab6a7fbaf5d31eaad6291359638c43f8fad05511f1c3934b681ca33dfc1e8e90c48f2f7cb277e  valac-0.35.patch"