diff --git a/dev-embedded/rauc/Manifest b/dev-embedded/rauc/Manifest new file mode 100644 index 0000000000..502637aa65 --- /dev/null +++ b/dev-embedded/rauc/Manifest @@ -0,0 +1 @@ +DIST rauc-1.3.tar.xz 1336420 BLAKE2B 79d8cc081b7871a7c4cf7eee47c042cb57723c60dad0cfefcb194048fe1c9a52261e1ef037f397ec80e7c1f1690fd34e4ce44a2d7cb427a5a48632760215e48b SHA512 044f679f81c0af58d5620a16c3a0fd7bc8ae50dccc403dd26f201735e0d7488e485b84ac38329b5f091648ae1173088a4e14976f6d28ef185a07daed82cc5b65 diff --git a/dev-embedded/rauc/metadata.xml b/dev-embedded/rauc/metadata.xml new file mode 100644 index 0000000000..699bca6b9d --- /dev/null +++ b/dev-embedded/rauc/metadata.xml @@ -0,0 +1,28 @@ + + + + + kurt@kmk-computers.de + Kurt Kanzenbach + + + RAUC is a lightweight update client that runs on your Embedded Linux device + and reliably controls the procedure of updating your device with a new + firmware revision. RAUC is also the tool on your host system that lets you + create, inspect and modify update artifacts for your device. + + + + Add JSON support + + + Add network update support + + + Add dbus service + + + + rauc/rauc + + diff --git a/dev-embedded/rauc/rauc-1.3.ebuild b/dev-embedded/rauc/rauc-1.3.ebuild new file mode 100644 index 0000000000..3acfbf2f6f --- /dev/null +++ b/dev-embedded/rauc/rauc-1.3.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +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 ~x86" +IUSE="doc json network service" + +BDEPEND=" + virtual/pkgconfig + doc? ( dev-python/sphinx ) +" +RDEPEND=" + dev-libs/glib:2 + dev-libs/openssl:0= + json? ( dev-libs/json-glib ) + network? ( net-misc/curl ) + service? ( sys-apps/dbus ) +" +DEPEND=" + ${RDEPEND} +" + +src_configure() { + local myconf=( + $(use_enable json) + $(use_enable network) + $(use_enable service) + ) + econf "${myconf[@]}" +} + +src_compile() { + default + use doc && emake doc +} + +src_install() { + use doc && local HTML_DOCS=( docs/build/html/. ) + default +}