aboutsummaryrefslogtreecommitdiffstats
path: root/testing/evas/APKBUILD
blob: bc1d48e2909051cbc3e33cd2b3dd8fa4b75356ae (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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=evas
pkgver=1.7.9
pkgrel=0
pkgdesc="A hardware-accelerated retained canvas API"
url="http://trac.enlightenment.org/e/wiki/Evas"
arch="all"
license="BSD"
depends=""
depends_dev="
	eet-dev
	eina-dev
	fontconfig-dev
	freetype-dev
	fribidi-dev
	harfbuzz-dev
	"
makedepends="$depends_dev
	automake autoconf libtool
	giflib-dev
	libice-dev
	libjpeg-turbo-dev
	libpng-dev
	librsvg-dev
	librsvg-dev
	libx11-dev
	libxcb-dev
	libxrender-dev
	mesa-dev
	sdl-dev
	tiff-dev
	xcb-util-image-dev
	"

install=""
subpackages="$pkgname-dev"
source="http://download.enlightenment.org/releases/evas-$pkgver.tar.gz
	fribidi-cflags.patch
	"

_builddir="$srcdir"/evas-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
	libtoolize --force && aclocal && autoconf \
		&& automake --add-missing --force || return 1
}

build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--enable-gl-xlib \
		--enable-software-16-x11 \
		--enable-software-xcb \
		--enable-pthreads \
		--enable-async-events \
		--enable-async-preload \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	find "$pkgdir" -name *.la -print | xargs rm
}

md5sums="c96a23ede14cd0adb7e8e549e8acdee1  evas-1.7.9.tar.gz
ba33f6c8f3bfacea79532c706a7a6b63  fribidi-cflags.patch"
sha256sums="1fd687e43ebe3031be4ac7628043eae1aafca83ce6d1d1f06ff3b59fb4c027f0  evas-1.7.9.tar.gz
1b911f25b6a7911e1fa1c93d249f0f592b7bab187d1ceaf92915fb64dbe3288b  fribidi-cflags.patch"
sha512sums="b92954926932a610fc0c48eff0c218495afad7e811f502b1b535e6f544741423e490f3a60f3c8a529fc92b113465749d08885854680df5dd6242f8b3095f5b20  evas-1.7.9.tar.gz
06f8e3ecd81a85c698b6c5c2bc8351d34f3f12ab5ac917d82846708143766d66b98c1fd9d4e267460ca8a534009aee6b49e95363ed60db79e2e9d3110c142f1a  fribidi-cflags.patch"