summaryrefslogtreecommitdiff
path: root/sys-apps/rkflashtool
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/rkflashtool')
-rw-r--r--sys-apps/rkflashtool/Manifest2
-rw-r--r--sys-apps/rkflashtool/rkflashtool-6.1.ebuild9
2 files changed, 5 insertions, 6 deletions
diff --git a/sys-apps/rkflashtool/Manifest b/sys-apps/rkflashtool/Manifest
index 368433ffe090..326dcad9b22b 100644
--- a/sys-apps/rkflashtool/Manifest
+++ b/sys-apps/rkflashtool/Manifest
@@ -1,4 +1,4 @@
AUX rkflashtool-6.1-missing-version.h 149 BLAKE2B 044dcc4db5b5262208ca68013c20dc783d91f5fb80d78fbf8ec97f6ca2b3b1e32049cf3e3559448b92d06d87dcf47735295769c53b1f199430ead67170cba8d7 SHA512 796cf5691b7594d1a88d7f685f880b6f56955251b6203f7493170929d3c2b0161aa92cd9ec638a01825c1dbbcdbe6dd217bf8640287074cd33978fe49d66e810
DIST rkflashtool-6.1-src.tar.xz 13924 BLAKE2B 278ea18fc046fad68e9b31c477132559855fc3b3aae27f2ee3444819362289266eb73cdea30a4c71b3eeeaa7454c4c5a8fc9716772dd68150f4ff88a49fe1c08 SHA512 d7054e61a706ed3e51539556a1441f64cb20a2dafa6f625df384cec9296bdee30714a1c98cfd69d2a656e370387a2bdb86c258fe6b1216bd9c57831ed3de8ea7
-EBUILD rkflashtool-6.1.ebuild 755 BLAKE2B 2879b10af6818545f270e7a0b277228b2c2fc81a618ab089d0fa2ed2757fb3abe6e7286333834abc664f6c2f2768d6aba2c2bccb6ca2b219ea4ecd74567b7c3d SHA512 22f567ff8ea7b6a68c61a74e2cd11a43cfbcf6d5cb01a85800fdbeaf1578fec3c3064308acb7f554c858aff787f3e62300b1fe21f96ea8803bcca9e2f64db612
+EBUILD rkflashtool-6.1.ebuild 757 BLAKE2B 3934979be923e84c7c373ff826ebcb45c673dc9d27b09623f33d5333ecb22eba87102deb99ca842b7b789f0a3ed43fd288e48f8f405e1cd3a83be14d20242f28 SHA512 6c856f89e9e02e54f00c08d1ffce3c4027051cda87b0c3725658c78b12254053a5db1e646393867b93ec50df21c6a85eae903c7b6687dc2abe34972790f25bab
MISC metadata.xml 249 BLAKE2B 59b2db7ac225a74666c228e72cf5c221bf0bd5cf16236a1450c55ceb48b312688f602a8e8864bdafcc40e476b19844f7cce679db8114cebac98cb268f888568b SHA512 8b4ecdd7a986c85ede06cb07ca5b3510b5599aeb7182e3187cfbff802a1b83b3a2a6aabaf811fb950cc0e8056132282b9907710453a2ebce41a9f5ab3d3db9f6
diff --git a/sys-apps/rkflashtool/rkflashtool-6.1.ebuild b/sys-apps/rkflashtool/rkflashtool-6.1.ebuild
index d4b936000f91..427682fdae4d 100644
--- a/sys-apps/rkflashtool/rkflashtool-6.1.ebuild
+++ b/sys-apps/rkflashtool/rkflashtool-6.1.ebuild
@@ -1,25 +1,24 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=8
inherit toolchain-funcs
DESCRIPTION="Tool for flashing Rockchip devices"
HOMEPAGE="https://sourceforge.net/projects/rkflashtool/"
SRC_URI="mirror://sourceforge/project/${PN}/${P}/${P}-src.tar.xz"
+S="${WORKDIR}/${P}-src"
LICENSE="BSD-2"
SLOT="0"
KEYWORDS="~amd64"
-IUSE=""
-
-S=${WORKDIR}/${P}-src
RDEPEND="virtual/libusb:1"
DEPEND="${RDEPEND}"
src_prepare() {
+ default
cp "${FILESDIR}"/${P}-missing-version.h version.h || die
sed -i -e "s/CC =/CC ?=/"\
-e "s/CFLAGS =/CFLAGS ?=/"\