update: hexview-1.2.2

master
Avril 4 years ago
parent 5cf595dad3
commit 861e7cc787
Signed by: flanchan
GPG Key ID: 966FE03CC0E0B199

@ -3,4 +3,6 @@ DIST hexview-1.0.0.tar.gz 2764 BLAKE2B 81bd2f8b0557f46835ba18b5b150b3a0373a7496f
DIST hexview-1.0.1.tar.gz 2806 BLAKE2B 1ded02abfc6c466bea19307cbd62becea39e7ff4199f6fbbc64de3208683eb5b8fc9320ba141528097a5bd11510c2fc155c9ae350194a68b5a24b546f1017ae1 SHA512 01d11c4d61309077c4f2f137d88e8bbe10f68f965a776dbf4c50c2e5a0203fddd1dd75e723821a5f7e8cf2dd9482781e66c5d3d047677f01668f11c6702a46e3
DIST hexview-1.0.2.tar.gz 3643 BLAKE2B 8451ee082cae99eda425adc7418715ba47026d5c62810f0547306da3cdcaed16a5af19d8ec8c567ad0d2e743acf449e4558cc09c8fe84c1d9cca274448fdaa1a SHA512 c25a63ab67fdb2592edd5bf08d0801731778034c7698ac4c2e5a89102813547c7b03edec7de8bf86635c7549f3873a3fe65767612da2b70b447d602e50bc46fa
DIST hexview-1.1.0.tar.gz 4113 BLAKE2B aef3d45bd32f7b219da368886ffcda41b390aba4e457e28fac0df577aa8526467b1f158efff8d749e777418998f65301739d4beee296882aaaf6a67eee958238 SHA512 70e1cc53dcf1cf234f7f7f1aa0441eb817db1ec2aaf42ad0d86713c27030ce8c1a671462d1256095b0b83191eda1dc89cbaf6cdc65f0ea8308a61dcce5e13f48
DIST hexview-1.1.1.tar.gz 4268 BLAKE2B cf6fff98aa3c5524f6eb1dc7174473acf6450d3d0e32a4083d5c7930acc71dd46cc3674732a178327e5c378b53d9007dbefe757bca65355e306e91088cf74394 SHA512 0d25a768eec0258c911f4b24e05cf731560b9b6ab551a85bada6e716ed7107fd3e82a35f31969762632056dc53d04b65b3939d4ca90c86c993abae79ece50abf
DIST hexview-1.2.1.tar.gz 4469 BLAKE2B df48365c7d8c5d788715ee306c1afc0ab8aa062fab6d1b1b97f606cc581e006a95f961e9db3d5bf202a0ec4892a0f4d57d7136efa756eea32f733b77263e6dce SHA512 dddb837503245d1991231fd95288e336e327c7ad718ef0ecd6ce91c9246143b056a80d77a948a4def81d740f328ba8d0b201e09bbf4c20abbda82b420175536d
DIST hexview-1.2.2.tar.gz 5338 BLAKE2B 33bd32e5af7f27d1c508b3c1939d1d38e5a46eabf081ebda2645acb43d918fda791405acf0a60d025fe664541fb356dcf818e3373650e7d4cd6876b3cfb3a0a0 SHA512 00dc386f20694e8e49a21147ebf9e94346ea45fdd6ff092fd2bbd23dd0eaa54278f31a3371d27fa9da9dfa61f7753661daaea3f3126cca9b6447ba1fbcf606d8

@ -0,0 +1,46 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="View hex of binary files"
HOMEPAGE="https://git.flanchan.moe/flanchan/hexview"
SRC_URI="https://git.flanchan.moe/flanchan/hexview/archive/v${PV}.tar.gz -> hexview-${PV}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND="dev-libs/libfmt"
IUSE="+fixed pgo debug"
REQUIRED_USE="pgo? ( !debug )"
src_unpack() {
default
mv ${WORKDIR}/hexview{,-${PV}}
}
src_compile() {
_HX_FEAT=""
use "fixed" && _HX_FEAT+="-DFIXED_ROW_SIZE=24 "
if use "pgo"; then
_HX_FEAT="${_HX_FEAT}" emake pgo
mv hexview-pgo hexview
elif use "debug"; then
_HX_FEAT="${_HX_FEAT}" emake debug
mv hexview-debug hexview
else
_HX_FEAT="${_HX_FEAT}" default
mv hexview-release hexview
fi
}
src_install() {
dobin hexview
}
Loading…
Cancel
Save