commit: ce9d5daf55d0b5a50f980827853e1f4df255af07 Author: ingenarel (NeoJesus) <ingenarel_neojesus <AT> disroot <DOT> org> AuthorDate: Sun Feb 15 12:37:34 2026 +0000 Commit: David Roman <davidroman96 <AT> gmail <DOT> com> CommitDate: Sun Feb 15 12:37:49 2026 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ce9d5daf
dev-util/tinyxxd: add 1.3.11 Signed-off-by: ingenarel (NeoJesus) <ingenarel_neojesus <AT> disroot.org> dev-util/tinyxxd/Manifest | 1 + dev-util/tinyxxd/tinyxxd-1.3.11.ebuild | 47 ++++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/dev-util/tinyxxd/Manifest b/dev-util/tinyxxd/Manifest index ca2e121759..572bbc5fef 100644 --- a/dev-util/tinyxxd/Manifest +++ b/dev-util/tinyxxd/Manifest @@ -1 +1,2 @@ +DIST tinyxxd-1.3.11.tar.gz 48553 BLAKE2B fac860dde20c160c1044c5a5bb108ff81b85a0ba0e08d82af324a4685ad7079129e6779f77c29a918eedf8bcc15fad22fbcbe3303efccd13b2bd67b206699374 SHA512 6db597c87af684375795102703e3fc134e6c48aca36713540f720581d1f18f6a53b0602d26cf4b5fcc3d5af86a03af37a38190defa5188c3d3c04bd0e1ca433b DIST tinyxxd-1.3.7.tar.gz 44586 BLAKE2B 6781760f08961db21d3937756ae2bb9b929bd3e9a2e611924b6e6a77a40cbd71f39b4a105031aa864d1ecf7ef522bb9cacccaf52af9c485c00d6a960f57b0efc SHA512 fba98d3cff252bd451eb4e8938e241fe42ea64a632822c31828d37bf24a7d64e1e3ba14175f61beba6c965ce34de00964e645375a19082a2f41c7d1ca6a5d1ab diff --git a/dev-util/tinyxxd/tinyxxd-1.3.11.ebuild b/dev-util/tinyxxd/tinyxxd-1.3.11.ebuild new file mode 100644 index 0000000000..ce3bf58b77 --- /dev/null +++ b/dev-util/tinyxxd/tinyxxd-1.3.11.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs + +DESCRIPTION="Drop-in replacement and standalone version of xxd" +HOMEPAGE="https://github.com/xyproto/tinyxxd" +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/xyproto/tinyxxd.git" +else + SRC_URI="https://github.com/xyproto/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="|| ( GPL-2 MIT )" + +SLOT="0" + +IUSE="xxd test" +REQUIRED_USE="test? ( !xxd )" +RESTRICT="!test? ( test )" + +RDEPEND=" + xxd? ( + !<app-editors/vim-core-9.1.1652-r1 + !dev-util/xxd + ) + test? ( dev-util/xxd ) +" + +PATCHES=( "${FILESDIR}/${PN}-1.3.11-fixes.patch" ) + +src_compile() { + export CFLAGS LDFLAGS + tc-export CC + emake +} + +src_install(){ + emake DESTDIR="${D}" PREFIX="${EPREFIX}"/usr install + if use xxd; then + dosym -r /usr/bin/tinyxxd /usr/bin/xxd + fi +}
