aboutsummaryrefslogtreecommitdiffstats
path: root/testing/emotion/APKBUILD
blob: 96c895bce86da2dd0c66454c4fc655b6d39f60f3 (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
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=emotion
pkgver=1.7.8
pkgrel=0
pkgdesc="Emotion, video and audio codec API"
url="http://trac.enlightenment.org/e/wiki/Emotion"
arch="all"
license="BSD"
depends=
depends_dev="ecore-dev evas-dev eet-dev eina-dev edje-dev eio-dev"
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev"
source="http://download.enlightenment.org/releases/emotion-$pkgver.tar.gz"

_builddir="$srcdir"/emotion-$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
}

build() {
	cd "$_builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	find "$pkgdir"/usr/lib/ -name '*.la' -delete
}

md5sums="e04679ac7967e698c8c4013b9fd209a1  emotion-1.7.8.tar.gz"
sha256sums="54c96192cb46f5dce851934adb1633b45e5b007ad3cd05495102eeb255bced31  emotion-1.7.8.tar.gz"
sha512sums="b329ae2a9a96cdcc0a9d53e12766d06ef2746917f7a444263d14642be4d3cae4b7cdffedcd329efc92158a148a466764b9429a870dcd84aac1ce7304b8c4bc95  emotion-1.7.8.tar.gz"