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 6A50E1582ED for ; Sat, 22 Jun 2024 18:54:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 09E532BC0B1; Sat, 22 Jun 2024 18:54:42 +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 E128F2BC0B1 for ; Sat, 22 Jun 2024 18:54:41 +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 EFCDF33DF47 for ; Sat, 22 Jun 2024 18:54:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8A16C1D5B for ; Sat, 22 Jun 2024 18:54:37 +0000 (UTC) From: "Conrad Kostecki" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Conrad Kostecki" Message-ID: <1719082299.a8ed914a53b5e5654b5d9aeb8a07573dc77ad228.conikost@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/ocrad/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-text/ocrad/Manifest app-text/ocrad/ocrad-0.29.ebuild X-VCS-Directories: app-text/ocrad/ X-VCS-Committer: conikost X-VCS-Committer-Name: Conrad Kostecki X-VCS-Revision: a8ed914a53b5e5654b5d9aeb8a07573dc77ad228 X-VCS-Branch: master Date: Sat, 22 Jun 2024 18:54:37 +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: db206a37-69a5-4138-9f77-c2a74e688aec X-Archives-Hash: 3bb820252021e741d908368723d3f0b2 commit: a8ed914a53b5e5654b5d9aeb8a07573dc77ad228 Author: Michael Mair-Keimberger levelnine at> AuthorDate: Thu Jun 20 16:14:25 2024 +0000 Commit: Conrad Kostecki gentoo org> CommitDate: Sat Jun 22 18:51:39 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8ed914a app-text/ocrad: add 0.29 Signed-off-by: Michael Mair-Keimberger levelnine.at> Signed-off-by: Conrad Kostecki gentoo.org> app-text/ocrad/Manifest | 1 + app-text/ocrad/ocrad-0.29.ebuild | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/app-text/ocrad/Manifest b/app-text/ocrad/Manifest index e2db2e2b29da..a772136b8bff 100644 --- a/app-text/ocrad/Manifest +++ b/app-text/ocrad/Manifest @@ -1 +1,2 @@ DIST ocrad-0.27.tar.lz 91709 BLAKE2B 4dd152e6ccbd41d2ce7e7e3d4fc38e30af4f0bb9c36e32b1f32e67772347af133cf67a8b89c03d5c9924a1d4ffa009205b80609cdb96a59b3dbeb76709a8e8e1 SHA512 2a4731e0e26eefe6d37b08859c4d3cc2b54180411b0f846f7b7e873b9da5b4596ca3c6042ee42284a07aadfeb96d953dce3e95ce2410e48624d1b6020750539c +DIST ocrad-0.29.tar.lz 96519 BLAKE2B b5acb8fa3b3f02b7a0e5697b3ab4aa4ecc115c9d668192d6a4f533b787092c91449366df3603c73b926be61e5cb6b4e2d5406896ec79f931eb42dce104a424c5 SHA512 92503fbdb1877d9f8d4516fb7ba1c032868f5b3244f6547441a8a2bd84ff9f1c5a60c7347d748581e5f03014c2b7d2a8692bb4ecc3eacf18e2bf2232306976a8 diff --git a/app-text/ocrad/ocrad-0.29.ebuild b/app-text/ocrad/ocrad-0.29.ebuild new file mode 100644 index 000000000000..475d5d889a67 --- /dev/null +++ b/app-text/ocrad/ocrad-0.29.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit edo unpacker toolchain-funcs + +DESCRIPTION="OCR (Optical Character Recognition) program" +HOMEPAGE="https://www.gnu.org/software/ocrad/ocrad.html" +SRC_URI="mirror://nongnu/${PN}/${P}.tar.lz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" + +BDEPEND="$(unpacker_src_uri_depends)" + +src_configure() { + # ./configure is not based on autotools + edo ./configure \ + CPPFLAGS="${CPPFLAGS}" \ + CXX="$(tc-getCXX)" \ + CXXFLAGS="${CXXFLAGS}" \ + LDFLAGS="${LDFLAGS}" \ + --prefix=/usr +} + +src_compile() { + emake AR="$(tc-getAR)" +} + +src_install() { + default + + doman doc/${PN}.1 + doinfo doc/${PN}.info +}