summaryrefslogtreecommitdiff
path: root/unmaintained/geary/APKBUILD
blob: b2683b5139a459cf0957912c5a799c1be5d3b0e9 (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
53
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=geary
pkgver=0.11.3
pkgrel=0
pkgdesc="A lightweight email program designed around conversations"
url="http://yorba.org/geary/"
arch="all !ppc64le !s390x"
license="LGPL-2.0-or-later"
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-compilation-with-valac-git-master.patch
	fix-build-with-new-vala.patch
	int-fixes.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

}

sha512sums="dee389384b6bab25f939f0f40525670c27e3687cdfdfbc0c5632ccb2e9e189be3902aedb4fb37affb67c8b149e40ff78e41efbf8a754d76dcd405c8295be0d4b  geary-0.11.3.tar.xz
6b04c90ed6fa25fdb2593c679606be573663f349591038e2313208c64c6dd4b572fe2ebc7fd9d5742e8833f607b993d45d247a64b13efc1bb2a37fca671ec488  fix-compilation-with-valac-git-master.patch
a5bbe5bd97f6d10d6444fe34e406e45e8500f5d039a913746978b678ae6fb351f76299121bc14d00a971c34066a2a7419444aed0c1da38ba13de882db1e1394a  fix-build-with-new-vala.patch
87dc83c44d41668ab51e7c12bf041cf915f8148f6831f59cf149dfd6b13ffb1c62bd1df6b7d00d20129efdd56244329f07cd05344fef78c7c29212aef3561fe1  int-fixes.patch"