Skip to content

Commit

Permalink
feat(android_translation_layer-git)
Browse files Browse the repository at this point in the history
  • Loading branch information
xiota committed Dec 11, 2024
1 parent 8344c48 commit fd2f533
Show file tree
Hide file tree
Showing 6 changed files with 121 additions and 0 deletions.
4 changes: 4 additions & 0 deletions android_translation_layer-git/.CI/PKGBUILD.append
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
${depends//art_standalone*/art_standalone-git}
${depends//bionic_translation*/bionic_translation-git}
${depends//libopensles-standalone*/libopensles-standalone-git}
${depends//skia-sharp-atl*/skia-sharp-atl-git}
1 change: 1 addition & 0 deletions android_translation_layer-git/.CI/config
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
CI_PKGBUILD_SOURCE=aur
2 changes: 2 additions & 0 deletions android_translation_layer-git/.CI/info
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
REQ_ORIGIN=github/3398
REQ_REASON=request
42 changes: 42 additions & 0 deletions android_translation_layer-git/.SRCINFO
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
pkgbase = android_translation_layer-git
pkgdesc = A translation layer for running Android apps on a Linux system
pkgver = r639.9b6c8db
pkgrel = 1
url = https://gitlab.com/android_translation_layer/android_translation_layer
arch = x86_64
arch = aarch64
arch = armv7h
license = GPL-3.0-or-later
makedepends = git
makedepends = glib2-devel
makedepends = java-runtime-common
makedepends = jdk8-openjdk
makedepends = meson
makedepends = openxr
makedepends = vulkan-headers
makedepends = wayland-protocols
depends = alsa-lib
depends = art_standalone
depends = bionic_translation
depends = ffmpeg
depends = gdk-pixbuf2
depends = glib2
depends = glibc
depends = graphene
depends = gtk4
depends = java-runtime
depends = libglvnd
depends = libgudev
depends = libopensles-standalone
depends = libportal
depends = pango
depends = skia-sharp-atl
depends = sqlite
depends = vulkan-icd-loader
depends = webkitgtk-6.0
provides = android_translation_layer
conflicts = android_translation_layer
source = git+https://gitlab.com/android_translation_layer/android_translation_layer.git
sha256sums = SKIP

pkgname = android_translation_layer-git
2 changes: 2 additions & 0 deletions android_translation_layer-git/.nvchecker.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[android_translation_layer-git]
source = "manual"
70 changes: 70 additions & 0 deletions android_translation_layer-git/PKGBUILD
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
# Maintainer: txtsd <[email protected]>

pkgname=android_translation_layer-git
_pkgname="${pkgname%-git}"
_pkgname="${_pkgname//-/_}"
pkgver=r639.9b6c8db
pkgrel=1
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
ffmpeg
gdk-pixbuf2
glib2
glibc
graphene
gtk4
java-runtime
libglvnd
libgudev
libopensles-standalone
libportal
pango
skia-sharp-atl
sqlite
vulkan-icd-loader
webkitgtk-6.0
)
makedepends=(
git
glib2-devel
java-runtime-common
jdk8-openjdk
meson
openxr
vulkan-headers
wayland-protocols
)
provides=("${_pkgname}")
conflicts=("${_pkgname}")
source=("git+${url}.git")
sha256sums=('SKIP')

pkgver() {
cd "${_pkgname}"

printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

prepare() {
meson subprojects download --sourcedir="${_pkgname}"
}

build() {
arch-meson "${_pkgname}" build
meson compile -C build
}

check() {
meson test --no-rebuild --print-errorlogs -C build
}

package() {
meson install --no-rebuild -C build --destdir "${pkgdir}"
}

0 comments on commit fd2f533

Please sign in to comment.