update: fcmp-0.3.1

master
Avril 4 years ago
parent ae8ba11ce0
commit 0060d8f50f
Signed by: flanchan
GPG Key ID: 966FE03CC0E0B199

@ -2,3 +2,4 @@ DIST fcmp-0.1.0.tar.gz 1737 BLAKE2B f90a00d17db10da07ab75a2ac75dff06985437540e7f
DIST fcmp-0.1.1.tar.gz 14613 BLAKE2B c21ae434512d0305cf1fbc25ac361b2480ff43095b98d06fe4cfbeae43e8ad913c2de278411a8950f466cc9e500491ce4b583bd64023f1d2ca68fb4184d218dc SHA512 2640234317163f66e9f5b151822f72579f786126d5bbb1df8fd84a32078b31f1d10672b5c6d42e147753e21c6c23971b3a83c1f84afddf233e87acd3128b1a36 DIST fcmp-0.1.1.tar.gz 14613 BLAKE2B c21ae434512d0305cf1fbc25ac361b2480ff43095b98d06fe4cfbeae43e8ad913c2de278411a8950f466cc9e500491ce4b583bd64023f1d2ca68fb4184d218dc SHA512 2640234317163f66e9f5b151822f72579f786126d5bbb1df8fd84a32078b31f1d10672b5c6d42e147753e21c6c23971b3a83c1f84afddf233e87acd3128b1a36
DIST fcmp-0.2.0.tar.gz 15189 BLAKE2B e5f8040a97f740144331d758d19b967572ce7c8148cbb7cb0d6236ce8c92fa794a752baa8c26b528147f64ee5a92fd4f187167301a9e58ab92f1d1a7ed83a755 SHA512 aee45e73aa5a0d70e8e8f6b6474ef3e1c1b8e89cc0f5f29aff3b76a78ce2e31a8b348632ce9e5beb17071b4d7fddea6a37ecc6876caf4fe391939a8bdce7b6f9 DIST fcmp-0.2.0.tar.gz 15189 BLAKE2B e5f8040a97f740144331d758d19b967572ce7c8148cbb7cb0d6236ce8c92fa794a752baa8c26b528147f64ee5a92fd4f187167301a9e58ab92f1d1a7ed83a755 SHA512 aee45e73aa5a0d70e8e8f6b6474ef3e1c1b8e89cc0f5f29aff3b76a78ce2e31a8b348632ce9e5beb17071b4d7fddea6a37ecc6876caf4fe391939a8bdce7b6f9
DIST fcmp-0.3.0.tar.gz 17292 BLAKE2B 85e7aebd0bbc0584449c19848915c1ffa2ef32bb3515f62efe78ae3f9234aecb25d2ece1c26d6d9e95c8b590594f7f3f048c27777c93485935cb17413856b965 SHA512 7804e3188cce86eb4bac93feb635d451b4a871b91bcd6426939b145ffefc13725597205c7f8041c9c22cc6575c1fc3a29a08e23bd3023bddfef188660722726f DIST fcmp-0.3.0.tar.gz 17292 BLAKE2B 85e7aebd0bbc0584449c19848915c1ffa2ef32bb3515f62efe78ae3f9234aecb25d2ece1c26d6d9e95c8b590594f7f3f048c27777c93485935cb17413856b965 SHA512 7804e3188cce86eb4bac93feb635d451b4a871b91bcd6426939b145ffefc13725597205c7f8041c9c22cc6575c1fc3a29a08e23bd3023bddfef188660722726f
DIST fcmp-0.3.1.tar.gz 18590 BLAKE2B d67d2304c4ebbae0047cc822409076d3d1a11abaf2a15cee21874ee8371034d2b119f1be2651347c3de8feacd2d4bd0719a525bc0631f607520982b59a18e7e0 SHA512 037cfc768a6b4a6aad31e561ad0689ff9e78713dc8d12fcfe6d25432f14560ebd8087e1f161b8c94d8a101e4ba673f3c12d49dce74d2a024b75b2aa0aa672567

@ -0,0 +1,51 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Quickly compare files for identity"
HOMEPAGE="https://git.flanchan.moe/flanchan/fcmp"
SRC_URI="https://git.flanchan.moe/flanchan/fcmp/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND=""
RDEPEND="${DEPEND}"
BDEPEND=""
IUSE="debug threads pgo"
REQUIRED_USE="pgo? ( !debug )"
src_unpack() {
default
mv ${PN} ${P}
}
src_compile() {
local FEAT_CFLAGS
local FEAT_LDFLAGS
if use threads; then
FEAT_CFLAGS="-D_RUN_THREADED=0"
FEAT_LDFLAGS="-lpthread"
fi
if use debug; then
FEAT_CFLAGS="${FEAT_CFLAGS}" FEAT_LDFLAGS="${FEAT_LDFLAGS}" CFLAGS="" LDFLAGS="" emake debug
mv ${PN}-debug ${PN}
elif use pgo; then
FEAT_CFLAGS="${FEAT_CFLAGS}" FEAT_LDFLAGS="${FEAT_LDFLAGS}" RELEASE_CFLAGS="" RELEASE_LDFLAGS="" emake pgo
mv ${PN}-pgo ${PN}
else
FEAT_CFLAGS="${FEAT_CFLAGS}" FEAT_LDFLAGS="${FEAT_LDFLAGS}" RELEASE_CFLAGS="" RELEASE_LDFLAGS="" default
mv ${PN}-release ${PN}
fi
}
src_install() {
dobin ${PN}
}

@ -5,4 +5,7 @@
<email>avril@flanchan.moe</email> <email>avril@flanchan.moe</email>
<name>Flops</name> <name>Flops</name>
</maintainer> </maintainer>
<use>
<flag name="pgo">Build with Profile Guided Optimisation</flag>
</use>
</pkgmetadata> </pkgmetadata>

Loading…
Cancel
Save