From: "David Roman" <davidroman96@gmail.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:master commit in: app-misc/dpscreenocr/
Date: Mon, 6 Nov 2023 14:18:43 +0000 (UTC) [thread overview]
Message-ID: <1699136239.7aaedaa0bf8ec6b4b796a9d6a86a62ea73b340dd.davidroman@gentoo> (raw)
commit: 7aaedaa0bf8ec6b4b796a9d6a86a62ea73b340dd
Author: Benoît Dufour <benoit.dufour <AT> mail <DOT> com>
AuthorDate: Sat Nov 4 22:17:19 2023 +0000
Commit: David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Sat Nov 4 22:17:19 2023 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7aaedaa0
app-misc/dpscreenocr: new package, add 1.4.0
Signed-off-by: Benoît Dufour <benoit.dufour <AT> mail.com>
app-misc/dpscreenocr/Manifest | 1 +
app-misc/dpscreenocr/dpscreenocr-1.4.0.ebuild | 38 +++++++++++++++++++++++++++
2 files changed, 39 insertions(+)
diff --git a/app-misc/dpscreenocr/Manifest b/app-misc/dpscreenocr/Manifest
new file mode 100644
index 0000000000..5e32bf02dd
--- /dev/null
+++ b/app-misc/dpscreenocr/Manifest
@@ -0,0 +1 @@
+DIST v1.4.0.tar.gz 280237 BLAKE2B 1fe2241f29592729066e26e8ba7bbe02bbc5898457b1bbbd0b6155a6cd56c00c59481ddf7695b3337f1db5865c8d9e89f1c2bf01b855e18849dc6ccb5ea88b92 SHA512 8732c9f618479f84152e426651e9769cb61ee84f1ef2b46fe0b3679ae82627affe443a8162e68453a7bd70e21b79f621847b03c1a6e8771d1c188ebffaae4d19
diff --git a/app-misc/dpscreenocr/dpscreenocr-1.4.0.ebuild b/app-misc/dpscreenocr/dpscreenocr-1.4.0.ebuild
new file mode 100644
index 0000000000..129ece9ac9
--- /dev/null
+++ b/app-misc/dpscreenocr/dpscreenocr-1.4.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+CMAKE_MAKEFILE_GENERATOR="emake"
+inherit desktop cmake
+
+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"
+
+LICENSE="ZLIB"
+SLOT="0"
+KEYWORDS="~amd64"
+
+# Add Qt and Xorg dependencies too
+RDEPEND="app-text/tesseract
+ x11-libs/libXext
+ dev-qt/qtcore:5"
+DEPEND="${RDEPEND}"
+
+src_configure() {
+ local mycmakeargs=(
+ '-DCMAKE_BUILD_TYPE=Release'
+ )
+ cmake_src_configure
+}
+
+src_install() {
+ # the following installs non sense :
+ #cmake_src_install
+ dobin "${WORKDIR}/${P}_build/dpscreenocr"
+ domenu "${WORKDIR}/${P}_build/dpscreenocr.desktop"
+ dolib.so "${WORKDIR}/${P}_build/src/dpso/libdpso.so"
+ dolib.so "${WORKDIR}/${P}_build/src/dpso_ext/libdpso_ext.so"
+ dolib.so "${WORKDIR}/${P}_build/src/dpso_utils/libdpso_utils.so"
+}
next reply other threads:[~2023-11-06 14:18 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-11-06 14:18 David Roman [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-05-15 12:36 [gentoo-commits] repo/proj/guru:master commit in: app-misc/dpscreenocr/ Julien Roy
2024-11-20 13:05 David Roman
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1699136239.7aaedaa0bf8ec6b4b796a9d6a86a62ea73b340dd.davidroman@gentoo \
--to=davidroman96@gmail.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox