blob: ee72ae4622bb2e66bcc02b9d3b757da23b122674 (
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
|
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
PYTHON_COMPAT=( python2_7 )
inherit ltprune python-single-r1
DESCRIPTION="Tomoe GTK+ interface widget library"
HOMEPAGE="http://tomoe.osdn.jp/"
SRC_URI="mirror://sourceforge/tomoe/${P}.tar.gz"
LICENSE="LGPL-2.1"
SLOT="0"
KEYWORDS="amd64 ~x86"
IUSE="python static-libs"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
RDEPEND="app-i18n/tomoe[python(+)?,${PYTHON_USEDEP}]
x11-libs/gtk+:2
python? (
${PYTHON_DEPS}
dev-python/pygobject:2[${PYTHON_USEDEP}]
dev-python/pygtk:2[${PYTHON_USEDEP}]
)"
DEPEND="${RDEPEND}
dev-util/gtk-doc-am
sys-devel/gettext
virtual/pkgconfig"
pkg_setup() {
use python && python-single-r1_pkg_setup
}
src_configure() {
econf \
$(use_enable static-libs static) \
$(use_with python python "") \
--without-gucharmap
}
src_install() {
default
prune_libtool_files --modules
}
|