summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'gnustep-base')
-rw-r--r--gnustep-base/gnustep-gui/Manifest1
-rw-r--r--gnustep-base/gnustep-gui/gnustep-gui-0.31.1.ebuild56
2 files changed, 57 insertions, 0 deletions
diff --git a/gnustep-base/gnustep-gui/Manifest b/gnustep-base/gnustep-gui/Manifest
index d3fd7834bdb1..099e33ad79d7 100644
--- a/gnustep-base/gnustep-gui/Manifest
+++ b/gnustep-base/gnustep-gui/Manifest
@@ -1,2 +1,3 @@
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
+DIST gnustep-gui-0.31.1.tar.gz 3103556 BLAKE2B 633e2dc012c40e56cb62f430631c568b88e6ba5f39d4deb4c89ca9767614dab17793e484e7e77f4cf0b4e764059f2697bd1f531bb2a0f85f3eaeac1a75a2d738 SHA512 82c598d6fc962716c930eb27419c9c8296d663053cfef0f489e1f28dd1fac054d18859e9cc60f246c2a53a175404c1c8db0b36a90ad372c80d0158bc24ff4d69
diff --git a/gnustep-base/gnustep-gui/gnustep-gui-0.31.1.ebuild b/gnustep-base/gnustep-gui/gnustep-gui-0.31.1.ebuild
new file mode 100644
index 000000000000..f0eb4a44baa6
--- /dev/null
+++ b/gnustep-base/gnustep-gui/gnustep-gui-0.31.1.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2024 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 icu jpeg png speech"
+
+DEPEND="${GNUSTEP_CORE_DEPEND}
+ app-text/aspell
+ >=gnustep-base/gnustep-base-1.3.0:=[icu?]
+ media-libs/audiofile
+ >=media-libs/giflib-4.1:=
+ >=media-libs/tiff-3:=
+ x11-libs/libXt
+ cups? ( >=net-print/cups-1.7.4:= )
+ 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
+
+ econf \
+ $(use_enable cups) \
+ $(use_enable icu) \
+ $(use_enable jpeg) \
+ $(use_enable png) \
+ $(use_enable speech) \
+ --disable-ungif --enable-libgif \
+ --with-tiff-include="${EPREFIX}"/usr/include \
+ --with-tiff-library="${EPREFIX}"/usr/$(get_libdir)
+}
+
+src_test() {
+ virtx default
+}