commit:     91711b6e185079f340a59f2ab13c003f230d2bb7
Author:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 21 21:01:10 2024 +0000
Commit:     Bernard Cafarelli <voyageur <AT> gentoo <DOT> org>
CommitDate: Sun Jul 21 21:31:32 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91711b6e

gnustep-base/gnustep-base: add 1.30.0

Signed-off-by: Bernard Cafarelli <voyageur <AT> gentoo.org>

 gnustep-base/gnustep-base/Manifest                 |  1 +
 .../gnustep-base/gnustep-base-1.30.0.ebuild        | 77 ++++++++++++++++++++++
 2 files changed, 78 insertions(+)

diff --git a/gnustep-base/gnustep-base/Manifest 
b/gnustep-base/gnustep-base/Manifest
index 95212822550b..5f551eea26b3 100644
--- a/gnustep-base/gnustep-base/Manifest
+++ b/gnustep-base/gnustep-base/Manifest
@@ -1,2 +1,3 @@
 DIST gnustep-base-1.28.0.tar.gz 4246622 BLAKE2B 
fdaa834ea3cb13b1d4717c2c7e6b59eff05d16e6a404ffed5f4ccfa2ee3db93ecfee5b95cc30be6a388f56fa28c67f1278ea298f222260dcc24abadaa1cb5e8f
 SHA512 
e173fab28aa1b1df38de4216916db18934422a1d372b9fe6a68a6ff21b2ac0be38aa02631179a8ad62a4f2848080223f34771b364b1c0eebc96c84778677c50b
 DIST gnustep-base-1.29.0.tar.gz 3697809 BLAKE2B 
9810e6220df79e75130e8e3cdda5d8c42e1e05351461920549e3163752eccc9fa4bb375c36a8b987877cf557140e961dda7e0fac1c1c9affdb38893567695ddf
 SHA512 
19e876f32e4dce403beeb5522ae942c23cc2b947217a38fd045a495d81b3734a8cf160fb768d8cff64c45d8ae63ba422658f705519786016d3e8216efe0a044c
+DIST gnustep-base-1.30.0.tar.gz 3730872 BLAKE2B 
e4ceb975f65efee16b50bd82af1fcec9e91c92c296f5c1a990254ce58845f8e1b5a58b725214e90aade704ff631e6e2ec87adf7a8dc85c7e783fd53297d9e862
 SHA512 
c13d77a502f053dce425aa80995c97c397afe07b2b6a794f3d129ff2810d018288af18f656d30fa071e34a1d2f74b80896f67538a4142b56058f3d39ee2719af

diff --git a/gnustep-base/gnustep-base/gnustep-base-1.30.0.ebuild 
b/gnustep-base/gnustep-base/gnustep-base-1.30.0.ebuild
new file mode 100644
index 000000000000..1ed0a1d4eeb2
--- /dev/null
+++ b/gnustep-base/gnustep-base/gnustep-base-1.30.0.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit gnustep-base toolchain-funcs
+
+DESCRIPTION="A library of general-purpose, non-graphical Objective C objects"
+HOMEPAGE="https://gnustep.github.io";
+SRC_URI="https://github.com/gnustep/libs-base/releases/download/base-${PV//./_}/${P}.tar.gz";
+
+LICENSE="GPL-2 LGPL-2.1"
+SLOT="0/$(ver_cut 1-2)"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="+gnutls +iconv +icu +libffi zeroconf"
+
+RDEPEND="${GNUSTEP_CORE_DEPEND}
+       >=gnustep-base/gnustep-make-2.6.0
+       gnutls? ( net-libs/gnutls:= )
+       iconv? ( virtual/libiconv )
+       icu? ( >=dev-libs/icu-49.0:= )
+       libffi? ( dev-libs/libffi:= )
+       !libffi? (
+               dev-libs/ffcall
+               gnustep-base/gnustep-make[-native-exceptions]
+       )
+       >=dev-libs/libxml2-2.6
+       >=dev-libs/libxslt-1.1
+       >=dev-libs/gmp-4.1:=
+       >=sys-libs/zlib-1.2
+       zeroconf? ( net-dns/avahi )"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+PATCHES=(
+       "${FILESDIR}"/${PN}-1.26.0-no_compress_man.patch
+)
+
+src_configure() {
+       egnustep_env
+
+       local myconf=(
+               $(use_enable libffi)
+               $(use_enable !libffi ffcall)
+       )
+       use libffi &&
+               myconf+=( --with-ffi-include=$($(tc-getPKG_CONFIG) 
--variable=includedir libffi) )
+
+       myconf+=(
+               $(use_enable gnutls tls)
+               $(use_enable iconv)
+               $(use_enable icu)
+               $(use_enable zeroconf)
+               --with-xml-prefix="${ESYSROOT}"/usr
+               --with-gmp-include="${ESYSROOT}"/usr/include
+               --with-gmp-library="${ESYSROOT}"/usr/$(get_libdir)
+               --with-default-config="${ESYSROOT}"/etc/GNUstep/GNUstep.conf
+       )
+
+       econf "${myconf[@]}"
+}
+
+src_install() {
+       # We need to set LD_LIBRARY_PATH because the doc generation program
+       # uses the gnustep-base libraries. Since egnustep_env "cleans the
+       # environment" including our LD_LIBRARY_PATH, we're left no choice
+       # but doing it like this.
+
+       egnustep_env
+       egnustep_install
+
+       if use doc ; then
+               export LD_LIBRARY_PATH="${S}/Source/obj:${LD_LIBRARY_PATH}"
+               egnustep_doc
+       fi
+       egnustep_install_config
+}

Reply via email to