commit: cf2b1afb12df52df16e5aa87af978cb9f4537747 Author: Esteve Varela Colominas <esteve.varela <AT> gmail <DOT> com> AuthorDate: Thu Mar 21 21:59:19 2024 +0000 Commit: Julien Roy <julien <AT> jroy <DOT> ca> CommitDate: Thu Mar 21 22:10:44 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=cf2b1afb
app-containers/anbox-modules: new package, add 0_p20240210 Signed-off-by: Esteve Varela Colominas <esteve.varela <AT> gmail.com> app-containers/anbox-modules/Manifest | 1 + .../anbox-modules/anbox-modules-0_p20240210.ebuild | 28 ++++++++++++++++++++++ app-containers/anbox-modules/metadata.xml | 7 ++++++ 3 files changed, 36 insertions(+) diff --git a/app-containers/anbox-modules/Manifest b/app-containers/anbox-modules/Manifest new file mode 100644 index 0000000000..4735192c92 --- /dev/null +++ b/app-containers/anbox-modules/Manifest @@ -0,0 +1 @@ +DIST anbox-modules-0_p20240210.tar.gz 76285 BLAKE2B f9ddd88adaea094c1784ee07cedfebf3afff622cff4d7020ad0d580a73bf36521f6bbe2d0a10979af9ca6dcad33a8977f597336bba88fad81bd89718f4a55ba1 SHA512 fb051fddbf63092048c14c5fcfe2e84cfce601127008b1a713b2d1575a3e8c1901e79b80d4e675bd94a9a4942b1066c6ac3f632c487cf191ee14b349b1f25e78 diff --git a/app-containers/anbox-modules/anbox-modules-0_p20240210.ebuild b/app-containers/anbox-modules/anbox-modules-0_p20240210.ebuild new file mode 100644 index 0000000000..5ca6be6830 --- /dev/null +++ b/app-containers/anbox-modules/anbox-modules-0_p20240210.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit linux-mod-r1 + +DESCRIPTION="Anbox kernel modules" +HOMEPAGE="https://github.com/choff/anbox-modules" + +MY_PV="44e5ba79f515b3cd22d96b4e3ab0f74d5361eb79" +SRC_URI="https://github.com/choff/anbox-modules/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${MY_PV}" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~x86" + +src_compile() { + local modlist=( + # "updates/" is the directory specified in dkms.conf + ashmem_linux=updates:ashmem + binder_linux=updates:binder + ) + local modargs=( KERNEL_SRC="${KV_OUT_DIR}" ) + + linux-mod-r1_src_compile +} diff --git a/app-containers/anbox-modules/metadata.xml b/app-containers/anbox-modules/metadata.xml new file mode 100644 index 0000000000..96839e5147 --- /dev/null +++ b/app-containers/anbox-modules/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <upstream> + <remote-id type="github">choff/anbox-modules</remote-id> + </upstream> +</pkgmetadata>
