Install this version:
emerge -a =app-text/unpaper-9999
If this version is masked, you can unmask it using the autounmask tool or standard emerge options:
autounmask =app-text/unpaper-9999
Or alternatively:
emerge --autounmask-write -a =app-text/unpaper-9999
# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit meson
if [[ ${PV} == *9999 ]]; then
EGIT_REPO_URI="https://github.com/Flameeyes/unpaper.git"
inherit git-r3
else
SRC_URI="https://www.flameeyes.eu/files/${P}.tar.xz"
KEYWORDS="~amd64 ~arm64 ~x86"
fi
DESCRIPTION="Post-processor for scanned and photocopied book pages"
HOMEPAGE="https://www.flameeyes.eu/projects/unpaper"
LICENSE="GPL-2"
SLOT="0"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="media-video/ffmpeg:=[encode(+)]"
DEPEND="${RDEPEND}"
BDEPEND="
app-text/docbook-xsl-ns-stylesheets
dev-libs/libxslt
dev-python/sphinx
test? ( dev-python/pytest )
"
Manage flags for this package:
euse -i <flag> -p app-text/unpaper |
euse -E <flag> -p app-text/unpaper |
euse -D <flag> -p app-text/unpaper
media-video/ffmpeg:=[encode(+)]
media-video/ffmpeg:=[encode(+)]
app-text/docbook-xsl-ns-stylesheets dev-libs/libxslt dev-python/sphinx test? ( dev-python/pytest )