sys-boot/rpi-imager: add version 1.2 and 9999

Package-Manager: Portage-2.3.89, Repoman-2.3.20
This commit is contained in:
XGQT 2020-03-30 20:40:36 +02:00
parent ab5ed0fbae
commit c446d58c5e
No known key found for this signature in database
GPG Key ID: 2089DEC77862433A
4 changed files with 104 additions and 0 deletions

View File

@ -0,0 +1 @@
DIST rpi-imager-1.2.tar.gz 9003081 BLAKE2B b0a99fcfe67004bbb1f62109a9162211d66a6fbce040b88bfbcf6c188509bdf9aceb9eb9e65581e29804cf26f16632d091f241e31a822f68a4af67b32fff4323 SHA512 a256b0b56582358e752bf7e032263ddf70402d2c0eb5aeb8803cb66aa45f7f3fde62c4546746e0a4f630be102bbfb8ecf2794d3d0135081515fb3b15f24562e5

View File

@ -0,0 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<upstream>
<remote-id type="github">raspberrypi/rpi-imager</remote-id>
</upstream>
</pkgmetadata>

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 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

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