* [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sunxi-tools/
@ 2015-10-02 22:08 Tony Vroon
0 siblings, 0 replies; 9+ messages in thread
From: Tony Vroon @ 2015-10-02 22:08 UTC (permalink / raw
To: gentoo-commits
commit: 2787244ca5f03ba51bc6daaddfba687694c85031
Author: Tony Vroon <chainsaw <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 2 22:08:36 2015 +0000
Commit: Tony Vroon <chainsaw <AT> gentoo <DOT> org>
CommitDate: Fri Oct 2 22:08:36 2015 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2787244c
dev-embedded/sunxi-tools: New addition. Ebuild by me, inspired by mkeyoverlay.
Package-Manager: portage-2.2.20.1
dev-embedded/sunxi-tools/Manifest | 1 +
dev-embedded/sunxi-tools/metadata.xml | 9 ++++++++
dev-embedded/sunxi-tools/sunxi-tools-1.2.ebuild | 28 +++++++++++++++++++++++++
3 files changed, 38 insertions(+)
diff --git a/dev-embedded/sunxi-tools/Manifest b/dev-embedded/sunxi-tools/Manifest
new file mode 100644
index 0000000..e1f9a56
--- /dev/null
+++ b/dev-embedded/sunxi-tools/Manifest
@@ -0,0 +1 @@
+DIST v1.2.tar.gz 35378 SHA256 86c1f2ace861a320b90bf5962a45329120ddc903cf0df678f1d31a44d6ba6b6e SHA512 bf050e4c9a338ad0b128f455a415904107efe54878e831074373b20f727a4cf9700a7b4ad73a5b21c91a1f41b588ec35070b54671c01c8ab81e0c340c299a2b1 WHIRLPOOL 0af6ae1fbc36dc4921878bd661304728ec2b860e5c40d12ba55f3d05dd7bab45d7f712c281d44868fee828fec654fc00a8efbfaa739ef8f2eef7b603dd720f50
diff --git a/dev-embedded/sunxi-tools/metadata.xml b/dev-embedded/sunxi-tools/metadata.xml
new file mode 100644
index 0000000..971a1f4
--- /dev/null
+++ b/dev-embedded/sunxi-tools/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>embedded</herd>
+ <maintainer>
+ <email>chainsaw@gentoo.org</email>
+ <name>Tony Vroon</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/dev-embedded/sunxi-tools/sunxi-tools-1.2.ebuild b/dev-embedded/sunxi-tools/sunxi-tools-1.2.ebuild
new file mode 100644
index 0000000..4668be3
--- /dev/null
+++ b/dev-embedded/sunxi-tools/sunxi-tools-1.2.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="5"
+
+inherit eutils toolchain-funcs
+
+MY_PV="v${PV}"
+SRC_URI="https://github.com/linux-sunxi/sunxi-tools/archive/${MY_PV}.tar.gz"
+
+DESCRIPTION="Tools for Allwinner A10 devices."
+HOMEPAGE="http://linux-sunxi.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+KEYWORDS="~amd64"
+
+DEPEND="virtual/libusb"
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} -std=c99 -D_POSIX_C_SOURCE=200112L -Iinclude/" all misc
+}
+
+src_install() {
+ dobin bin2fex bootinfo fel fex2bin fexc nand-part phoenix_info pio
+}
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sunxi-tools/
@ 2016-07-13 9:40 Tony Vroon
0 siblings, 0 replies; 9+ messages in thread
From: Tony Vroon @ 2016-07-13 9:40 UTC (permalink / raw
To: gentoo-commits
commit: c57cf9b2e91728d44ebc689a78e5e3afc7eb9224
Author: Tony Vroon <chainsaw <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 13 09:39:30 2016 +0000
Commit: Tony Vroon <chainsaw <AT> gentoo <DOT> org>
CommitDate: Wed Jul 13 09:39:30 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c57cf9b2
dev-embedded/sunxi-tools: Version bump to 1.3; all ebuild work by Alexander Nigl in bug #588264.
dev-embedded/sunxi-tools/sunxi-tools-1.3.ebuild | 33 +++++++++++++++++++++++++
1 file changed, 33 insertions(+)
diff --git a/dev-embedded/sunxi-tools/sunxi-tools-1.3.ebuild b/dev-embedded/sunxi-tools/sunxi-tools-1.3.ebuild
new file mode 100644
index 0000000..6d6d13c
--- /dev/null
+++ b/dev-embedded/sunxi-tools/sunxi-tools-1.3.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI="6"
+
+inherit eutils toolchain-funcs
+
+MY_PV="v${PV}"
+SRC_URI="https://github.com/linux-sunxi/sunxi-tools/archive/${MY_PV}.tar.gz"
+
+DESCRIPTION="Tools for Allwinner A10 devices."
+HOMEPAGE="http://linux-sunxi.org/"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE=""
+KEYWORDS="~amd64"
+
+DEPEND="virtual/libusb"
+
+src_compile() {
+ emake CC="$(tc-getCC)" CFLAGS="${CFLAGS} -std=c99 -D_POSIX_C_SOURCE=200112L -Iinclude/" all misc
+}
+
+src_install() {
+ dobin bin2fex fex2bin phoenix_info
+ newbin sunxi-bootinfo bootinfo
+ newbin sunxi-fel fel
+ newbin sunxi-fexc fexc
+ newbin sunxi-nand-part nand-part
+ newbin sunxi-pio pio
+}
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sunxi-tools/
@ 2016-07-13 10:14 Patrice Clement
0 siblings, 0 replies; 9+ messages in thread
From: Patrice Clement @ 2016-07-13 10:14 UTC (permalink / raw
To: gentoo-commits
commit: ab640ea61ca2db4e8a6924209dc850eeb8b3d794
Author: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 13 10:14:40 2016 +0000
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Wed Jul 13 10:14:40 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab640ea6
dev-embedded/sunxi-tools: Regenerate Manifest file.
Package-Manager: portage-2.2.28
dev-embedded/sunxi-tools/Manifest | 1 +
1 file changed, 1 insertion(+)
diff --git a/dev-embedded/sunxi-tools/Manifest b/dev-embedded/sunxi-tools/Manifest
index e1f9a56..f8d15b1 100644
--- a/dev-embedded/sunxi-tools/Manifest
+++ b/dev-embedded/sunxi-tools/Manifest
@@ -1 +1,2 @@
DIST v1.2.tar.gz 35378 SHA256 86c1f2ace861a320b90bf5962a45329120ddc903cf0df678f1d31a44d6ba6b6e SHA512 bf050e4c9a338ad0b128f455a415904107efe54878e831074373b20f727a4cf9700a7b4ad73a5b21c91a1f41b588ec35070b54671c01c8ab81e0c340c299a2b1 WHIRLPOOL 0af6ae1fbc36dc4921878bd661304728ec2b860e5c40d12ba55f3d05dd7bab45d7f712c281d44868fee828fec654fc00a8efbfaa739ef8f2eef7b603dd720f50
+DIST v1.3.tar.gz 52608 SHA256 2aa0afc21476ee9b03acff20a19f32c522106e61bcbfa1a9463168fe90a85fc5 SHA512 954c95963013aee8a38b3583ba1b7ec7e7049c7e09c5fa9ec564dfc33f304d3669fdf68c2fa5e4b5a6265640a3d1ee8bc13bcd71d804c714884b6a780d193615 WHIRLPOOL 2e3115c427298236085c4ef395432d079e0f93896a7bf64211c8f8d366c4d21e8b315bdd1c9c927a06c1f96134090710e88e1f052deaf75c2dbb440ae43c6e01
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sunxi-tools/
@ 2016-07-13 10:56 Tony Vroon
0 siblings, 0 replies; 9+ messages in thread
From: Tony Vroon @ 2016-07-13 10:56 UTC (permalink / raw
To: gentoo-commits
commit: 87543dba382c62a95bda21d33784c3d7106741cf
Author: Tony Vroon <chainsaw <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 13 10:56:43 2016 +0000
Commit: Tony Vroon <chainsaw <AT> gentoo <DOT> org>
CommitDate: Wed Jul 13 10:56:43 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87543dba
dev-embedded/sunxi-tools: Use SRC_URI arrows for properly unique distfile names.
Package-Manager: portage-2.3.0
dev-embedded/sunxi-tools/Manifest | 4 ++--
dev-embedded/sunxi-tools/sunxi-tools-1.2.ebuild | 4 ++--
dev-embedded/sunxi-tools/sunxi-tools-1.3.ebuild | 2 +-
3 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/dev-embedded/sunxi-tools/Manifest b/dev-embedded/sunxi-tools/Manifest
index f8d15b1..017c753 100644
--- a/dev-embedded/sunxi-tools/Manifest
+++ b/dev-embedded/sunxi-tools/Manifest
@@ -1,2 +1,2 @@
-DIST v1.2.tar.gz 35378 SHA256 86c1f2ace861a320b90bf5962a45329120ddc903cf0df678f1d31a44d6ba6b6e SHA512 bf050e4c9a338ad0b128f455a415904107efe54878e831074373b20f727a4cf9700a7b4ad73a5b21c91a1f41b588ec35070b54671c01c8ab81e0c340c299a2b1 WHIRLPOOL 0af6ae1fbc36dc4921878bd661304728ec2b860e5c40d12ba55f3d05dd7bab45d7f712c281d44868fee828fec654fc00a8efbfaa739ef8f2eef7b603dd720f50
-DIST v1.3.tar.gz 52608 SHA256 2aa0afc21476ee9b03acff20a19f32c522106e61bcbfa1a9463168fe90a85fc5 SHA512 954c95963013aee8a38b3583ba1b7ec7e7049c7e09c5fa9ec564dfc33f304d3669fdf68c2fa5e4b5a6265640a3d1ee8bc13bcd71d804c714884b6a780d193615 WHIRLPOOL 2e3115c427298236085c4ef395432d079e0f93896a7bf64211c8f8d366c4d21e8b315bdd1c9c927a06c1f96134090710e88e1f052deaf75c2dbb440ae43c6e01
+DIST sunxi-tools-1.2.tar.gz 35378 SHA256 86c1f2ace861a320b90bf5962a45329120ddc903cf0df678f1d31a44d6ba6b6e SHA512 bf050e4c9a338ad0b128f455a415904107efe54878e831074373b20f727a4cf9700a7b4ad73a5b21c91a1f41b588ec35070b54671c01c8ab81e0c340c299a2b1 WHIRLPOOL 0af6ae1fbc36dc4921878bd661304728ec2b860e5c40d12ba55f3d05dd7bab45d7f712c281d44868fee828fec654fc00a8efbfaa739ef8f2eef7b603dd720f50
+DIST sunxi-tools-1.3.tar.gz 52608 SHA256 2aa0afc21476ee9b03acff20a19f32c522106e61bcbfa1a9463168fe90a85fc5 SHA512 954c95963013aee8a38b3583ba1b7ec7e7049c7e09c5fa9ec564dfc33f304d3669fdf68c2fa5e4b5a6265640a3d1ee8bc13bcd71d804c714884b6a780d193615 WHIRLPOOL 2e3115c427298236085c4ef395432d079e0f93896a7bf64211c8f8d366c4d21e8b315bdd1c9c927a06c1f96134090710e88e1f052deaf75c2dbb440ae43c6e01
diff --git a/dev-embedded/sunxi-tools/sunxi-tools-1.2.ebuild b/dev-embedded/sunxi-tools/sunxi-tools-1.2.ebuild
index 4668be3..ef87025 100644
--- a/dev-embedded/sunxi-tools/sunxi-tools-1.2.ebuild
+++ b/dev-embedded/sunxi-tools/sunxi-tools-1.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
@@ -7,7 +7,7 @@ EAPI="5"
inherit eutils toolchain-funcs
MY_PV="v${PV}"
-SRC_URI="https://github.com/linux-sunxi/sunxi-tools/archive/${MY_PV}.tar.gz"
+SRC_URI="https://github.com/linux-sunxi/sunxi-tools/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
DESCRIPTION="Tools for Allwinner A10 devices."
HOMEPAGE="http://linux-sunxi.org/"
diff --git a/dev-embedded/sunxi-tools/sunxi-tools-1.3.ebuild b/dev-embedded/sunxi-tools/sunxi-tools-1.3.ebuild
index 6d6d13c..3c5a3b0 100644
--- a/dev-embedded/sunxi-tools/sunxi-tools-1.3.ebuild
+++ b/dev-embedded/sunxi-tools/sunxi-tools-1.3.ebuild
@@ -7,7 +7,7 @@ EAPI="6"
inherit eutils toolchain-funcs
MY_PV="v${PV}"
-SRC_URI="https://github.com/linux-sunxi/sunxi-tools/archive/${MY_PV}.tar.gz"
+SRC_URI="https://github.com/linux-sunxi/sunxi-tools/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
DESCRIPTION="Tools for Allwinner A10 devices."
HOMEPAGE="http://linux-sunxi.org/"
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sunxi-tools/
@ 2022-01-15 0:43 Steve Arnold
0 siblings, 0 replies; 9+ messages in thread
From: Steve Arnold @ 2022-01-15 0:43 UTC (permalink / raw
To: gentoo-commits
commit: 1ad07f9338ae7602252193e2c6b2e0829e94435f
Author: Steve Arnold <nerdboy <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 15 00:42:52 2022 +0000
Commit: Steve Arnold <nerdboy <AT> gentoo <DOT> org>
CommitDate: Sat Jan 15 00:42:52 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ad07f93
dev-embedded/sunxi-tools: bump eapi and copyright year
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Steve Arnold <nerdboy <AT> gentoo.org>
dev-embedded/sunxi-tools/sunxi-tools-1.3-r1.ebuild | 4 ++--
dev-embedded/sunxi-tools/sunxi-tools-1.4.1.ebuild | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/dev-embedded/sunxi-tools/sunxi-tools-1.3-r1.ebuild b/dev-embedded/sunxi-tools/sunxi-tools-1.3-r1.ebuild
index 9da2f4453ad7..63cae3c5fd25 100644
--- a/dev-embedded/sunxi-tools/sunxi-tools-1.3-r1.ebuild
+++ b/dev-embedded/sunxi-tools/sunxi-tools-1.3-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="6"
+EAPI="7"
inherit toolchain-funcs
diff --git a/dev-embedded/sunxi-tools/sunxi-tools-1.4.1.ebuild b/dev-embedded/sunxi-tools/sunxi-tools-1.4.1.ebuild
index eead316718cc..24b37f3e50e0 100644
--- a/dev-embedded/sunxi-tools/sunxi-tools-1.4.1.ebuild
+++ b/dev-embedded/sunxi-tools/sunxi-tools-1.4.1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI="6"
+EAPI="7"
inherit toolchain-funcs
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sunxi-tools/
@ 2022-01-23 19:01 Steve Arnold
0 siblings, 0 replies; 9+ messages in thread
From: Steve Arnold @ 2022-01-23 19:01 UTC (permalink / raw
To: gentoo-commits
commit: 42f068fc4e1dbb763a63240ef15df0fb976d6366
Author: Steve Arnold <nerdboy <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 23 19:01:33 2022 +0000
Commit: Steve Arnold <nerdboy <AT> gentoo <DOT> org>
CommitDate: Sun Jan 23 19:01:33 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42f068fc
dev-embedded/sunxi-tools: cleanup depends for libusb/udev
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Steve Arnold <nerdboy <AT> gentoo.org>
...sunxi-tools-1.4.1.ebuild => sunxi-tools-1.4.1-r1.ebuild} | 13 +++++++++++--
1 file changed, 11 insertions(+), 2 deletions(-)
diff --git a/dev-embedded/sunxi-tools/sunxi-tools-1.4.1.ebuild b/dev-embedded/sunxi-tools/sunxi-tools-1.4.1-r1.ebuild
similarity index 72%
rename from dev-embedded/sunxi-tools/sunxi-tools-1.4.1.ebuild
rename to dev-embedded/sunxi-tools/sunxi-tools-1.4.1-r1.ebuild
index 24b37f3e50e0..1935b50c89ee 100644
--- a/dev-embedded/sunxi-tools/sunxi-tools-1.4.1.ebuild
+++ b/dev-embedded/sunxi-tools/sunxi-tools-1.4.1-r1.ebuild
@@ -16,7 +16,12 @@ SLOT="0"
IUSE=""
KEYWORDS="~amd64"
-DEPEND="virtual/libusb"
+RDEPEND="acct-group/plugdev
+ virtual/libusb:1
+ virtual/udev"
+
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
PATCHES=(
"${FILESDIR}/${P}-respect-user-supplied-cflags.patch"
@@ -24,7 +29,11 @@ PATCHES=(
)
src_compile() {
- emake CC="$(tc-getCC)" tools misc
+ tc-export PKG_CONFIG
+
+ emake LIBUSB_CFLAGS="$(${PKG_CONFIG} --cflags libusb-1.0)" \
+ LIBUSB_LIBS="$(${PKG_CONFIG} --libs libusb-1.0)" \
+ CC="$(tc-getCC)" tools misc
}
src_install() {
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sunxi-tools/
@ 2023-07-21 7:36 Viorel Munteanu
0 siblings, 0 replies; 9+ messages in thread
From: Viorel Munteanu @ 2023-07-21 7:36 UTC (permalink / raw
To: gentoo-commits
commit: 3ce7001bc9c6f85955be022a5f08c56dfd0c08aa
Author: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Fri Jul 21 07:28:54 2023 +0000
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Fri Jul 21 07:35:15 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ce7001b
dev-embedded/sunxi-tools: sync live
Sync the live and last release ebuilds to have them identical.
Small changes to live (add new dependencies).
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>
dev-embedded/sunxi-tools/sunxi-tools-1.4.2.ebuild | 34 +++++++++++++--------
dev-embedded/sunxi-tools/sunxi-tools-9999.ebuild | 36 +++++++++++++++++++----
2 files changed, 53 insertions(+), 17 deletions(-)
diff --git a/dev-embedded/sunxi-tools/sunxi-tools-1.4.2.ebuild b/dev-embedded/sunxi-tools/sunxi-tools-1.4.2.ebuild
index b5be36370bd2..d7ce94b79fc2 100644
--- a/dev-embedded/sunxi-tools/sunxi-tools-1.4.2.ebuild
+++ b/dev-embedded/sunxi-tools/sunxi-tools-1.4.2.ebuild
@@ -8,10 +8,21 @@ inherit toolchain-funcs
if [[ ${PV} = *9999* ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/linux-sunxi/sunxi-tools"
+ PROPERTIES="test_network"
+ RESTRICT="test"
+ RDEPEND="sys-apps/dtc
+ sys-libs/zlib"
else
KEYWORDS="~amd64"
+ # We need this as zip, it is used during src_test
SRC_URI="https://github.com/linux-sunxi/sunxi-tools/archive/v${PV}.tar.gz -> ${P}.tar.gz
- test? ( https://github.com/linux-sunxi/sunxi-boards/archive/bc7410fed9e5d9b31cd1d6ae90462d06b513660e.zip -> ${P}-test.zip )"
+ test? ( https://github.com/linux-sunxi/sunxi-boards/archive/bc7410fed9e5d9b31cd1d6ae90462d06b513660e.zip \
+ -> ${P}-test.zip )"
+ RESTRICT="!test? ( test )"
+
+ PATCHES=(
+ "${FILESDIR}/${PN}-1.4.1-fix-strncpy-compiler-warning.patch"
+ )
fi
DESCRIPTION="A collection of command line tools for ARM devices with Allwinner SoCs"
@@ -20,9 +31,8 @@ HOMEPAGE="https://linux-sunxi.org/Main_Page"
LICENSE="GPL-2"
SLOT="0"
IUSE="test"
-RESTRICT="!test? ( test )"
-RDEPEND="acct-group/plugdev
+RDEPEND+=" acct-group/plugdev
virtual/libusb:1
virtual/udev"
@@ -30,22 +40,22 @@ DEPEND="${RDEPEND}
"
BDEPEND="virtual/pkgconfig
-test? ( app-arch/unzip )"
-
-PATCHES=(
- "${FILESDIR}/${PN}-1.4.1-fix-strncpy-compiler-warning.patch"
-)
+ test? ( app-arch/unzip )"
src_unpack() {
- unpack ${P}.tar.gz
- # No need to unpack testdata twice
+ if [[ ${PV} = *9999* ]]; then
+ git-r3_src_unpack
+ else
+ unpack ${P}.tar.gz
+ # No need to unpack testdata twice
+ fi
}
src_prepare() {
default
- if use test; then
- cp "${DISTDIR}/${P}-test.zip" "${S}/tests/sunxi-boards.zip"
+ if [[ ${PV} != *9999* ]] && use test; then
+ cp "${DISTDIR}/${P}-test.zip" "${S}/tests/sunxi-boards.zip" || die
sed -i 's$sunxi-boards-master$sunxi-boards-bc7410fed9e5d9b31cd1d6ae90462d06b513660e$' tests/Makefile || die
sed -i 's|^coverage:.*|coverage: $(BOARDS_DIR)/README|' tests/Makefile || die
fi
diff --git a/dev-embedded/sunxi-tools/sunxi-tools-9999.ebuild b/dev-embedded/sunxi-tools/sunxi-tools-9999.ebuild
index 7b9cbffdec12..d7ce94b79fc2 100644
--- a/dev-embedded/sunxi-tools/sunxi-tools-9999.ebuild
+++ b/dev-embedded/sunxi-tools/sunxi-tools-9999.ebuild
@@ -10,10 +10,19 @@ if [[ ${PV} = *9999* ]]; then
EGIT_REPO_URI="https://github.com/linux-sunxi/sunxi-tools"
PROPERTIES="test_network"
RESTRICT="test"
+ RDEPEND="sys-apps/dtc
+ sys-libs/zlib"
else
KEYWORDS="~amd64"
- SRC_URI="https://github.com/linux-sunxi/sunxi-tools/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ # We need this as zip, it is used during src_test
+ SRC_URI="https://github.com/linux-sunxi/sunxi-tools/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ test? ( https://github.com/linux-sunxi/sunxi-boards/archive/bc7410fed9e5d9b31cd1d6ae90462d06b513660e.zip \
+ -> ${P}-test.zip )"
RESTRICT="!test? ( test )"
+
+ PATCHES=(
+ "${FILESDIR}/${PN}-1.4.1-fix-strncpy-compiler-warning.patch"
+ )
fi
DESCRIPTION="A collection of command line tools for ARM devices with Allwinner SoCs"
@@ -23,17 +32,34 @@ LICENSE="GPL-2"
SLOT="0"
IUSE="test"
-RDEPEND="acct-group/plugdev
+RDEPEND+=" acct-group/plugdev
virtual/libusb:1
virtual/udev"
DEPEND="${RDEPEND}
"
-BDEPEND="virtual/pkgconfig"
+BDEPEND="virtual/pkgconfig
+ test? ( app-arch/unzip )"
+
+src_unpack() {
+ if [[ ${PV} = *9999* ]]; then
+ git-r3_src_unpack
+ else
+ unpack ${P}.tar.gz
+ # No need to unpack testdata twice
+ fi
+}
-PATCHES=(
-)
+src_prepare() {
+ default
+
+ if [[ ${PV} != *9999* ]] && use test; then
+ cp "${DISTDIR}/${P}-test.zip" "${S}/tests/sunxi-boards.zip" || die
+ sed -i 's$sunxi-boards-master$sunxi-boards-bc7410fed9e5d9b31cd1d6ae90462d06b513660e$' tests/Makefile || die
+ sed -i 's|^coverage:.*|coverage: $(BOARDS_DIR)/README|' tests/Makefile || die
+ fi
+}
src_compile() {
tc-export PKG_CONFIG
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sunxi-tools/
@ 2023-07-21 7:36 Viorel Munteanu
0 siblings, 0 replies; 9+ messages in thread
From: Viorel Munteanu @ 2023-07-21 7:36 UTC (permalink / raw
To: gentoo-commits
commit: 2718ed746bbe74f17e8b8522d310800831459aa4
Author: PF4Public <PF4Public <AT> users <DOT> noreply <DOT> github <DOT> com>
AuthorDate: Sun Jul 16 21:47:23 2023 +0000
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Fri Jul 21 07:35:15 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2718ed74
dev-embedded/sunxi-tools: add 1.4.2 and live
Signed-off-by: PF4Public <PF4Public <AT> users.noreply.github.com>
Closes: https://github.com/gentoo/gentoo/pull/31913
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>
dev-embedded/sunxi-tools/Manifest | 2 +
dev-embedded/sunxi-tools/sunxi-tools-1.4.2.ebuild | 68 +++++++++++++++++++++++
dev-embedded/sunxi-tools/sunxi-tools-9999.ebuild | 52 +++++++++++++++++
3 files changed, 122 insertions(+)
diff --git a/dev-embedded/sunxi-tools/Manifest b/dev-embedded/sunxi-tools/Manifest
index db2220b9c0ad..a5a930f9841f 100644
--- a/dev-embedded/sunxi-tools/Manifest
+++ b/dev-embedded/sunxi-tools/Manifest
@@ -1,2 +1,4 @@
DIST sunxi-tools-1.3.tar.gz 52608 BLAKE2B e8c3ed7276f705273598e38a0cc469225de1ee4eb8177b78be63b78ebc584c4fdf2362e21b895f61b4c5e84df98bfd5ccf6d3965ffa9338c98027c9ce4635626 SHA512 954c95963013aee8a38b3583ba1b7ec7e7049c7e09c5fa9ec564dfc33f304d3669fdf68c2fa5e4b5a6265640a3d1ee8bc13bcd71d804c714884b6a780d193615
DIST sunxi-tools-1.4.1.tar.gz 78878 BLAKE2B f50b14e79d4880a076f8b25869eea44e34cfc50c91ce7f9e4adc831bb2ac2238c930623677bacb399e52faadba20c9ba21ea212915c50941af825d0579804153 SHA512 b66f5caaabec016a0d2f1ccc88ee7f37cd26a511ac81c270e2de6bf0b967e8dfda2b510d5306daffb33ec8855c3c6be99a29bfd1efd5bd0cf3431494b092a52b
+DIST sunxi-tools-1.4.2-test.zip 890565 BLAKE2B c24bafde5f049eca61962faf71d9928eb6340c48d619484f6dad1a6d7c1b9dc6f23d0f3f9b3e7847efd68004e70b44b9637d27bec8a97e6e3772b4003f3d25db SHA512 7763d60094f990e42bf57ae3e72f19dfb52cc6573777bf8c9a01bc5c1598505b067645f88b04955ae2b0f9456140e6bcb8eab31526e6e94fa28e826a80da7172
+DIST sunxi-tools-1.4.2.tar.gz 84090 BLAKE2B b3261855eb9a18025c19829e343e3e2e7097dc4e267a60fdcf39cd2e9bfa57580267a77846a576ea5fc04a07fd6ba90b1223a8c644c933879dc7aa766ba36210 SHA512 633bc1752ae11799ce0bae347b52296792d28265a2260e173727847e1f457b767e88d02ae547bb55a2bb05e1eb552ba4406985ae105a1712a9fa30852ae293e8
diff --git a/dev-embedded/sunxi-tools/sunxi-tools-1.4.2.ebuild b/dev-embedded/sunxi-tools/sunxi-tools-1.4.2.ebuild
new file mode 100644
index 000000000000..b5be36370bd2
--- /dev/null
+++ b/dev-embedded/sunxi-tools/sunxi-tools-1.4.2.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+inherit toolchain-funcs
+
+if [[ ${PV} = *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/linux-sunxi/sunxi-tools"
+else
+ KEYWORDS="~amd64"
+ SRC_URI="https://github.com/linux-sunxi/sunxi-tools/archive/v${PV}.tar.gz -> ${P}.tar.gz
+ test? ( https://github.com/linux-sunxi/sunxi-boards/archive/bc7410fed9e5d9b31cd1d6ae90462d06b513660e.zip -> ${P}-test.zip )"
+fi
+
+DESCRIPTION="A collection of command line tools for ARM devices with Allwinner SoCs"
+HOMEPAGE="https://linux-sunxi.org/Main_Page"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="acct-group/plugdev
+ virtual/libusb:1
+ virtual/udev"
+
+DEPEND="${RDEPEND}
+"
+
+BDEPEND="virtual/pkgconfig
+test? ( app-arch/unzip )"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.4.1-fix-strncpy-compiler-warning.patch"
+)
+
+src_unpack() {
+ unpack ${P}.tar.gz
+ # No need to unpack testdata twice
+}
+
+src_prepare() {
+ default
+
+ if use test; then
+ cp "${DISTDIR}/${P}-test.zip" "${S}/tests/sunxi-boards.zip"
+ sed -i 's$sunxi-boards-master$sunxi-boards-bc7410fed9e5d9b31cd1d6ae90462d06b513660e$' tests/Makefile || die
+ sed -i 's|^coverage:.*|coverage: $(BOARDS_DIR)/README|' tests/Makefile || die
+ fi
+}
+
+src_compile() {
+ tc-export PKG_CONFIG
+
+ emake LIBUSB_CFLAGS="$(${PKG_CONFIG} --cflags libusb-1.0)" \
+ LIBUSB_LIBS="$(${PKG_CONFIG} --libs libusb-1.0)" \
+ CC="$(tc-getCC)" tools misc
+}
+
+src_install() {
+ dobin bin2fex fex2bin phoenix_info sunxi-nand-image-builder
+ newbin sunxi-bootinfo bootinfo
+ newbin sunxi-fel fel
+ newbin sunxi-fexc fexc
+ newbin sunxi-nand-part nand-part
+}
diff --git a/dev-embedded/sunxi-tools/sunxi-tools-9999.ebuild b/dev-embedded/sunxi-tools/sunxi-tools-9999.ebuild
new file mode 100644
index 000000000000..7b9cbffdec12
--- /dev/null
+++ b/dev-embedded/sunxi-tools/sunxi-tools-9999.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="8"
+
+inherit toolchain-funcs
+
+if [[ ${PV} = *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/linux-sunxi/sunxi-tools"
+ PROPERTIES="test_network"
+ RESTRICT="test"
+else
+ KEYWORDS="~amd64"
+ SRC_URI="https://github.com/linux-sunxi/sunxi-tools/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+ RESTRICT="!test? ( test )"
+fi
+
+DESCRIPTION="A collection of command line tools for ARM devices with Allwinner SoCs"
+HOMEPAGE="https://linux-sunxi.org/Main_Page"
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="test"
+
+RDEPEND="acct-group/plugdev
+ virtual/libusb:1
+ virtual/udev"
+
+DEPEND="${RDEPEND}
+"
+
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+)
+
+src_compile() {
+ tc-export PKG_CONFIG
+
+ emake LIBUSB_CFLAGS="$(${PKG_CONFIG} --cflags libusb-1.0)" \
+ LIBUSB_LIBS="$(${PKG_CONFIG} --libs libusb-1.0)" \
+ CC="$(tc-getCC)" tools misc
+}
+
+src_install() {
+ dobin bin2fex fex2bin phoenix_info sunxi-nand-image-builder
+ newbin sunxi-bootinfo bootinfo
+ newbin sunxi-fel fel
+ newbin sunxi-fexc fexc
+ newbin sunxi-nand-part nand-part
+}
^ permalink raw reply related [flat|nested] 9+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sunxi-tools/
@ 2024-06-21 7:13 Florian Schmaus
0 siblings, 0 replies; 9+ messages in thread
From: Florian Schmaus @ 2024-06-21 7:13 UTC (permalink / raw
To: gentoo-commits
commit: 06495ab54b2acae409d71a2d367c6936568af826
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 21 07:11:55 2024 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Fri Jun 21 07:11:55 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06495ab5
dev-embedded/sunxi-tools: stabilize 1.4.2 for amd64
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
dev-embedded/sunxi-tools/sunxi-tools-1.4.2.ebuild | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dev-embedded/sunxi-tools/sunxi-tools-1.4.2.ebuild b/dev-embedded/sunxi-tools/sunxi-tools-1.4.2.ebuild
index d7ce94b79fc2..e533bd619903 100644
--- a/dev-embedded/sunxi-tools/sunxi-tools-1.4.2.ebuild
+++ b/dev-embedded/sunxi-tools/sunxi-tools-1.4.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
@@ -13,7 +13,7 @@ if [[ ${PV} = *9999* ]]; then
RDEPEND="sys-apps/dtc
sys-libs/zlib"
else
- KEYWORDS="~amd64"
+ KEYWORDS="amd64"
# We need this as zip, it is used during src_test
SRC_URI="https://github.com/linux-sunxi/sunxi-tools/archive/v${PV}.tar.gz -> ${P}.tar.gz
test? ( https://github.com/linux-sunxi/sunxi-boards/archive/bc7410fed9e5d9b31cd1d6ae90462d06b513660e.zip \
^ permalink raw reply related [flat|nested] 9+ messages in thread
end of thread, other threads:[~2024-06-21 7:13 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-01-23 19:01 [gentoo-commits] repo/gentoo:master commit in: dev-embedded/sunxi-tools/ Steve Arnold
-- strict thread matches above, loose matches on Subject: below --
2024-06-21 7:13 Florian Schmaus
2023-07-21 7:36 Viorel Munteanu
2023-07-21 7:36 Viorel Munteanu
2022-01-15 0:43 Steve Arnold
2016-07-13 10:56 Tony Vroon
2016-07-13 10:14 Patrice Clement
2016-07-13 9:40 Tony Vroon
2015-10-02 22:08 Tony Vroon
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox