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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Wed Apr 24 17:33:29 2013 UTC (4 years, 8 months ago) by voyageur
Branch: MAIN
CVS Tags: HEAD
Version bump, minor bugfixes

(Portage version: 2.2.0_alpha173/cvs/Linux x86_64, signed Manifest commit with key C74525F2)

1 # Copyright 1999-2013 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.23.0.ebuild,v 1.1 2013/03/08 15:41:06 voyageur 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 jpeg png speech"
16
17 DEPEND="${GNUSTEP_CORE_DEPEND}
18 app-text/aspell
19 >=gnustep-base/gnustep-base-1.24.0
20 media-libs/audiofile
21 >=media-libs/tiff-3
22 x11-libs/libXt
23 cups? ( >=net-print/cups-1.1 )
24 gif? ( >=media-libs/giflib-4.1 )
25 jpeg? ( virtual/jpeg )
26 png? ( >=media-libs/libpng-1.2 )
27 speech? ( app-accessibility/flite )"
28 RDEPEND="${DEPEND}"
29
30 src_prepare() {
31 gnustep-base_src_prepare
32
33 # remove hardcoded -g -Werror, bug #378179
34 sed -i -e 's/-g -Werror//' \
35 Tools/say/GNUmakefile \
36 Tools/speech/GNUmakefile \
37 || die
38 }
39
40 src_configure() {
41 egnustep_env
42
43 local myconf=
44 use gif && myconf="--disable-ungif --enable-libgif"
45
46 econf \
47 $(use_enable cups) \
48 $(use_enable jpeg) \
49 $(use_enable png) \
50 $(use_enable speech) \
51 --with-tiff-include="${EPREFIX}"/usr/include \
52 --with-tiff-library="${EPREFIX}"/usr/$(get_libdir) \
53 ${myconf}
54 }
55
56 pkg_postinst() {
57 ewarn "The shared library version has changed in this release."
58 ewarn "You will need to recompile all Applications/Tools/etc in order"
59 ewarn "to use this library. Please run revdep-rebuild to do so"
60 }

  ViewVC Help
Powered by ViewVC 1.1.20