app-misc/dpscreenocr - 1.4.1 (guru)

Search

Install

Install this version:

emerge -a =app-misc/dpscreenocr-1.4.1

If this version is masked, you can unmask it using the autounmask tool or standard emerge options:

autounmask =app-misc/dpscreenocr-1.4.1

Or alternatively:

emerge --autounmask-write -a =app-misc/dpscreenocr-1.4.1

Package Information

Description:
Program to recognize text on screen
Homepage:
https://danpla.github.io/dpscreenocr/
License:
ZLIB

Ebuild Details

Version EAPI Keywords Slot
1.4.1 8 ~amd64 0
View Raw Ebuild
# 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
}

Inherited Eclasses

xdg

Dependencies

DEPEND

	app-text/tesseract:=
	dev-qt/qtbase:6[gui,widgets]
	x11-libs/libX11
	x11-libs/libXext

RDEPEND

	app-text/tesseract:=
	dev-qt/qtbase:6[gui,widgets]
	x11-libs/libX11
	x11-libs/libXext

Manifest for 1.4.1

Type File Size Source URLs
DIST dpscreenocr-1.4.1.tar.gz 311784 bytes https://github.com/danpla/dpscreenocr/archive/refs/tags/v1.4.1.tar.gz