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

Contents of /gnustep-base/gnustep-back-cairo/gnustep-back-cairo-0.24.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Feb 20 12:09:50 2015 UTC (3 years, 9 months ago) by voyageur
Branch: MAIN
CVS Tags: HEAD
Fix compilation with format-security, bug #536120 by ago. Also fix a scrolling bug with >=cairo-1.14

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

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-back-cairo/gnustep-back-cairo-0.24.0.ebuild,v 1.3 2014/12/27 19:28:06 ago Exp $
4
5 EAPI=5
6 inherit eutils gnustep-base
7
8 DESCRIPTION="Cairo back-end component for the GNUstep GUI Library"
9 HOMEPAGE="http://www.gnustep.org"
10 SRC_URI="ftp://ftp.gnustep.org/pub/gnustep/core/gnustep-back-${PV}.tar.gz"
11
12 LICENSE="LGPL-2.1"
13 SLOT="0"
14 KEYWORDS="~amd64 ~ppc ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
15 IUSE="opengl xim"
16
17 RDEPEND="${GNUSTEP_CORE_DEPEND}
18 =gnustep-base/gnustep-gui-${PV%.*}*
19 opengl? ( virtual/opengl virtual/glu )
20 x11-libs/libICE
21 x11-libs/libSM
22 x11-libs/libX11
23 x11-libs/libXext
24 x11-libs/libXi
25 x11-libs/libXmu
26 x11-libs/libXt
27 x11-libs/libXft
28 x11-libs/libXrender
29 >=media-libs/freetype-2.1.9
30
31 >=x11-libs/cairo-1.2.0[X]
32
33 !gnustep-base/gnustep-back-art
34 !gnustep-base/gnustep-back-xlib"
35 DEPEND="${RDEPEND}
36 virtual/pkgconfig"
37
38 S=${WORKDIR}/gnustep-back-${PV}
39
40 src_prepare() {
41 gnustep-base_src_prepare
42 epatch "${FILESDIR}"/${P}-cairo-scrolling.patch
43 epatch "${FILESDIR}"/${P}-format-security.patch
44 }
45
46 src_configure() {
47 egnustep_env
48
49 myconf="$(use_enable opengl glx)"
50 myconf="$myconf $(use_enable xim)"
51 myconf="$myconf --enable-server=x11"
52 myconf="$myconf --enable-graphics=cairo"
53
54 econf $myconf
55 }

  ViewVC Help
Powered by ViewVC 1.1.20