dev-embedded/rauc: add 1.11.3

Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
This commit is contained in:
Kurt Kanzenbach
2024-04-14 16:48:59 +02:00
parent 7b68865a81
commit fc69712cf3
3 changed files with 121 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST rauc-1.11.1.tar.xz 927392 BLAKE2B ba1aa015be1b28f50014ccd43154b296170faa680f97e27e14a98d6af58f0b0151cef33f4fb4f13bfd304a278edbcd7d9cc9134612ae7a14de04c3a169ab9e00 SHA512 09f6e7218f884404b56d9d69a028e6098ab2c3d44033d107dcfeffa3ed26ccbd7fff0c27ba1b7c9a74c635b7483f2db1253da148a695bd7db75a2a674438e0f3
DIST rauc-1.11.3.tar.xz 927776 BLAKE2B da488d23d28b66e20cf69d2d9465612ca8a22faaf4a77676303d1363807e90b3f77294a63a3f1b71e7bf90801ddcba231e416d93bfd9be8a23505fefeab0e253 SHA512 3ba3050045bfc14ba93f5f13e1257e2fa486039e9fcd76fafa2604daf5955e67cadabf2d178e6ecd025e9b683a41677694fff15c0f1b9c48ffa08bb012bc8887

View File

@@ -0,0 +1,51 @@
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 | 19 -------------------
1 file changed, 19 deletions(-)
--- a/test/meson.build
+++ b/test/meson.build
@@ -9,7 +9,6 @@ tests = [
'config_file',
'context',
'dm',
- 'event_log',
'hash_index',
'manifest',
'signature',
@@ -24,10 +23,6 @@ tests = [
'stats',
]
-if get_option('network')
- tests += 'network'
-endif
-
if get_option('streaming')
tests += 'nbd'
endif
@@ -63,17 +58,3 @@ fakerand = executable(
'fakerand',
'fakerand.c',
)
-
-rauc_t = find_program(
- 'rauc.t'
-)
-
-test(
- 'rauc.t',
- rauc_t,
- args : '-v',
- is_parallel : false,
- timeout : 360,
- env : ['SHARNESS_BUILD_DIRECTORY=' + meson.build_root()],
- workdir : meson.current_source_dir(),
-)

View File

@@ -0,0 +1,69 @@
# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{10..12} )
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"
SLOT="0"
LICENSE="LGPL-2.1"
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
}