mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-21 04:53:07 -04:00
dev-embedded/rauc: add 1.15
Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
This commit is contained in:
@@ -1 +1,2 @@
|
|||||||
DIST rauc-1.14.tar.xz 968388 BLAKE2B 3698dea9c065806b18c00049aefd4b03a6407c929e381745291627b2d23101f48fe2d3842ba29e76929468f5290ad57aa82de0d59ffdbe5ae2e2b3e6cedb81a3 SHA512 910c1379817d2f5980919c8ca4074a999732624e5a4eaf82aadeda1efa4671ce80ec86150f231d76a2137587f00f52e7a74e4da3a61ab2ab95b4dab2a5e79939
|
DIST rauc-1.14.tar.xz 968388 BLAKE2B 3698dea9c065806b18c00049aefd4b03a6407c929e381745291627b2d23101f48fe2d3842ba29e76929468f5290ad57aa82de0d59ffdbe5ae2e2b3e6cedb81a3 SHA512 910c1379817d2f5980919c8ca4074a999732624e5a4eaf82aadeda1efa4671ce80ec86150f231d76a2137587f00f52e7a74e4da3a61ab2ab95b4dab2a5e79939
|
||||||
|
DIST rauc-1.15.tar.xz 989904 BLAKE2B 3c241229a85c60e96974117fc0bde29c313b8f1809b5fe0ae807b585e5c774d0eadec75f9a4bae5de0ca47cc1bdadb62791d7e8a1a48bb3c348f62aa0f39cb43 SHA512 1d6db354ca582d1ae576db88158da97a3018c89176aa8270fb2707e0b6af8664f6d1269747306286419dc0cea1c438e0602950d19086592e643177fe14fc94a4
|
||||||
|
|||||||
38
dev-embedded/rauc/files/rauc-1.15-tests.patch
Normal file
38
dev-embedded/rauc/files/rauc-1.15-tests.patch
Normal file
@@ -0,0 +1,38 @@
|
|||||||
|
From cfeab43e8c1ebbe952bca9b71fb8400a9947d229 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Kurt Kanzenbach <kurt@kmk-computers.de>
|
||||||
|
Date: Sat, 15 Aug 2020 08:45:21 +0200
|
||||||
|
Subject: [PATCH] tests: Disable failed tests
|
||||||
|
|
||||||
|
The network and squashfs tests won't work within portage. Disable them.
|
||||||
|
|
||||||
|
Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
|
||||||
|
---
|
||||||
|
test/meson.build | 6 ------
|
||||||
|
1 file changed, 6 deletions(-)
|
||||||
|
|
||||||
|
--- a/test/meson.build
|
||||||
|
+++ b/test/meson.build
|
||||||
|
@@ -6,12 +6,10 @@ tests = [
|
||||||
|
'artifacts',
|
||||||
|
'boot_raw_fallback',
|
||||||
|
'bootchooser',
|
||||||
|
- 'bundle',
|
||||||
|
'checksum',
|
||||||
|
'config_file',
|
||||||
|
'context',
|
||||||
|
'dm',
|
||||||
|
- 'event_log',
|
||||||
|
'hash_index',
|
||||||
|
'install',
|
||||||
|
'manifest',
|
||||||
|
@@ -25,10 +23,6 @@ tests = [
|
||||||
|
'utils',
|
||||||
|
]
|
||||||
|
|
||||||
|
-if get_option('network')
|
||||||
|
- tests += 'network'
|
||||||
|
-endif
|
||||||
|
-
|
||||||
|
if get_option('streaming')
|
||||||
|
tests += 'nbd'
|
||||||
|
endif
|
||||||
70
dev-embedded/rauc/rauc-1.15.ebuild
Normal file
70
dev-embedded/rauc/rauc-1.15.ebuild
Normal file
@@ -0,0 +1,70 @@
|
|||||||
|
# Copyright 1999-2024 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{11..13} )
|
||||||
|
DOCS_BUILDER="sphinx"
|
||||||
|
DOCS_DIR="${S}/docs"
|
||||||
|
|
||||||
|
inherit meson python-any-r1 docs
|
||||||
|
|
||||||
|
DESCRIPTION="Lightweight update client that runs on your Embedded Linux device"
|
||||||
|
HOMEPAGE="https://rauc.io/"
|
||||||
|
SRC_URI="https://github.com/${PN}/${PN}/releases/download/v${PV}/${P}.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="LGPL-2.1"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
|
||||||
|
IUSE="gpt json network service test"
|
||||||
|
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
${PYTHON_DEPS}
|
||||||
|
dev-util/gdbus-codegen
|
||||||
|
virtual/pkgconfig
|
||||||
|
doc? (
|
||||||
|
$(python_gen_any_dep '
|
||||||
|
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||||
|
dev-python/sphinx-rtd-theme[${PYTHON_USEDEP}]
|
||||||
|
')
|
||||||
|
)
|
||||||
|
test? (
|
||||||
|
dev-libs/opensc
|
||||||
|
net-misc/casync
|
||||||
|
sys-fs/mtd-utils
|
||||||
|
sys-fs/squashfs-tools
|
||||||
|
sys-libs/libfaketime
|
||||||
|
)
|
||||||
|
"
|
||||||
|
RDEPEND="
|
||||||
|
dev-libs/glib:2
|
||||||
|
dev-libs/libnl:3=
|
||||||
|
dev-libs/openssl:0=
|
||||||
|
json? ( dev-libs/json-glib )
|
||||||
|
network? ( net-misc/curl )
|
||||||
|
service? ( sys-apps/dbus )
|
||||||
|
"
|
||||||
|
DEPEND="
|
||||||
|
${RDEPEND}
|
||||||
|
"
|
||||||
|
|
||||||
|
PATCHES=( "${FILESDIR}/${P}-tests.patch" )
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
local emesonargs=(
|
||||||
|
$(meson_feature gpt)
|
||||||
|
$(meson_feature json)
|
||||||
|
$(meson_use network)
|
||||||
|
$(meson_use network streaming)
|
||||||
|
$(meson_use service)
|
||||||
|
)
|
||||||
|
meson_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
meson_src_compile
|
||||||
|
docs_compile
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user