Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 698154
Collapse All | Expand All

(-)a/dev-libs/libgusb/Manifest (+1 lines)
Line 1 Link Here
1
DIST libgusb-0.2.11.tar.xz 291992 BLAKE2B f43065fac0fcfbc3e392b90dc05537746ce1325d623161e93e1a306b87b07012ef4e11242514cd3da0b83a7df6adc052e20fd3336b53d2543ed9e23886a776f5 SHA512 f9c3c204b5f0feaf706b23dd9a174feb36a9f3c8db8ffb5dcdefa66b18ba0ac963c6041d2d91a6a2f6e23036fc6486d142210bd5348e10c026a6defeb0bee096
1
DIST libgusb-0.2.11.tar.xz 291992 BLAKE2B f43065fac0fcfbc3e392b90dc05537746ce1325d623161e93e1a306b87b07012ef4e11242514cd3da0b83a7df6adc052e20fd3336b53d2543ed9e23886a776f5 SHA512 f9c3c204b5f0feaf706b23dd9a174feb36a9f3c8db8ffb5dcdefa66b18ba0ac963c6041d2d91a6a2f6e23036fc6486d142210bd5348e10c026a6defeb0bee096
2
DIST libgusb-0.3.1.tar.xz 38568 BLAKE2B d09afae9d210fde1411de5a0b9b8852eef49f88558ff4c434ef5f2ed9c1c6c29600b96dad73f6873027c5ce0987a3fd99691ffd97d90cfba9f63fbb2cc73f8cd SHA512 5c864e35ec64d1e52ec15ab971c75e0ee3e4664223a6b365815a54819f23342889e5f9739b998799a3af3d37ee75f0ae38ee0d8bca4ed1e2d6ff712f65a53b9a
(-)a/dev-libs/libgusb/libgusb-0.3.1.ebuild (-1 / +49 lines)
Line 0 Link Here
0
- 
1
# Copyright 1999-2019 Gentoo Authors
2
# Distributed under the terms of the GNU General Public License v2
3
4
EAPI=7
5
VALA_USE_DEPEND="vapigen"
6
7
inherit meson multilib-minimal vala
8
9
DESCRIPTION="GObject wrapper for libusb"
10
HOMEPAGE="https://github.com/hughsie/libgusb"
11
SRC_URI="https://people.freedesktop.org/~hughsient/releases/${P}.tar.xz"
12
13
LICENSE="LGPL-2.1+"
14
SLOT="0"
15
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
16
17
IUSE="+introspection static-libs vala gtk-doc"
18
REQUIRED_USE="vala? ( introspection )"
19
20
RDEPEND="
21
	>=dev-libs/glib-2.44:2[${MULTILIB_USEDEP}]
22
	virtual/libusb:1[udev,${MULTILIB_USEDEP}]
23
	introspection? ( >=dev-libs/gobject-introspection-1.29:= )
24
"
25
DEPEND="${RDEPEND}
26
	virtual/pkgconfig[${MULTILIB_USEDEP}]
27
	vala? ( $(vala_depend) )
28
"
29
BDEPEND="${DEPEND}
30
	gtk-doc? ( dev-util/gtk-doc )
31
"
32
33
# Tests try to access usb devices in /dev
34
RESTRICT="test"
35
36
src_prepare() {
37
	use vala && vala_src_prepare
38
	default
39
}
40
41
multilib_src_configure() {
42
	local emesonargs=(
43
		$(meson_use vala vapi)
44
		$(meson_use gtk-doc docs)
45
		$(meson_use introspection)
46
		$(meson_use static-libs static)
47
	)
48
	meson_src_configure
49
}

Return to bug 698154