dev-embedded/rauc: add 1.12

Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
This commit is contained in:
Kurt Kanzenbach
2024-09-07 21:37:26 +02:00
parent 72ba0f8e7f
commit e12d29345c
3 changed files with 104 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST rauc-1.11.3.tar.xz 927776 BLAKE2B da488d23d28b66e20cf69d2d9465612ca8a22faaf4a77676303d1363807e90b3f77294a63a3f1b71e7bf90801ddcba231e416d93bfd9be8a23505fefeab0e253 SHA512 3ba3050045bfc14ba93f5f13e1257e2fa486039e9fcd76fafa2604daf5955e67cadabf2d178e6ecd025e9b683a41677694fff15c0f1b9c48ffa08bb012bc8887
DIST rauc-1.12.tar.xz 935632 BLAKE2B 8c2c0bcba1e2bc284695b6f5cf274667a51a64d97891f8cf10f142c558710ff4057235bb7c2d885a4a4a8c92d860b19b6d7bba1a938f496e2107bf2d339a9945 SHA512 c768cde19f0f75c0c9c373586bac0589d438f2ee4ab28fb24e492a6ae5f6672b1ff2daa1e4496ece45ba18499e2f177bf28902091122edacf556a6cde7be926f

View File

@@ -0,0 +1,33 @@
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 | 5 -----
1 file changed, 5 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

View 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_{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"
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
}