From 07e94fa86b542c0b6bce810eda4ab364dc0fe020 Mon Sep 17 00:00:00 2001 From: Stephen L Arnold Date: Sat, 8 Jun 2024 17:06:25 -0700 Subject: [PATCH] sys-power/qrtr: bump to latest upstream version, switch to meson Signed-off-by: Stephen L Arnold --- sys-power/qrtr/Manifest | 1 + sys-power/qrtr/qrtr-1.1.ebuild | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 sys-power/qrtr/qrtr-1.1.ebuild diff --git a/sys-power/qrtr/Manifest b/sys-power/qrtr/Manifest index ea36e12..ff42c27 100644 --- a/sys-power/qrtr/Manifest +++ b/sys-power/qrtr/Manifest @@ -1 +1,2 @@ DIST qrtr-1.0.gh.tar.gz 23236 BLAKE2B c09300f298376792f94de3d554dbdbb267d9de480e7b2f19977c44f66bba28212f0e7f77802b8c06daf005b501ebc3ee02a4e2935c056bcd16ad9eef3a7a5a83 SHA512 67d1da9821dc6589504d9d04ad8efbb589f81db70e1fbcdbf5f8ae809428967f09c070c62233a296f39909f4313db8d2215507d3612ff3d8f2d87c4513abe324 +DIST qrtr-1.1.gh.tar.gz 26548 BLAKE2B 3b4d40e08aca74c836790a1d591bc077eeba1c02e3654f9f927b3a8f12d93add6491a78a975fd5e29a06cb7fb9993f8cf94cbeb993eb81fc2e3ecfebcbd7179f SHA512 68cc8731d500b2e7f5702471a3c239f415bd97035678d972d40d28ceb58bcaa1ee271816fd2002776a2d370611fc9e5e54a79d1a16ce2bce258b9411d9aec824 diff --git a/sys-power/qrtr/qrtr-1.1.ebuild b/sys-power/qrtr/qrtr-1.1.ebuild new file mode 100644 index 0000000..a227d5c --- /dev/null +++ b/sys-power/qrtr/qrtr-1.1.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit meson toolchain-funcs + +DESCRIPTION="Userspace reference for net/qrtr in the Linux kernel." +HOMEPAGE="https://github.com/andersson/qrtr" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/andersson/qrtr.git" +else + SRC_URI="https://github.com/andersson/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz" + KEYWORDS="~arm ~arm64" +fi + +SLOT="0" +LICENSE="BSD" +IUSE="" + +DEPEND="" + +src_install() { + meson_src_install + newinitd "${FILESDIR}/${PN}-ns".init "${PN}-ns" +}