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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.8 - (show annotations) (download)
Fri Nov 4 15:06:49 2011 UTC (2 years, 11 months ago) by voyageur
Branch: MAIN
Changes since 1.7: +8 -3 lines
Add suport for libpng 1.5 in stable, thanks to ssuominen. Closes bug #389363

(Portage version: 2.2.0_alpha72/cvs/Linux x86_64)

1 # Copyright 1999-2011 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.18.0.ebuild,v 1.7 2010/11/08 13:21:25 voyageur Exp $
4
5 EAPI="3"
6
7 inherit eutils gnustep-base multilib
8
9 DESCRIPTION="Library of GUI classes written in Obj-C"
10 HOMEPAGE="http://www.gnustep.org/"
11 SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/${P}.tar.gz"
12
13 KEYWORDS="~alpha amd64 ppc sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
14 SLOT="0"
15 LICENSE="LGPL-2.1"
16
17 IUSE="jpeg gif png cups"
18
19 DEPEND="${GNUSTEP_CORE_DEPEND}
20 >=gnustep-base/gnustep-base-1.20.0
21 x11-libs/libXt
22 >=media-libs/tiff-3
23 jpeg? ( virtual/jpeg )
24 gif? ( >=media-libs/giflib-4.1 )
25 png? ( >=media-libs/libpng-1.2 )
26 cups? ( >=net-print/cups-1.1 )
27 media-libs/audiofile
28 app-text/aspell"
29 RDEPEND="${DEPEND}"
30
31 src_prepare() {
32 epatch "${FILESDIR}"/${P}-libpng15.patch
33 gnustep-base_src_prepare
34 }
35
36 src_configure() {
37 egnustep_env
38
39 local myconf=
40 use gif && myconf="--disable-ungif --enable-libgif"
41
42 econf \
43 --with-tiff-include="${EPREFIX}"/usr/include \
44 --with-tiff-library="${EPREFIX}"/usr/$(get_libdir) \
45 $(use_enable jpeg) \
46 $(use_enable png) \
47 $(use_enable cups) \
48 ${myconf} || die "configure failed"
49 }
50
51 pkg_postinst() {
52 ewarn "The shared library version has changed in this release."
53 ewarn "You will need to recompile all Applications/Tools/etc in order"
54 ewarn "to use this library. Please run revdep-rebuild to do so"
55 }

  ViewVC Help
Powered by ViewVC 1.1.20