/[gentoo-x86]/gnome-base/libgnomekbd/libgnomekbd-2.32.0-r1.ebuild
Gentoo

Contents of /gnome-base/libgnomekbd/libgnomekbd-2.32.0-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.4 - (show annotations) (download)
Mon May 21 18:57:27 2012 UTC (2 years, 4 months ago) by tetromino
Branch: MAIN
CVS Tags: HEAD
Changes since 1.3: +2 -2 lines
Need eutils for epatch.

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

1 # Copyright 1999-2012 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/gnome-base/libgnomekbd/libgnomekbd-2.32.0-r1.ebuild,v 1.3 2012/05/05 05:38:10 jdhore Exp $
4
5 EAPI="4"
6 GCONF_DEBUG="no"
7 GNOME2_LA_PUNT="yes"
8 GNOME_TARBALL_SUFFIX="bz2"
9
10 inherit eutils gnome2
11
12 DESCRIPTION="Gnome keyboard configuration library"
13 HOMEPAGE="http://www.gnome.org"
14
15 LICENSE="LGPL-2"
16 SLOT="0"
17 KEYWORDS="alpha amd64 arm ia64 ppc ppc64 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
18 IUSE="test"
19
20 # gtk+-2.20 needed for tests
21 RDEPEND=">=dev-libs/glib-2.18:2
22 >=gnome-base/gconf-2.14:2
23 >=x11-libs/gtk+-2.20:2
24 >=x11-libs/libxklavier-5.0"
25 DEPEND="${RDEPEND}
26 >=dev-util/intltool-0.35
27 virtual/pkgconfig"
28
29 pkg_setup() {
30 G2CONF="${G2CONF} $(use_enable test tests) --disable-static"
31 DOCS="AUTHORS ChangeLog NEWS README"
32 }
33
34 src_prepare() {
35 gnome2_src_prepare
36
37 # Unneeded casts removed
38 epatch "${FILESDIR}/${P}-unneeded-casts.patch"
39
40 # Remove GDK_DISPLAY() usage
41 epatch "${FILESDIR}/${P}-gdkdisplay-usage.patch"
42
43 # Replace GDK_keyname with GDK_KEY_keyname
44 epatch "${FILESDIR}/${P}-gdkkeyname-replace.patch"
45 }

  ViewVC Help
Powered by ViewVC 1.1.20