/[gentoo-x86]/dev-libs/keybinder/keybinder-0.3.0-r201.ebuild
Gentoo

Contents of /dev-libs/keybinder/keybinder-0.3.0-r201.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Sun Nov 30 14:36:58 2014 UTC (4 years, 6 months ago) by mgorny
Branch: MAIN
CVS Tags: HEAD
Convert to python-single-r1. Use proper gtk-doc location.

(Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/dev-libs/keybinder/keybinder-0.3.0-r200.ebuild,v 1.9 2012/11/28 09:48:45 ssuominen Exp $
4
5 EAPI=5
6
7 PYTHON_COMPAT=( python2_7 )
8
9 inherit eutils python-single-r1
10
11 DESCRIPTION="A library for registering global keyboard shortcuts"
12 HOMEPAGE="http://kaizer.se/wiki/keybinder/"
13 SRC_URI="http://kaizer.se/publicfiles/${PN}/${P}.tar.gz"
14
15 LICENSE="GPL-2"
16 SLOT="0"
17 KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86"
18 IUSE="+introspection lua python"
19
20 RDEPEND=">=x11-libs/gtk+-2.20:2
21 x11-libs/libX11
22 x11-libs/libXext
23 x11-libs/libXrender
24 introspection? ( dev-libs/gobject-introspection )
25 lua? ( >=dev-lang/lua-5.1 )
26 python? ( ${PYTHON_DEPS}
27 >=dev-python/pygobject-2.15.3:2[${PYTHON_USEDEP}]
28 >=dev-python/pygtk-2.12[${PYTHON_USEDEP}]
29 )"
30 DEPEND="${RDEPEND}
31 virtual/pkgconfig"
32
33 DOCS="AUTHORS NEWS README"
34 REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
35
36 pkg_setup() {
37 use python && python-single-r1_pkg_setup
38 }
39
40 src_configure() {
41 local myconf
42 use lua || myconf='--disable-lua'
43
44 econf \
45 $(use_enable introspection) \
46 $(use_enable python) \
47 ${myconf}
48 }
49
50 src_install() {
51 default
52 prune_libtool_files --all
53 }

  ViewVC Help
Powered by ViewVC 1.1.20