blob: 33c7d025c757f0dd2a55b8c6e4f0de8ed342ebf8 (
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
|
# Maintainer: txtsd <aur.archlinux@ihavea.quest>
pkgname=android_translation_layer
_pkgname=${pkgname//-/_}
pkgver=r656.ab114245
pkgrel=1
_commit=ab114245bd93706d219ad38658c76abf9451791b
pkgdesc='A translation layer for running Android apps on a Linux system'
url='https://gitlab.com/android_translation_layer/android_translation_layer'
arch=(x86_64 aarch64 armv7h)
license=('GPL-3.0-or-later')
# libopensles-standalone is not strictly required but some Android applications depend on it
depends=(
alsa-lib
art_standalone
bionic_translation
cairo
ffmpeg
gcc-libs
gdk-pixbuf2
glib2
glibc
graphene
gtk4
harfbuzz
libdrm
libglvnd
libgudev
libopensles-standalone
libportal
libsoup3
pango
skia-sharp-atl
sqlite
vulkan-icd-loader
wayland
webkitgtk-6.0
)
makedepends=(
glib2-devel
java-runtime-common
jdk8-openjdk
meson
openxr
vulkan-headers
wayland-protocols
)
source=("${pkgname}-${_commit}.tar.gz::${url}/-/archive/${_commit}/${pkgname}-${_commit}.tar.gz")
sha256sums=('8130bbee19d995af39845430f3ec8571abe42eb8186b82fbb8d0edda6d63413a')
prepare() {
meson subprojects download --sourcedir="${pkgname}-${_commit}"
}
build() {
arch-meson "${pkgname}-${_commit}" build
meson compile -C build
}
check() {
meson test --no-rebuild --print-errorlogs -C build
}
package() {
depends+=(java-runtime)
meson install --no-rebuild -C build --destdir "${pkgdir}"
}
|