sys-boot/rpi-imager: version bump to 1.4; add xdg and eutils eclasses

Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Maciej Barć <xgqt@protonmail.com>
This commit is contained in:
Maciej Barć 2020-07-22 17:09:04 +02:00
parent ec1a8db5e7
commit c87fbb0e3d
No known key found for this signature in database
GPG Key ID: 031C9FE65BED714A
4 changed files with 51 additions and 2 deletions

View File

@ -1 +1,2 @@
DIST rpi-imager-1.2.tar.gz 9003081 BLAKE2B b0a99fcfe67004bbb1f62109a9162211d66a6fbce040b88bfbcf6c188509bdf9aceb9eb9e65581e29804cf26f16632d091f241e31a822f68a4af67b32fff4323 SHA512 a256b0b56582358e752bf7e032263ddf70402d2c0eb5aeb8803cb66aa45f7f3fde62c4546746e0a4f630be102bbfb8ecf2794d3d0135081515fb3b15f24562e5
DIST rpi-imager-1.4.tar.gz 9074121 BLAKE2B 14fc22aeb8c1bdcb6f5fae57d94794b60c6904cdc4c0f80ef48f770e550e60305213a11de5103de37f8ae4995c38ee3314f9ee053d7f478a9bc01c4717d2101f SHA512 1e1b004215e4562d2a174c4a21e08c36b094929a047d9dfad8b33a16e0407414b85c1d2b5371f1a14ffa23f29a5f4f0199a3eb7dcbdd311db254cd6962a72b51

View File

@ -3,7 +3,7 @@
EAPI=7
inherit cmake
inherit eutils xdg cmake
DESCRIPTION="Raspberry Pi Imaging Utility"
HOMEPAGE="https://github.com/raspberrypi/rpi-imager"

View File

@ -0,0 +1,48 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit eutils 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"
KEYWORDS=""
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"
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
}

View File

@ -3,7 +3,7 @@
EAPI=7
inherit cmake
inherit eutils xdg cmake
DESCRIPTION="Raspberry Pi Imaging Utility"
HOMEPAGE="https://github.com/raspberrypi/rpi-imager"