update: hexview-1.2.3

master
Avril 3 years ago
parent 9602b76a59
commit eab84c19ff
Signed by: flanchan
GPG Key ID: 966FE03CC0E0B199

@ -6,3 +6,4 @@ DIST hexview-1.1.0.tar.gz 4113 BLAKE2B aef3d45bd32f7b219da368886ffcda41b390aba4e
DIST hexview-1.1.1.tar.gz 4268 BLAKE2B cf6fff98aa3c5524f6eb1dc7174473acf6450d3d0e32a4083d5c7930acc71dd46cc3674732a178327e5c378b53d9007dbefe757bca65355e306e91088cf74394 SHA512 0d25a768eec0258c911f4b24e05cf731560b9b6ab551a85bada6e716ed7107fd3e82a35f31969762632056dc53d04b65b3939d4ca90c86c993abae79ece50abf 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.1.tar.gz 4469 BLAKE2B df48365c7d8c5d788715ee306c1afc0ab8aa062fab6d1b1b97f606cc581e006a95f961e9db3d5bf202a0ec4892a0f4d57d7136efa756eea32f733b77263e6dce SHA512 dddb837503245d1991231fd95288e336e327c7ad718ef0ecd6ce91c9246143b056a80d77a948a4def81d740f328ba8d0b201e09bbf4c20abbda82b420175536d
DIST hexview-1.2.2.tar.gz 5338 BLAKE2B 33bd32e5af7f27d1c508b3c1939d1d38e5a46eabf081ebda2645acb43d918fda791405acf0a60d025fe664541fb356dcf818e3373650e7d4cd6876b3cfb3a0a0 SHA512 00dc386f20694e8e49a21147ebf9e94346ea45fdd6ff092fd2bbd23dd0eaa54278f31a3371d27fa9da9dfa61f7753661daaea3f3126cca9b6447ba1fbcf606d8 DIST hexview-1.2.2.tar.gz 5338 BLAKE2B 33bd32e5af7f27d1c508b3c1939d1d38e5a46eabf081ebda2645acb43d918fda791405acf0a60d025fe664541fb356dcf818e3373650e7d4cd6876b3cfb3a0a0 SHA512 00dc386f20694e8e49a21147ebf9e94346ea45fdd6ff092fd2bbd23dd0eaa54278f31a3371d27fa9da9dfa61f7753661daaea3f3126cca9b6447ba1fbcf606d8
DIST hexview-1.2.3.tar.gz 5275 BLAKE2B 2c8086bb12d1207ab23708eef64bb7d93d263a5de63c4ce47a19d142ca77fa44aa4d89fcc70da6e4db6beff48afb18a26227acbcd22ccc828f7d92015cc19f78 SHA512 963d745b0c4a8ee20898a70e1ed7a9cef3ea99687d75b94e4012eb3656f1be72708baa227eaec3f1ab606b966b2b28acb4417c0f0246e3588fdd7d1b0a716c18

@ -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