blob: 3470b1d217a054dadbeeb7148337f169c3cb7407 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
|
# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit versionator
MY_CRV=$(get_version_component_range 1-2)
RESTRICT="test"
# Tests try to access live filesystem
# See https://bugs.gentoo.org/show_bug.cgi?id=259052#c3
DESCRIPTION="Cross platform library for using desktop wide hotkeys"
HOMEPAGE="https://launchpad.net/gtkhotkey"
SRC_URI="https://launchpad.net/${PN}/${MY_CRV}/${PV}/+download/${P}.tar.gz"
LICENSE="LGPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="static-libs"
COMMON_DEPEND="
>=dev-libs/glib-2.16
>=x11-libs/gtk+-2.12:2
"
RDEPEND="
${COMMON_DEPEND}
virtual/libintl
"
DEPEND="
${COMMON_DEPEND}
virtual/pkgconfig
>=dev-util/intltool-0.35.0
sys-devel/gettext
"
PATCHES=( "${FILESDIR}/${P}-glibheaders.patch" )
src_prepare() {
default
sed -i -e "s: install-gtkhotkeydocDATA ::" Makefile.in || die
}
src_configure() {
econf \
$(use_enable static-libs static)
}
src_install() {
emake DESTDIR="${D}" install
dodoc AUTHORS ChangeLog NEWS README
}
|