From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CC550158089 for ; Mon, 6 Nov 2023 14:18:50 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C898F2BC0A8; Mon, 6 Nov 2023 14:18:48 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id ABD6C2BC0A8 for ; Mon, 6 Nov 2023 14:18:48 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C2C8C335CD6 for ; Mon, 6 Nov 2023 14:18:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AD277132D for ; Mon, 6 Nov 2023 14:18:43 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1699136239.7aaedaa0bf8ec6b4b796a9d6a86a62ea73b340dd.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: app-misc/dpscreenocr/ X-VCS-Repository: repo/proj/guru X-VCS-Files: app-misc/dpscreenocr/Manifest app-misc/dpscreenocr/dpscreenocr-1.4.0.ebuild X-VCS-Directories: app-misc/dpscreenocr/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: 7aaedaa0bf8ec6b4b796a9d6a86a62ea73b340dd X-VCS-Branch: master Date: Mon, 6 Nov 2023 14:18:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 44395176-1be6-42bf-a315-14210dbf7ee6 X-Archives-Hash: 79330e9f476806ccbcdaa1b276e8c5c0 commit: 7aaedaa0bf8ec6b4b796a9d6a86a62ea73b340dd Author: Benoît Dufour mail com> AuthorDate: Sat Nov 4 22:17:19 2023 +0000 Commit: David Roman gmail 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 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" +}