mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
dev-libs/libgudev: fix missing multilib dependencies
add missing build dependencies, add subslot to introspection, bump to EAPI=6. Package-Manager: portage-2.3.0
This commit is contained in:
40
dev-libs/libgudev/libgudev-230-r1.ebuild
Normal file
40
dev-libs/libgudev/libgudev-230-r1.ebuild
Normal file
@@ -0,0 +1,40 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
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 ~sparc ~x86"
|
||||
IUSE="introspection static-libs"
|
||||
|
||||
COMMON_DEPEND="
|
||||
>=dev-libs/glib-2.22.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/gtk-doc-am-1.18
|
||||
virtual/pkgconfig[${MULTILIB_USEDEP}]
|
||||
"
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE=${S} gnome2_src_configure \
|
||||
$(multilib_native_use_enable introspection) \
|
||||
$(use_enable static-libs static)
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
gnome2_src_install
|
||||
}
|
||||
Reference in New Issue
Block a user