aboutsummaryrefslogtreecommitdiffstats
path: root/testing/evas/APKBUILD
blob: 12e8d8715617aa4622196a5ba84da59b1faecfc0 (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.8
pkgrel=1
pkgdesc="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="ca6a5a28f0fc5b0eac36210d4df139fb  evas-1.7.8.tar.gz
ba33f6c8f3bfacea79532c706a7a6b63  fribidi-cflags.patch"
sha256sums="048f16454c2601851e9b17591579f60e25727c09beadaf3567fa443dfbaed0da  evas-1.7.8.tar.gz
1b911f25b6a7911e1fa1c93d249f0f592b7bab187d1ceaf92915fb64dbe3288b  fribidi-cflags.patch"
sha512sums="79b1cf51867fb4c1edae19bf3cdca6f88fbbe6d3895cc6121add17581eac7e07e68a813bfd1d691df9d132a8d84ce176b1021165825dd487bd0eccd86c0e257f  evas-1.7.8.tar.gz
06f8e3ecd81a85c698b6c5c2bc8351d34f3f12ab5ac917d82846708143766d66b98c1fd9d4e267460ca8a534009aee6b49e95363ed60db79e2e9d3110c142f1a  fribidi-cflags.patch"