/[gentoo-x86]/gnustep-base/gnustep-gui/gnustep-gui-0.24.1.ebuild
Gentoo

Contents of /gnustep-base/gnustep-gui/gnustep-gui-0.24.1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Mon May 18 14:57:02 2015 UTC (3 years, 2 months ago) by voyageur
Branch: MAIN
CVS Tags: HEAD
Version bump, add icu USE-flag in sync with gnustep-base

(Portage version: 2.2.19/cvs/Linux x86_64, signed Manifest commit with key 00F7AB331B0F097F)

1 # Copyright 1999-2015 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-gui/gnustep-gui-0.24.0.ebuild,v 1.5 2015/04/21 19:12:12 pacho Exp $
4
5 EAPI=5
6 inherit gnustep-base multilib
7
8 DESCRIPTION="Library of GUI classes written in Obj-C"
9 HOMEPAGE="http://www.gnustep.org/"
10 SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/${P}.tar.gz"
11
12 LICENSE="LGPL-2.1"
13 SLOT="0"
14 KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
15 IUSE="cups gif icu jpeg png speech"
16
17 DEPEND="${GNUSTEP_CORE_DEPEND}
18 app-text/aspell
19 >=gnustep-base/gnustep-base-1.24.6[icu?]
20 media-libs/audiofile
21 >=media-libs/tiff-3:=
22 x11-libs/libXt
23 cups? ( >=net-print/cups-1.7.4:= )
24 gif? ( >=media-libs/giflib-4.1:= )
25 icu? ( dev-libs/icu:= )
26 jpeg? ( virtual/jpeg:= )
27 png? ( >=media-libs/libpng-1.2:= )
28 speech? ( app-accessibility/flite )"
29 RDEPEND="${DEPEND}"
30
31 src_prepare() {
32 gnustep-base_src_prepare
33
34 # remove hardcoded -g -Werror, bug #378179
35 sed -i -e 's/-g -Werror//' \
36 Tools/say/GNUmakefile \
37 Tools/speech/GNUmakefile \
38 || die
39 }
40
41 src_configure() {
42 egnustep_env
43
44 local myconf=
45 use gif && myconf="--disable-ungif --enable-libgif"
46
47 econf \
48 $(use_enable cups) \
49 $(use_enable icu) \
50 $(use_enable jpeg) \
51 $(use_enable png) \
52 $(use_enable speech) \
53 --with-tiff-include="${EPREFIX}"/usr/include \
54 --with-tiff-library="${EPREFIX}"/usr/$(get_libdir) \
55 ${myconf}
56 }

  ViewVC Help
Powered by ViewVC 1.1.20