From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1430132-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (2048 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 3A748158094
	for <garchives@archives.gentoo.org>; Wed, 24 Aug 2022 10:34:58 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 18D8AE0536;
	Wed, 24 Aug 2022 10:34:57 +0000 (UTC)
Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id EC6D7E0536
	for <gentoo-commits@lists.gentoo.org>; Wed, 24 Aug 2022 10:34:56 +0000 (UTC)
Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52])
	(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
	 key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256)
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id BE1C6341011
	for <gentoo-commits@lists.gentoo.org>; Wed, 24 Aug 2022 10:34:55 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id 1ECC158A
	for <gentoo-commits@lists.gentoo.org>; Wed, 24 Aug 2022 10:34:54 +0000 (UTC)
From: "Jakov Smolić" <jsmolic@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Jakov Smolić" <jsmolic@gentoo.org>
Message-ID: <1661337286.43aa0ef8e5b1f4c5bb7b6fea1ecbf37e9a21d412.jsmolic@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/genimage/
X-VCS-Repository: repo/gentoo
X-VCS-Files: sys-fs/genimage/Manifest sys-fs/genimage/genimage-15.ebuild sys-fs/genimage/metadata.xml
X-VCS-Directories: sys-fs/genimage/
X-VCS-Committer: jsmolic
X-VCS-Committer-Name: Jakov Smolić
X-VCS-Revision: 43aa0ef8e5b1f4c5bb7b6fea1ecbf37e9a21d412
X-VCS-Branch: master
Date: Wed, 24 Aug 2022 10:34:54 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 604865dc-c517-474e-9a58-5aab6e2bc6df
X-Archives-Hash: 1486ead685152c6b68d4fc2d6887b304

commit:     43aa0ef8e5b1f4c5bb7b6fea1ecbf37e9a21d412
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 23 20:22:52 2022 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Wed Aug 24 10:34:46 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43aa0ef8

sys-fs/genimage: new package, add 15

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 sys-fs/genimage/Manifest           |  1 +
 sys-fs/genimage/genimage-15.ebuild | 36 ++++++++++++++++++++++++++++++++++++
 sys-fs/genimage/metadata.xml       | 11 +++++++++++
 3 files changed, 48 insertions(+)

diff --git a/sys-fs/genimage/Manifest b/sys-fs/genimage/Manifest
new file mode 100644
index 000000000000..dd18d7329762
--- /dev/null
+++ b/sys-fs/genimage/Manifest
@@ -0,0 +1 @@
+DIST genimage-15.tar.gz 82983 BLAKE2B d5827a0c9221fb8bb55f8af6cd4bce0c59ee864895577df277bbfa73fff64074265c687d9c7bcabbf6f8cb7658e48dfdc299130136446688903ed1cedc980214 SHA512 dd63872e8a41872e9af2b87efd604f0a9d6946e6ebbc323a0e81052efd6a9668f9ffe77f068c84e38fb27cb1e00bd63e9b2cdebf9526b4bc6c9e0f7e344762a7

diff --git a/sys-fs/genimage/genimage-15.ebuild b/sys-fs/genimage/genimage-15.ebuild
new file mode 100644
index 000000000000..20da57056618
--- /dev/null
+++ b/sys-fs/genimage/genimage-15.ebuild
@@ -0,0 +1,36 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools optfeature
+
+DESCRIPTION="Tool to generate multiple filesystem and flash images from a tree"
+HOMEPAGE="https://github.com/pengutronix/genimage"
+SRC_URI="https://github.com/pengutronix/genimage/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+DEPEND="dev-libs/confuse:="
+RDEPEND="${DEPEND}"
+BDEPEND="test? ( sys-apps/fakeroot )"
+
+src_prepare() {
+	default
+	eautoreconf
+}
+
+pkg_postinst() {
+	optfeature "cpio support" app-arch/cpio
+	optfeature "tar support" app-arch/tar
+	optfeature "qemu support" app-emulation/qemu
+	optfeature "dosfstools support" sys-fs/dosfstools
+	optfeature "cramfs support" sys-fs/cramfs
+	optfeature "genext2fs support" sys-fs/genext2fs
+	optfeature "jffs, ubifs and ubinize support" sys-fs/mtd-utils
+	optfeature "squashfs support" sys-fs/squashfs-tools
+}

diff --git a/sys-fs/genimage/metadata.xml b/sys-fs/genimage/metadata.xml
new file mode 100644
index 000000000000..39daab896f74
--- /dev/null
+++ b/sys-fs/genimage/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+	<maintainer type="person">
+		<email>jsmolic@gentoo.org</email>
+		<name>Jakov Smolić</name>
+	</maintainer>
+	<upstream>
+		<remote-id type="github">pengutronix/genimage</remote-id>
+	</upstream>
+</pkgmetadata>