guru/app-misc/dpscreenocr/dpscreenocr-1.4.1.ebuild
Takuya Wakazono 1f7362c7ec
app-misc/dpscreenocr: add 1.4.1
Closes: https://bugs.gentoo.org/944222
Signed-off-by: Takuya Wakazono <pastalian46@gmail.com>
2025-03-31 23:59:09 +09:00

33 lines
667 B
Bash

# Copyright 2023-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit cmake xdg
DESCRIPTION="Program to recognize text on screen"
HOMEPAGE="https://danpla.github.io/dpscreenocr/"
SRC_URI="https://github.com/danpla/dpscreenocr/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="ZLIB"
SLOT="0"
KEYWORDS="~amd64"
# Add Qt and Xorg dependencies too
RDEPEND="
app-text/tesseract:=
dev-qt/qtbase:6[gui,widgets]
x11-libs/libX11
x11-libs/libXext
"
DEPEND="${RDEPEND}"
src_configure() {
local mycmakeargs=(
-DBUILD_SHARED_LIBS=OFF
-DDPSO_GEN_HTML_MANUAL=OFF
-DDPSO_QT_VERSION=6
)
cmake_src_configure
}