summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRalph Seichter <github@seichter.de>2019-08-10 18:49:24 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2019-08-23 13:49:40 +0200
commite5a49a93f520369ebeff4a9e44c2d72e96944a26 (patch)
tree00708980c999626d5bd4cd9f52cf662943dc2faf /gnustep-base/libobjc2
parentapp-emacs/pov-mode: Update HOMEPAGE and SRC_URI. (diff)
downloadgentoo-e5a49a93f520369ebeff4a9e44c2d72e96944a26.tar.gz
gentoo-e5a49a93f520369ebeff4a9e44c2d72e96944a26.tar.bz2
gentoo-e5a49a93f520369ebeff4a9e44c2d72e96944a26.zip
gnustep-base/libobjc2: bump to release 2.0 and EAPI 7
GNUstep Objective-C Runtime release 2.0. Ebuild now uses EAPI 7. See also bug #687368. Bug: https://bugs.gentoo.org/687368 Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Ralph Seichter <gentoo@seichter.de> Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'gnustep-base/libobjc2')
-rw-r--r--gnustep-base/libobjc2/Manifest1
-rw-r--r--gnustep-base/libobjc2/libobjc2-2.0.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/gnustep-base/libobjc2/Manifest b/gnustep-base/libobjc2/Manifest
index b3b22714df2a..8de99af580c5 100644
--- a/gnustep-base/libobjc2/Manifest
+++ b/gnustep-base/libobjc2/Manifest
@@ -1,2 +1,3 @@
DIST libobjc2-1.8.1.tar.gz 173635 BLAKE2B 1ed9df6ee934a56dd8565904f9a402f5687bac6f876bcef538fed60c4ebd34af8f35921bdabbdf1ad97fb371e591aea3e47170afaffe65056af07c88e01f0b37 SHA512 518f36e96a82a076fc67fe384226bd97310cd10a53c7b0951db9f3658aa534582b245d5cb97956fe91c38338c3fc8f1e569dd8af36f6d12e32bf1460251d02eb
DIST libobjc2-1.8.tar.gz 173512 BLAKE2B ba494dd2db2bfdcc2cfce906014d75146368f049ebe4ea6b83024705af2b78f916252a084b95be43c245c5fd6574d00db75853d291193ea70cc48a6b5dbeab93 SHA512 1562e42dc43a24c1655d02db7aa101a48a7b026bec23252c8eec3893fbac0d67368685291df0954ee79f07b92ecc13c68ee7c7b0f351428a31e99ed05ed2230d
+DIST libobjc2-2.0.tar.gz 191800 BLAKE2B 71f54b1410e20bb638dce4cae8c2cc48ea07acf31a97f1994587a9f6401b725ac393abaef355e9476ef6a0622d80fb6fbe4b3c7f39294e7bedbba17cd4108278 SHA512 2b72506204b8fea6a76688ee96611613c4b7cf98942acc89905c531f4dc997ae0482ff10fa819c2471df6c06d5ebcd251167d8903a4f18d47507cd42baec3748
diff --git a/gnustep-base/libobjc2/libobjc2-2.0.ebuild b/gnustep-base/libobjc2/libobjc2-2.0.ebuild
new file mode 100644
index 000000000000..2d26e238d117
--- /dev/null
+++ b/gnustep-base/libobjc2/libobjc2-2.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit cmake-utils eutils
+
+DESCRIPTION="GNUstep Objective-C runtime"
+HOMEPAGE="http://www.gnustep.org"
+SRC_URI="https://github.com/gnustep/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="boehm-gc test"
+
+RDEPEND="boehm-gc? ( dev-libs/boehm-gc )
+ sys-libs/libcxx"
+BDEPEND="${RDEPEND}
+ sys-devel/clang"
+
+src_configure() {
+ export CC="clang"
+ export CXX="clang++"
+ local mycmakeargs=(
+ -DGNUSTEP_CONFIG=GNUSTEP_CONFIG-NOTFOUND
+ -DBOEHM_GC="$(usex boehm-gc)"
+ -DTESTS="$(usex test)"
+ )
+ cmake-utils_src_configure
+}