mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-22 21:43:03 -04:00
dev-embedded/rauc: add 1.11.1
Signed-off-by: Kurt Kanzenbach <kurt@kmk-computers.de>
This commit is contained in:
@@ -1 +1,2 @@
|
|||||||
DIST rauc-1.10.1.tar.xz 912140 BLAKE2B 3cdaa88886e0d4f97623939af06a0a90de1a166535ff1cdaf523938a1778bfdd24049387886732d1a13c0d94a43d66f73d9328cc005beb3a73f33b3afda49b22 SHA512 794a1a517c9a9eacf7466710054f88fc48bf57e34cb460f202f62ca976777054c0faf74dd045164ea29977aa8f5d9d268f5154621b51642898ffafc831c75bbb
|
DIST rauc-1.10.1.tar.xz 912140 BLAKE2B 3cdaa88886e0d4f97623939af06a0a90de1a166535ff1cdaf523938a1778bfdd24049387886732d1a13c0d94a43d66f73d9328cc005beb3a73f33b3afda49b22 SHA512 794a1a517c9a9eacf7466710054f88fc48bf57e34cb460f202f62ca976777054c0faf74dd045164ea29977aa8f5d9d268f5154621b51642898ffafc831c75bbb
|
||||||
|
DIST rauc-1.11.1.tar.xz 927392 BLAKE2B ba1aa015be1b28f50014ccd43154b296170faa680f97e27e14a98d6af58f0b0151cef33f4fb4f13bfd304a278edbcd7d9cc9134612ae7a14de04c3a169ab9e00 SHA512 09f6e7218f884404b56d9d69a028e6098ab2c3d44033d107dcfeffa3ed26ccbd7fff0c27ba1b7c9a74c635b7483f2db1253da148a695bd7db75a2a674438e0f3
|
||||||
|
|||||||
43
dev-embedded/rauc/files/rauc-1.11.1-tests.patch
Normal file
43
dev-embedded/rauc/files/rauc-1.11.1-tests.patch
Normal file
@@ -0,0 +1,43 @@
|
|||||||
|
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 | 18 ------------------
|
||||||
|
1 file changed, 18 deletions(-)
|
||||||
|
|
||||||
|
--- a/test/meson.build
|
||||||
|
+++ b/test/meson.build
|
||||||
|
@@ -24,10 +24,6 @@ tests = [
|
||||||
|
'stats',
|
||||||
|
]
|
||||||
|
|
||||||
|
-if get_option('network')
|
||||||
|
- tests += 'network'
|
||||||
|
-endif
|
||||||
|
-
|
||||||
|
if get_option('streaming')
|
||||||
|
tests += 'nbd'
|
||||||
|
endif
|
||||||
|
@@ -63,17 +59,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(),
|
||||||
|
-)
|
||||||
67
dev-embedded/rauc/rauc-1.11.1.ebuild
Normal file
67
dev-embedded/rauc/rauc-1.11.1.ebuild
Normal file
@@ -0,0 +1,67 @@
|
|||||||
|
# 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/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 service)
|
||||||
|
)
|
||||||
|
meson_src_configure
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
meson_src_compile
|
||||||
|
docs_compile
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user