summaryrefslogtreecommitdiff
path: root/user/libgda/APKBUILD
blob: e585373cb399647073ca0faae7056c3f253d2323 (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
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libgda
pkgver=5.2.8
pkgrel=0
pkgdesc="GNOME Database Access library"
url="http://www.gnome-db.org/"
arch="all"
options="!check"  # "Disk I/O error" in multi-threaded. all others pass
license="GPL-2.0+ AND LGPL-2.0+"
depends="iso-codes"
makedepends="db-dev glib-dev gobject-introspection-dev graphviz-dev gtk+3.0-dev
	gtksourceview-3.0-dev intltool iso-codes-dev itstool libgcrypt-dev
	libgee-dev libsoup-dev libxml2-dev libxml2-utils libxslt-dev
	postgresql-dev sqlite-dev vala-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-libs"
source="https://ftp.gnome.org/pub/GNOME/sources/libgda/5.2/libgda-$pkgver.tar.xz
	cs.patch
	"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--enable-ui \
		--enable-vala
	make
}

check() {
	cd "$builddir"
	make check
}

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

sha512sums="6512d08df072dfc10837b71b2369ab538fa8bf0cdac51ecbb738a138f5b765f030fc7a88b14232eaab2724af8e749898da146bb63969983d3bcfeb11bc22aece  libgda-5.2.8.tar.xz
911383ba387ecfd2c53bee777aa540f8490c52fdd82e20d23b7f61e5d8591643be9d2c50d4d45183d96b2a44d2e800ceb788bf7e871ade3a9166584c86af9be5  cs.patch"