diff --git a/sys-boot/rpi-imager/Manifest b/sys-boot/rpi-imager/Manifest index 4a1a2cf..82f0e84 100644 --- a/sys-boot/rpi-imager/Manifest +++ b/sys-boot/rpi-imager/Manifest @@ -1,2 +1,3 @@ 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 +DIST rpi-imager-1.6.2.tar.gz 9129361 BLAKE2B e38bc750f03043ff0d1ac01cab782d20c3d72b441ae4b3cffa21d4b4e65d6821f26933b712101a80c18ea5db99515cc040827ebfc5a3bafca173e48a37f5e38c SHA512 1424d391072b8cbbd29d116512e7add632da5a9151caf1ef8724c8fa5f17c553fbfba0339ecbd93d51a9fa7d785eae99060e8e373ae3cc7ab6e783b4dffecf18 diff --git a/sys-boot/rpi-imager/rpi-imager-1.6.2.ebuild b/sys-boot/rpi-imager/rpi-imager-1.6.2.ebuild new file mode 100644 index 0000000..328dd81 --- /dev/null +++ b/sys-boot/rpi-imager/rpi-imager-1.6.2.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +RESTRICT="mirror" +LICENSE="Apache-2.0" +SLOT="0" +IUSE="debug" + +RDEPEND=" + app-arch/libarchive + dev-qt/qtconcurrent:5 + dev-qt/qtcore:5 + dev-qt/qtdeclarative:5 + dev-qt/qtgui:5 + dev-qt/qtquickcontrols2:5 + dev-qt/qtwidgets:5 + dev-qt/qtxml:5 + net-misc/curl + sys-fs/udisks:2 +" +DEPEND=" + ${RDEPEND} +" + +src_configure() { + local CMAKE_BUILD_TYPE + if use debug; then + CMAKE_BUILD_TYPE="Debug" + else + CMAKE_BUILD_TYPE="Release" + fi + + cmake_src_configure +}