summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2024-07-21 23:34:08 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2024-07-21 23:34:08 +0200
commit330de41b28c177e97b7d4f755391d5d494db8c9e (patch)
treebbfcacf6954a44be7ddbd6bfd0b5a776a3eafae5 /gnustep-base
parentgnustep-apps/aclock: fix init issue (diff)
downloadgentoo-330de41b28c177e97b7d4f755391d5d494db8c9e.tar.gz
gentoo-330de41b28c177e97b7d4f755391d5d494db8c9e.tar.bz2
gentoo-330de41b28c177e97b7d4f755391d5d494db8c9e.zip
gnustep-base/libobjc2: add 2.2.1
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'gnustep-base')
-rw-r--r--gnustep-base/libobjc2/Manifest1
-rw-r--r--gnustep-base/libobjc2/libobjc2-2.2.1.ebuild29
2 files changed, 30 insertions, 0 deletions
diff --git a/gnustep-base/libobjc2/Manifest b/gnustep-base/libobjc2/Manifest
index b82c56d4e4f9..f416b7535beb 100644
--- a/gnustep-base/libobjc2/Manifest
+++ b/gnustep-base/libobjc2/Manifest
@@ -1 +1,2 @@
+DIST libobjc2-2.2.1.tar.gz 205087 BLAKE2B 84c09d4352d9db0de75531d46e542905617ba1b5df60ac718a32ec4eaeebc620ad1807d6480983a65f0a0a7863eff575568dfab3e32475cb8364d39d4a187587 SHA512 294db277da1ad929813cbb6c7ae1b5b9dfd9dcb6ceec157b9ec59bca85202c6f344ad8ba8ab3731b83abc5f72c2ab1cb88a79947e56eb92e87dcf62584169af9
DIST libobjc2-2.2.tar.gz 203442 BLAKE2B 87a1a50e97f27f347ea9edfbaed1e7938f9fd090e1726d5564215326a607b59cc763729396f4de7634a2f199ada822e8244950f6f77f501e59d1d2423cf75076 SHA512 4e49dc00be5a9282678b7cd4793ef1c4202e4a7f26dba2a170f0ff77b0f311c0f44eb72093a01367be34f12156ffd07fec40067162b9c0e4f561ec0784ab0643
diff --git a/gnustep-base/libobjc2/libobjc2-2.2.1.ebuild b/gnustep-base/libobjc2/libobjc2-2.2.1.ebuild
new file mode 100644
index 000000000000..6e91f4972f94
--- /dev/null
+++ b/gnustep-base/libobjc2/libobjc2-2.2.1.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit cmake
+
+DESCRIPTION="GNUstep Objective-C runtime"
+HOMEPAGE="https://gnustep.github.io"
+SRC_URI="https://github.com/gnustep/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="dev-cpp/robin-map"
+BDEPEND="${RDEPEND}
+ sys-devel/clang"
+
+src_configure() {
+ export CC="clang"
+ export CXX="clang++"
+ local mycmakeargs=(
+ -DGNUSTEP_CONFIG=GNUSTEP_CONFIG-NOTFOUND
+ -DTESTS="$(usex test)"
+ )
+ cmake_src_configure
+}