aboutsummaryrefslogtreecommitdiffstats
path: root/community/geary/APKBUILD
blob: 5ae9c14857d5b90caee51edba54d96439e9555ff (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
46
47
48
49
50
51
52
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=geary
pkgver=0.11.2
pkgrel=0
pkgdesc="A lightweight email program designed around conversations"
url="http://yorba.org/geary/"
arch="all"
license="LGPLv2+"
depends="hicolor-icon-theme gsettings-desktop-schemas"
depends_dev=""
makedepends="$depends_dev"
makedepends="$depends_dev cmake vala gtk+3.0-dev gmime-dev libgee-dev
	desktop-file-utils libunique3-dev libcanberra-dev libsecret-dev
	webkitgtk-dev libnotify-dev gobject-introspection-dev gtk-doc
	paxmark gcr-dev"

install=""
subpackages="$pkgname-lang"
source="https://download.gnome.org/sources/geary/${pkgver%.*}/geary-$pkgver.tar.xz
	fix-compiler-warnings.patch"

builddir="$srcdir"/geary-$pkgver

build() {
	cd "$builddir"
	mkdir build && cd build
	cmake .. \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_BUILD_TYPE=Release \
		-DGSETTINGS_COMPILE=OFF \
		-DGSETTINGS_COMPILE_IN_PLACE=OFF \
		-DICON_UPDATE=OFF \
		-DDESKTOP_UPDATE=OFF \
		|| return 1
	make || return 1
}

package() {
	cd "$builddir"/build
	make DESTDIR="$pkgdir" install || return 1

	# webkit JIT has problems with hardened kernel
	paxmark -m "$pkgdir"/usr/bin/geary || return 1

}

md5sums="028591291715c80ac033808b73bff2e6  geary-0.11.2.tar.xz
2ed8bb57adfa5e2940206071458b74ee  fix-compiler-warnings.patch"
sha256sums="5c9e20ecd53672a42e22a436b9d3b6b9e9bf81ddf77163414a1c55986f9b4631  geary-0.11.2.tar.xz
8dec82733c51c53d0e8dcc1578930fbc1b39a16ea78b0c89debf83745b1f7711  fix-compiler-warnings.patch"
sha512sums="cbfb7461d3125c94e24a32c1cf6baad417d07ac274f1f1f1df4ef7f07b6c6b872a32a35e69bf33c6c6b8960ac4cf8135984ca33f4d4c8861e4c0a1f22525ba88  geary-0.11.2.tar.xz
807117393973160b28d67ced02b0a660d3fcb94c5fa85a130119e5584ade72b9624d0cdf73928bb26a724b39b5dd9bac7d4295de94153ccf38e94e3371dafec8  fix-compiler-warnings.patch"