blob: b5f25902934e5b0060614b826607a3a3fd224afb (
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
|
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit gnome2 multilib-minimal
DESCRIPTION="GObject bindings for libudev"
HOMEPAGE="https://wiki.gnome.org/Projects/libgudev"
LICENSE="LGPL-2.1+"
SLOT="0/0"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 s390 sparc x86"
IUSE="introspection static-libs"
COMMON_DEPEND="
>=dev-libs/glib-2.38.0:2[${MULTILIB_USEDEP},static-libs?]
>=virtual/libudev-199:=[${MULTILIB_USEDEP},static-libs(-)?]
introspection? ( >=dev-libs/gobject-introspection-1.31.1 )
"
RDEPEND="${COMMON_DEPEND}
!sys-fs/eudev[gudev(-)]
!sys-fs/udev[gudev(-)]
!sys-apps/systemd[gudev(-)]
"
DEPEND="${COMMON_DEPEND}
dev-util/glib-utils
>=dev-util/gtk-doc-am-1.18
virtual/pkgconfig[${MULTILIB_USEDEP}]
"
# Needs multilib dev-util/umockdev
RESTRICT="test"
multilib_src_configure() {
local myconf=(
$(multilib_native_use_enable introspection)
$(use_enable static-libs static)
--disable-umockdev
)
local ECONF_SOURCE="${S}"
gnome2_src_configure "${myconf[@]}"
}
multilib_src_install() {
gnome2_src_install
}
|