Gentoo Archives: gentoo-commits

From: "Andreas K. Hüttel" <dilfridge@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/riscv:master commit in: app-emulation/qemu-riscv64-bin/
Date: Sat, 27 Apr 2019 19:16:36
Message-Id: 1556392574.dda8346c6cc8e90f68f2afca41c009bb6203159d.dilfridge@gentoo
1 commit: dda8346c6cc8e90f68f2afca41c009bb6203159d
2 Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
3 AuthorDate: Sat Apr 27 19:16:14 2019 +0000
4 Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
5 CommitDate: Sat Apr 27 19:16:14 2019 +0000
6 URL: https://gitweb.gentoo.org/proj/riscv.git/commit/?id=dda8346c
7
8 app-emulation/qemu-riscv64-bin: Add prebuilt qemu-riscv64 binary
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.12
11 Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
12
13 app-emulation/qemu-riscv64-bin/Manifest | 1 +
14 app-emulation/qemu-riscv64-bin/metadata.xml | 8 ++++++++
15 .../qemu-riscv64-bin-3.1.0-r4.ebuild | 20 ++++++++++++++++++++
16 3 files changed, 29 insertions(+)
17
18 diff --git a/app-emulation/qemu-riscv64-bin/Manifest b/app-emulation/qemu-riscv64-bin/Manifest
19 new file mode 100644
20 index 0000000..6c12bba
21 --- /dev/null
22 +++ b/app-emulation/qemu-riscv64-bin/Manifest
23 @@ -0,0 +1 @@
24 +DIST qemu-riscv64-bin-3.1.0-r4.tar.xz 4701356 BLAKE2B a94f2b4f66f276f2ba8a35c17eae4eb1c55ff08d019412ec4b6969f8a3d2c0dedfd56bfbbc5574cb7084728edfbd2a96f9008121627d094840fa7b225aacd1a4 SHA512 525ebb50cffbe91ec6a23d2bbe26ec4bf29b6a32774ae2cd5356c7f251eedfaaa70d9977882c74f8509148bdb70430a6977af41911f425b89b872293676d1f17
25
26 diff --git a/app-emulation/qemu-riscv64-bin/metadata.xml b/app-emulation/qemu-riscv64-bin/metadata.xml
27 new file mode 100644
28 index 0000000..79289ef
29 --- /dev/null
30 +++ b/app-emulation/qemu-riscv64-bin/metadata.xml
31 @@ -0,0 +1,8 @@
32 +<?xml version="1.0" encoding="UTF-8"?>
33 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
34 +<pkgmetadata>
35 + <maintainer type="project">
36 + <email>riscv@g.o</email>
37 + <name>RISC-V</name>
38 + </maintainer>
39 +</pkgmetadata>
40
41 diff --git a/app-emulation/qemu-riscv64-bin/qemu-riscv64-bin-3.1.0-r4.ebuild b/app-emulation/qemu-riscv64-bin/qemu-riscv64-bin-3.1.0-r4.ebuild
42 new file mode 100644
43 index 0000000..30853f0
44 --- /dev/null
45 +++ b/app-emulation/qemu-riscv64-bin/qemu-riscv64-bin-3.1.0-r4.ebuild
46 @@ -0,0 +1,20 @@
47 +# Copyright 2019 Gentoo Authors
48 +# Distributed under the terms of the GNU General Public License v2
49 +
50 +EAPI=7
51 +
52 +DESCRIPTION="Statically linked x86-64 binary of app-emulation/qemu, riscv64 emulator"
53 +
54 +HOMEPAGE="http://www.qemu.org"
55 +SRC_URI="https://dev.gentoo.org/~dilfridge/distfiles/${PN}-${PVR}.tar.xz"
56 +LICENSE="GPL-2 LGPL-2 BSD-2"
57 +SLOT="0"
58 +KEYWORDS="~amd64"
59 +
60 +RDEPEND="!app-emulation/qemu[qemu_user_targets_riscv64]"
61 +
62 +S=${WORKDIR}
63 +
64 +src_install() {
65 + dobin qemu-riscv64
66 +}