aboutsummaryrefslogtreecommitdiffstats
path: root/testing/efl/APKBUILD
blob: 44966f2b36b378caa0f6e1d0d453ae916921ca01 (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
# Contributor: Boris Faure <boris@fau.re>
# Maintainer: Boris Faure <boris@fau.re>
pkgname=efl
pkgver=1.21.1
pkgrel=0
pkgdesc="Enlightenment Foundation Libraries"
url="https://www.enlightenment.org"
arch="all !s390x" #luajit not available
license="BSD-2 GPL-2 LGPL-2.1 ZLIB"
depends="dbus fontconfig freetype fribidi giflib gstreamer gst-plugins-base \
	libpng libjpeg-turbo libx11 libxcomposite libxcursor libxdamage \
	libxinerama libxrandr libxtst libxscrnsaver luajit openssl"
depends_dev="fontconfig-dev freetype-dev fribidi-dev giflib-dev gstreamer-dev \
	gst-plugins-base-dev libpng-dev libjpeg-turbo-dev libx11-dev \
	libxcomposite-dev libxcursor-dev libxdamage-dev libxinerama-dev \
	libxrandr-dev libxtst-dev libxscrnsaver-dev xorgproto luajit-dev"
makedepends="$depends_dev dbus-dev openssl-dev"
options="!check" # Test suite issues
subpackages="$pkgname-dev"
source="https://download.enlightenment.org/rel/libs/$pkgname/$pkgname-$pkgver.tar.xz"
builddir="$srcdir/$pkgname-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--enable-image-loader-png \
		--disable-audio \
		--disable-avahi \
		--disable-cserve \
		--disable-cocoa \
		--disable-doc \
		--disable-eglfs \
		--disable-elua \
		--disable-glib \
		--disable-gesture \
		--disable-gstreamer \
		--disable-image-loader-tiff \
		--disable-image-loader-tgv \
		--disable-libeeze \
		--disable-libmount \
		--disable-libraw \
		--disable-librsvg \
		--disable-libvlc \
		--disable-nls \
		--disable-neon \
		--disable-physics \
		--disable-poppler \
		--disable-pulseaudio \
		--disable-spectre \
		--disable-systemd \
		--disable-tslib \
		--with-dbus-services= \
		--with-glib=no \
		--with-js=none \
		--with-opengl=none \
		--with-x \
		--with-x11=xlib
	make
}

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

sha512sums="1e26a57fca84ec85e45d707ee57abc50bd18edfa82e478e586300b6ad5ab8b9103a54a656902d29d80425988a6116a40aa01758fb8dd581dd48334ca0f4d5a63  efl-1.21.1.tar.xz"