summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2021-06-03 23:00:46 +0200
committerBernard Cafarelli <voyageur@gentoo.org>2021-06-03 23:20:30 +0200
commita1086c1889d52e37f4db8b2c1a838ebe08926b01 (patch)
tree83d0e2ec892f983076252ec6ec3458fd711e32e2 /gnustep-base/gnustep-gui
parentgnustep-base/gnustep-base: 1.28.0 bump (diff)
downloadgentoo-a1086c1889d52e37f4db8b2c1a838ebe08926b01.tar.gz
gentoo-a1086c1889d52e37f4db8b2c1a838ebe08926b01.tar.bz2
gentoo-a1086c1889d52e37f4db8b2c1a838ebe08926b01.zip
gnustep-base/gnustep-gui: 0.29.0 bump
Package-Manager: Portage-3.0.19, Repoman-3.0.3 Signed-off-by: Bernard Cafarelli <voyageur@gentoo.org>
Diffstat (limited to 'gnustep-base/gnustep-gui')
-rw-r--r--gnustep-base/gnustep-gui/Manifest1
-rw-r--r--gnustep-base/gnustep-gui/gnustep-gui-0.29.0.ebuild59
2 files changed, 60 insertions, 0 deletions
diff --git a/gnustep-base/gnustep-gui/Manifest b/gnustep-base/gnustep-gui/Manifest
index 1ec5139bcc0a..99831e7bf2d2 100644
--- a/gnustep-base/gnustep-gui/Manifest
+++ b/gnustep-base/gnustep-gui/Manifest
@@ -1 +1,2 @@
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
diff --git a/gnustep-base/gnustep-gui/gnustep-gui-0.29.0.ebuild b/gnustep-base/gnustep-gui/gnustep-gui-0.29.0.ebuild
new file mode 100644
index 000000000000..3269a179b262
--- /dev/null
+++ b/gnustep-base/gnustep-gui/gnustep-gui-0.29.0.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit gnustep-base multilib virtualx
+
+DESCRIPTION="Library of GUI classes written in Obj-C"
+HOMEPAGE="http://www.gnustep.org/"
+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 ~x86-solaris"
+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? ( virtual/jpeg:= )
+ 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
+}