summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2023-11-23 22:42:05 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2023-11-23 22:53:04 +0100
commitd1fbd9eb67a91e85eea1c0b232682ea9394f7a9e (patch)
tree0190ba3daf5bb46fbac7f7f14057d175c2de3741 /gnustep-base
parentvirtual/gnustep-back: add 0.30.0 (diff)
downloadgentoo-d1fbd9eb67a91e85eea1c0b232682ea9394f7a9e.tar.gz
gentoo-d1fbd9eb67a91e85eea1c0b232682ea9394f7a9e.tar.bz2
gentoo-d1fbd9eb67a91e85eea1c0b232682ea9394f7a9e.zip
gnustep-base/gnustep-gui: add 0.30.0
Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'gnustep-base')
-rw-r--r--gnustep-base/gnustep-gui/Manifest1
-rw-r--r--gnustep-base/gnustep-gui/gnustep-gui-0.30.0.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/gnustep-base/gnustep-gui/Manifest b/gnustep-base/gnustep-gui/Manifest
index 99831e7bf2d2..4cb6898c1409 100644
--- a/gnustep-base/gnustep-gui/Manifest
+++ b/gnustep-base/gnustep-gui/Manifest
@@ -1,2 +1,3 @@
DIST gnustep-gui-0.28.0.tar.gz 2933013 BLAKE2B d6076fde3d90625059907d3fb7a3a8edc9ed37a02f31b249f7d8e84a0f1a11ade6aa5e7aa6ac6bf394f561c98259500b342bb828fb583ce847e402101bb7d0f9 SHA512 9c5b979c908f63c99a6d050c2f2b9f50aedad440645c6e9045e78f631335ab3290ae09f69128d57b8b88ffb063d118d3f62f45ccecde99bb135de6c60b46586f
DIST gnustep-gui-0.29.0.tar.gz 2994299 BLAKE2B 6624321e4df3fa7aef659f5c4d364d4f39790c47f9093ff84a87d7535ff1819b0fa331461d442ad0dcec1dbd5cf27e902972b039f6464b2f1330a54807faeea2 SHA512 bbb413d5b391d2e6e30c2f875913b1c7497d5408e595160e51d3ba5b15dd014b531d411861cb8d094a1a21a8f405ff22c4374874dd52a669d1d9738f4a9ddeef
+DIST gnustep-gui-0.30.0.tar.gz 3044530 BLAKE2B 6bd35b579c752a0b949ab1f84b56f96be21a5c3afdb28394fff71399b32f90f7cfbe85c443515b609db4879656c19886a71e5be1bbfcbd4feb79f24fc59f9f5c SHA512 6825c32811ba0e4fb5b97d01055c5fe72a025de8eeb78b75409fe7535e365c9aa7b8146ba22c2ed7b59ae6174c1adabe80f58c9ffb72d8f6bc08ab28a06830f5
diff --git a/gnustep-base/gnustep-gui/gnustep-gui-0.30.0.ebuild b/gnustep-base/gnustep-gui/gnustep-gui-0.30.0.ebuild
new file mode 100644
index 000000000000..8bbccd8f2ea8
--- /dev/null
+++ b/gnustep-base/gnustep-gui/gnustep-gui-0.30.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit gnustep-base multilib virtualx
+
+DESCRIPTION="Library of GUI classes written in Obj-C"
+HOMEPAGE="https://gnustep.github.io/"
+SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/${P}.tar.gz"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux"
+IUSE="cups gif icu jpeg png speech"
+
+DEPEND="${GNUSTEP_CORE_DEPEND}
+ app-text/aspell
+ >=gnustep-base/gnustep-base-1.28.0:=[icu?]
+ media-libs/audiofile
+ >=media-libs/tiff-3:=
+ x11-libs/libXt
+ cups? ( >=net-print/cups-1.7.4:= )
+ gif? ( >=media-libs/giflib-4.1:= )
+ icu? ( dev-libs/icu:= )
+ jpeg? ( media-libs/libjpeg-turbo:= )
+ png? ( >=media-libs/libpng-1.2:= )
+ speech? ( app-accessibility/flite )"
+RDEPEND="${DEPEND}"
+
+src_prepare() {
+ gnustep-base_src_prepare
+
+ # remove hardcoded -g -Werror, bug #378179
+ sed -i -e 's/-g -Werror//' \
+ Tools/say/GNUmakefile \
+ Tools/speech/GNUmakefile \
+ || die
+}
+
+src_configure() {
+ egnustep_env
+
+ local myconf=
+ use gif && myconf="--disable-ungif --enable-libgif"
+
+ econf \
+ $(use_enable cups) \
+ $(use_enable icu) \
+ $(use_enable jpeg) \
+ $(use_enable png) \
+ $(use_enable speech) \
+ --with-tiff-include="${EPREFIX}"/usr/include \
+ --with-tiff-library="${EPREFIX}"/usr/$(get_libdir) \
+ ${myconf}
+}
+
+src_test() {
+ virtx default
+}