summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernard Cafarelli <voyageur@gentoo.org>2018-01-09 17:14:48 +0100
committerBernard Cafarelli <voyageur@gentoo.org>2018-01-09 17:27:11 +0100
commit05e975093d09adeca042f86a0d438f3c931c1838 (patch)
treebcb9f675af6ea0f5c7194207a31de09ee4c5ad23 /gnustep-base
parentgnustep-base/gnustep-base: 1.25.1 bump (diff)
downloadgentoo-05e975093d09adeca042f86a0d438f3c931c1838.tar.gz
gentoo-05e975093d09adeca042f86a0d438f3c931c1838.tar.bz2
gentoo-05e975093d09adeca042f86a0d438f3c931c1838.zip
gnustep-base/gnustep-gui: 0.26.2 bump
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'gnustep-base')
-rw-r--r--gnustep-base/gnustep-gui/Manifest1
-rw-r--r--gnustep-base/gnustep-gui/gnustep-gui-0.26.2.ebuild55
2 files changed, 56 insertions, 0 deletions
diff --git a/gnustep-base/gnustep-gui/Manifest b/gnustep-base/gnustep-gui/Manifest
index 5e5518b42b1..b7e2aaaa026 100644
--- a/gnustep-base/gnustep-gui/Manifest
+++ b/gnustep-base/gnustep-gui/Manifest
@@ -1,2 +1,3 @@
DIST gnustep-gui-0.25.0.tar.gz 2882556 BLAKE2B 65ac762c5dcc0419d275f2418de695131f87df804350c93dfbcde3a33d7ddd3038b1a4a1fdef2a4b0bfce2a75d21b5b5b46b6837830d701884324ae3bd394b7d SHA512 568c0c9160febbd9bc563bfc7fbec024bc583a2d6ccfb54e527630f1e761a51f57f984a8b83f06cab97f85e3eec183386057fed2d551a383a16cecb60f102dc2
DIST gnustep-gui-0.25.1.tar.gz 2888779 BLAKE2B 4d11442660b746e4667d3472dadebff93768254efbd8b7548230c5c0df6d4727d582e720ffbd61a5e79ca89735eb104ff7a88dede5932569b2c1d111a30540db SHA512 d69416c471d4f2fc9971e4aaddc5471b13854d00be6e03b78c3e89f9e7f90285c9024fc6992811296434d5dadf8ac02bcb69a1ceaa1c651461f83778165328e8
+DIST gnustep-gui-0.26.2.tar.gz 2860931 BLAKE2B f597901e3a8d3f2d9a334cdcb7f1c89d15555761dc6f99d80ae56bca3b2be553abbadc6f3616f98d45f50efe4accb7f8cd119aad1a5a7ad019572fbf0c65d9df SHA512 165106d96e933b101ca13cc8643c13626165cb2a49794b34a0e898b288c24b9c7e68115362bd363518f0abf2b21341a0746e2d331f320ab0a0685209f3406800
diff --git a/gnustep-base/gnustep-gui/gnustep-gui-0.26.2.ebuild b/gnustep-base/gnustep-gui/gnustep-gui-0.26.2.ebuild
new file mode 100644
index 00000000000..73bb0ab26e6
--- /dev/null
+++ b/gnustep-base/gnustep-gui/gnustep-gui-0.26.2.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit gnustep-base multilib
+
+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 ~x86-fbsd ~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.25.1[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}
+}