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 E76FF15800F for ; Tue, 7 Feb 2023 17:41:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 26246E07D3; Tue, 7 Feb 2023 17:41:46 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0B4FEE07D3 for ; Tue, 7 Feb 2023 17:41:46 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0ACF3335CAF for ; Tue, 7 Feb 2023 17:41:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 334F57FB for ; Tue, 7 Feb 2023 17:41:43 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1675791694.2de480c1daabf3f344f99fed5bd06221f968e872.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-cpp/antlr-cpp/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-cpp/antlr-cpp/Manifest dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild X-VCS-Directories: dev-cpp/antlr-cpp/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 2de480c1daabf3f344f99fed5bd06221f968e872 X-VCS-Branch: master Date: Tue, 7 Feb 2023 17:41: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: 2332212b-a55b-418e-94a3-2449c4631d0d X-Archives-Hash: e8a33e0e7acf4ccd6e600bea5e934093 commit: 2de480c1daabf3f344f99fed5bd06221f968e872 Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue Feb 7 17:39:11 2023 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Feb 7 17:41:34 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2de480c1 dev-cpp/antlr-cpp: Revert "drop 4.7.2" Required by gentoo.org> dev-cpp/antlr-cpp/Manifest | 1 + dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/dev-cpp/antlr-cpp/Manifest b/dev-cpp/antlr-cpp/Manifest index c5e406866b43..11c2ebb8722f 100644 --- a/dev-cpp/antlr-cpp/Manifest +++ b/dev-cpp/antlr-cpp/Manifest @@ -1,2 +1,3 @@ DIST antlr-2.7.7.tar.gz 1816180 BLAKE2B 3a9a51070f8651befeb4d22be344b544e119db34a78522828c2ffc3c481c14b9c7784f0a9997a61f6faedde5b6d1fe12214cfd84fb274f7065f3ffe6a44abf1c SHA512 faa72d2ddcba434ef1233e70c1549e63eba67c00793966322e821cf7f015cccb804448cb92d8fbef0429f59928fad65ec954f8ffbda0acbb8e983de0806d349d DIST antlr-cpp-4.11.1.zip 534105 BLAKE2B acf854bb8f10f8afdb8df9aa1fa92176edc66bfe3e33ca4b57e138e29f7d8512dc0a31aee057e5997ca9e37ca7934c459ef725e831d34166c189a2ed7e6fbc51 SHA512 47a4f714cf195e454b4f66cace58f6dbaa144f44c25594735fc91b37289e9b3c8b5259c03925316754d3eb33af3e0b3d3fb0c5c9aef818b239799e4f1fb49ce6 +DIST antlr-cpp-4.7.2.zip 1494927 BLAKE2B 007aac6655dc3c4e3a0c2073ca9c8c016b46bdf97dca4494d4ea2c44d27a458bfbb09811b3beb0aec1ce2873c3b62ad6789c6a9e3e7ddc62cde51c8357e9123b SHA512 3298b83a06ddd8d8852462401e46fe2eb83d20af4ba14c722cb31b33d929d1c5a4ffb694ee084495a4ae26ed3246b6781ca6045d11253c94efc09729fa001090 diff --git a/dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild b/dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild new file mode 100644 index 000000000000..52506025d51d --- /dev/null +++ b/dev-cpp/antlr-cpp/antlr-cpp-4.7.2.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="The ANTLR 4 C++ Runtime" +HOMEPAGE="https://www.antlr.org/" +SRC_URI="https://www.antlr.org/download/antlr4-cpp-runtime-${PV}-source.zip -> ${P}.zip" +S="${WORKDIR}" + +LICENSE="BSD" +SLOT="4" +KEYWORDS="amd64 ~arm ~ppc x86" + +BDEPEND="app-arch/unzip" + +src_prepare() { + sed -i -e "s#DESTINATION lib#DESTINATION $(get_libdir)#" \ + "${S}"/runtime/CMakeLists.txt || die "failed sed" + + sed -i -e "s#share/doc/libantlr4#share/doc/${PF}#g" \ + "${S}"/CMakeLists.txt || die "failed sed" + + cmake_src_prepare +}