-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathpygobject-3.55.3.ebuild
More file actions
46 lines (40 loc) · 940 Bytes
/
pygobject-3.55.3.ebuild
File metadata and controls
46 lines (40 loc) · 940 Bytes
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
# Distributed under the terms of the GNU General Public License v2
# Autogen by MARK Devkit
EAPI=7
PYTHON_COMPAT=( python3+ )
inherit meson xdg distutils-r1
DESCRIPTION="Python bindings for GObject Introspection"
HOMEPAGE="https://pygobject.gnome.org/ https://gitlab.gnome.org/GNOME/pygobject/"
SRC_URI="https://download.gnome.org/sources/pygobject/3.55/pygobject-3.55.3.tar.gz -> pygobject-3.55.3.tar.gz"
LICENSE="LGPL-2.1+"
SLOT="3"
KEYWORDS="*"
IUSE="+cairo"
BDEPEND="virtual/pkgconfig
"
RDEPEND="dev-libs/glib:2
dev-libs/gobject-introspection:=
dev-libs/libffi:=
cairo? (
dev-python/pycairo[${PYTHON_USEDEP}]
x11-libs/cairo[glib]
)
"
DEPEND="${RDEPEND}
"
python_configure() {
local emesonargs=(
$(meson_feature cairo pycairo)
-Dtests=false
-Dpython="${EPYTHON}"
)
meson_src_configure
}
python_compile() {
meson_src_compile
}
python_install() {
meson_src_install
python_optimize
}
# vim: filetype=ebuild