From 8344c486afd8b73a151418ee30b38554e86b8625 Mon Sep 17 00:00:00 2001 From: xiota Date: Wed, 11 Dec 2024 20:11:29 +0000 Subject: [PATCH] feat(art_standalone-git) --- .ci/aur-state | 2 +- art_standalone-git/.CI/PKGBUILD.append | 1 + art_standalone-git/.CI/config | 1 + art_standalone-git/.CI/info | 2 + art_standalone-git/.SRCINFO | 50 ++++++++++++++++++++ art_standalone-git/.nvchecker.toml | 2 + art_standalone-git/PKGBUILD | 63 ++++++++++++++++++++++++++ 7 files changed, 120 insertions(+), 1 deletion(-) create mode 100644 art_standalone-git/.CI/PKGBUILD.append create mode 100644 art_standalone-git/.CI/config create mode 100644 art_standalone-git/.CI/info create mode 100644 art_standalone-git/.SRCINFO create mode 100644 art_standalone-git/.nvchecker.toml create mode 100644 art_standalone-git/PKGBUILD diff --git a/.ci/aur-state b/.ci/aur-state index 043cdd6b9..d8eee2657 100644 --- a/.ci/aur-state +++ b/.ci/aur-state @@ -1 +1 @@ -1733916643 +1733923853 diff --git a/art_standalone-git/.CI/PKGBUILD.append b/art_standalone-git/.CI/PKGBUILD.append new file mode 100644 index 000000000..031785d87 --- /dev/null +++ b/art_standalone-git/.CI/PKGBUILD.append @@ -0,0 +1 @@ +depends=(${depends//bionic_translation*/bionic_translation-git}) diff --git a/art_standalone-git/.CI/config b/art_standalone-git/.CI/config new file mode 100644 index 000000000..66bee9477 --- /dev/null +++ b/art_standalone-git/.CI/config @@ -0,0 +1 @@ +CI_PKGBUILD_SOURCE=aur diff --git a/art_standalone-git/.CI/info b/art_standalone-git/.CI/info new file mode 100644 index 000000000..bc7e1c69f --- /dev/null +++ b/art_standalone-git/.CI/info @@ -0,0 +1,2 @@ +REQ_ORIGIN=github/3398 +REQ_REASON=depends # android_translation_layer-git diff --git a/art_standalone-git/.SRCINFO b/art_standalone-git/.SRCINFO new file mode 100644 index 000000000..891ff7c8f --- /dev/null +++ b/art_standalone-git/.SRCINFO @@ -0,0 +1,50 @@ +pkgbase = art_standalone-git + pkgdesc = A standalone version of Dalvik with Art built in + pkgver = r167.57f9bbd9 + pkgrel = 3 + url = https://gitlab.com/android_translation_layer/art_standalone + arch = x86_64 + arch = aarch64 + arch = armv7h + license = Apache-2.0 + makedepends = bsd-compat-headers + makedepends = git + makedepends = jdk8-openjdk + makedepends = libcap + makedepends = meson + makedepends = python + makedepends = valgrind + makedepends = zip + depends = bash + depends = bionic_translation + depends = expat + depends = gcc-libs + depends = glibc + depends = icu + depends = libbsd + depends = libunwind + depends = lz4 + depends = openssl + depends = wolfssl-jni + depends = xz + depends = zlib + provides = art_standalone + conflicts = art_standalone + source = git+https://gitlab.com/android_translation_layer/art_standalone.git/ + sha256sums = SKIP + +pkgname = art_standalone-git + depends = bash + depends = bionic_translation + depends = expat + depends = gcc-libs + depends = glibc + depends = icu + depends = libbsd + depends = libunwind + depends = lz4 + depends = openssl + depends = wolfssl-jni + depends = xz + depends = zlib + depends = java-runtime diff --git a/art_standalone-git/.nvchecker.toml b/art_standalone-git/.nvchecker.toml new file mode 100644 index 000000000..cf031b670 --- /dev/null +++ b/art_standalone-git/.nvchecker.toml @@ -0,0 +1,2 @@ +[art_standalone-git] +source = "manual" diff --git a/art_standalone-git/PKGBUILD b/art_standalone-git/PKGBUILD new file mode 100644 index 000000000..e7fbb2fd2 --- /dev/null +++ b/art_standalone-git/PKGBUILD @@ -0,0 +1,63 @@ +# Maintainer: txtsd + +pkgname=art_standalone-git +_pkgname="${pkgname%-git}" +pkgver=r167.57f9bbd9 +pkgrel=3 +pkgdesc='A standalone version of Dalvik with Art built in' +url='https://gitlab.com/android_translation_layer/art_standalone' +arch=(x86_64 aarch64 armv7h) +license=('Apache-2.0') +depends=( + bash + bionic_translation + expat + gcc-libs + glibc + icu + libbsd + libunwind + lz4 + openssl + wolfssl-jni + xz + zlib +) +makedepends=( + bsd-compat-headers + git + jdk8-openjdk + libcap + meson + python + valgrind + zip +) +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)" +} + +build() { + cd "${_pkgname}" + + make PREFIX=/usr ____LIBDIR=lib +} + +package() { + depends+=(java-runtime) + + cd "${_pkgname}" + + DESTDIR="${pkgdir}" make \ + ____PREFIX="${pkgdir}/usr" \ + ____INSTALL_ETC="${pkgdir}/etc" \ + ____LIBDIR=lib \ + install +}