/[gentoo-x86]/gnustep-base/gnustep-back-cairo/gnustep-back-cairo-0.14.0.ebuild
Gentoo

Contents of /gnustep-base/gnustep-back-cairo/gnustep-back-cairo-0.14.0.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Wed Feb 10 21:53:43 2010 UTC (8 years, 6 months ago) by voyageur
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +1 -1 lines
FILE REMOVED
Drop old versions
(Portage version: 2.2_rc62/cvs/Linux x86_64)

1 # Copyright 1999-2008 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/gnustep-base/gnustep-back-cairo/gnustep-back-cairo-0.14.0.ebuild,v 1.3 2008/09/21 15:32:10 nixnut Exp $
4
5 inherit gnustep-base
6
7 S=${WORKDIR}/gnustep-back-${PV}
8
9 DESCRIPTION="Cairo back-end component for the GNUstep GUI Library."
10
11 HOMEPAGE="http://www.gnustep.org"
12 SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-back-${PV}.tar.gz"
13 KEYWORDS="amd64 ~ppc x86"
14 SLOT="0"
15 LICENSE="LGPL-2.1"
16
17 IUSE="opengl xim glitz"
18 RDEPEND="${GNUSTEP_CORE_DEPEND}
19 ~gnustep-base/gnustep-gui-${PV}
20 opengl? ( virtual/opengl virtual/glu )
21
22 x11-libs/libICE
23 x11-libs/libSM
24 x11-libs/libX11
25 x11-libs/libXext
26 x11-libs/libXi
27 x11-libs/libXmu
28 x11-libs/libXt
29 x11-libs/libXft
30 x11-libs/libXrender
31
32 >=media-libs/freetype-2.1.9
33 >=x11-libs/cairo-1.2.0
34 !gnustep-base/gnustep-back-art
35 !gnustep-base/gnustep-back-xlib"
36 DEPEND="${RDEPEND}
37 dev-util/pkgconfig"
38
39 pkg_setup() {
40 gnustep-base_pkg_setup
41
42 if ! built_with_use x11-libs/cairo X; then
43 eerror "x11-libs/cairo must be compiled with the X USE flag enabled"
44 die "x11-libs/cairo rebuild needed"
45 fi
46 }
47
48 src_compile() {
49 egnustep_env
50
51 use opengl && myconf="--enable-glx"
52 myconf="$myconf $(use_enable xim)"
53 myconf="$myconf --enable-server=x11"
54 myconf="$myconf --enable-graphics=cairo"
55 # Seems broken for now
56 #myconf="$myconf $(use_enable glitz)"
57
58 econf $myconf || die "configure failed"
59
60 egnustep_make
61 }

  ViewVC Help
Powered by ViewVC 1.1.20