Ту самую, которая обозначается буквой b в выхлопе портажа. У меня сейчас это выглядит так:
# Copyright 2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit multilib rpm desktop
DESCRIPTION="Reader for ebooks in the formats fb2, mobi and epub"
HOMEPAGE="https://fbreader.org"
SRC_URI="
amd64? ( https://fbreader.org/static/packages/linux/fbreader-${PV}-1.fc38.x86_64.rpm -> ${P}.x86_64.rpm )
arm64? ( https://fbreader.org/static/packages/linux/fbreader-${PV}-1.fc38.aarch64.rpm -> ${P}.aarch64.rpm )"
RESTRICT="test"
LICENSE="EULA"
SLOT="0"
KEYWORDS="~amd64 -arm64"
DEPEND="
<dev-libs/icu-73.0
dev-qt/qtbase:6
"
RDEPEND="
!app-text/fbreader
${DEPEND}"
BDEPEND=""
S="${WORKDIR}"
QA_PREBUILT="/opt/fbreader/"
pkg_preinst()
{
mkdir -p ${QA_PREBUILT}
}
pkg_postrm()
{
rm -rf ${QA_PREBUILT}
}
src_install()
{
default
exeinto ${QA_PREBUILT}
dostrip "{WORKDIR}/usr/binFBReader"
doexe "${WORKDIR}/usr/bin/FBReader"
domenu "${WORKDIR}/usr/share/applications/fbreader.desktop"
doicon "${WORKDIR}/usr/share/icons/fbreader.png"
}
Сейчас тестовый запуск выдает такое:
emerge -pv fbreader-bin
These are the packages that would be merged, in order:
Calculating dependencies... done!
Dependency resolution took 25.37 s.
[ebuild UD ] dev-libs/icu-72.1:0/72.1::gentoo [73.1-r2:0/73.1::gentoo] USE="-debug -doc -examples -static-libs -test -verify-sig" ABI_X86="32 (64) (-x32)" 25 688 KiB
[ebuild N ] app-text/fbreader-bin-2.0.1::localrepo 0 KiB
[blocks B ] app-text/fbreader ("app-text/fbreader" is soft blocking app-text/fbreader-bin-2.0.1)
Total: 2 packages (1 downgrade, 1 new), Size of downloads: 25 688 KiB
Conflict: 1 block (1 unsatisfied)
Всем спасибо.
Перемещено hobbit из general