From 93cd43facbf02eaf6b7ee5a87d9c487c8da06ec5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Maciej=20Bar=C4=87?= Date: Mon, 29 Mar 2021 21:35:39 +0200 Subject: [PATCH] sys-boot/rpi-imager: bump to 1.6.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Package-Manager: Portage-3.0.13, Repoman-3.0.2 Signed-off-by: Maciej Barć --- sys-boot/rpi-imager/Manifest | 1 + sys-boot/rpi-imager/rpi-imager-1.6.1.ebuild | 47 +++++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 sys-boot/rpi-imager/rpi-imager-1.6.1.ebuild diff --git a/sys-boot/rpi-imager/Manifest b/sys-boot/rpi-imager/Manifest index 29f9eae..ff0ee36 100644 --- a/sys-boot/rpi-imager/Manifest +++ b/sys-boot/rpi-imager/Manifest @@ -1,2 +1,3 @@ DIST rpi-imager-1.4.tar.gz 9074121 BLAKE2B 14fc22aeb8c1bdcb6f5fae57d94794b60c6904cdc4c0f80ef48f770e550e60305213a11de5103de37f8ae4995c38ee3314f9ee053d7f478a9bc01c4717d2101f SHA512 1e1b004215e4562d2a174c4a21e08c36b094929a047d9dfad8b33a16e0407414b85c1d2b5371f1a14ffa23f29a5f4f0199a3eb7dcbdd311db254cd6962a72b51 DIST rpi-imager-1.5.tar.gz 9094787 BLAKE2B 60a8c85681d58ae0b87365e2d30ae75f5449e2f1c33a259c63519e8f77133b1102eab010b21624e82ac2973b480883cae8bf906fb3cbf3a446b2faa503b3386c SHA512 4e52ae372450b975f1523c9643e654196c9c30e040132235e1f324f23172cc52cbde56180683c4644cc2c11f2b1f8c0dddf14910720d31ea975e3f4ec72c887a +DIST rpi-imager-1.6.1.tar.gz 9119480 BLAKE2B 36d702c0488620aec133ba7e2b3cfda4bd569a2e3868fb08541e3a616c2c47148c8bfc813c5e2586263661a47abad47b013af40b3fdaf160c4bc14c74d60cae7 SHA512 a7782d4ec868a5c293489b196bdbe047588489adca5e8a6e1cecf8c2bb8a696e755a512ced15a059f49091d12b17dacc22ca7f92f309707f066296796165dc6b diff --git a/sys-boot/rpi-imager/rpi-imager-1.6.1.ebuild b/sys-boot/rpi-imager/rpi-imager-1.6.1.ebuild new file mode 100644 index 0000000..0eeea97 --- /dev/null +++ b/sys-boot/rpi-imager/rpi-imager-1.6.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit xdg cmake + +DESCRIPTION="Raspberry Pi Imaging Utility" +HOMEPAGE="https://github.com/raspberrypi/rpi-imager" + +if [[ "${PV}" == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/raspberrypi/${PN}.git" +else + SRC_URI="https://github.com/raspberrypi/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +RESTRICT="mirror" +LICENSE="Apache-2.0" +SLOT="0" +IUSE="debug" + +BDEPEND=" + app-arch/libarchive + net-misc/curl +" +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtdeclarative:5 + dev-qt/qtgui:5 + dev-qt/qtquickcontrols2:5 + dev-qt/qtwidgets:5 + dev-qt/qtxml:5 + sys-fs/udisks:2 +" +DEPEND=" + ${RDEPEND} +" + +src_configure() { + local mycmakeargs=( + -DCMAKE_BUILD_TYPE=$(usex debug Debug Release) + ) + + cmake_src_configure +}