diff options
author | Gilles Dartiguelongue <eva@gentoo.org> | 2017-08-27 19:16:15 +0200 |
---|---|---|
committer | Gilles Dartiguelongue <eva@gentoo.org> | 2017-08-27 19:56:57 +0200 |
commit | 8d754e6b667e04591fdf618f2ffb6ab8c5777568 (patch) | |
tree | 9ee147d344e7c7df288355e5a9c8baaa3b11f2e9 /dev-libs/libgusb | |
parent | dev-libs/libgdata: version bump 0.17.8-r1 → 0.17.9 (diff) | |
download | gentoo-8d754e6b667e04591fdf618f2ffb6ab8c5777568.tar.gz gentoo-8d754e6b667e04591fdf618f2ffb6ab8c5777568.tar.bz2 gentoo-8d754e6b667e04591fdf618f2ffb6ab8c5777568.zip |
dev-libs/libgusb: version bump 0.2.9 → 0.2.11
Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'dev-libs/libgusb')
-rw-r--r-- | dev-libs/libgusb/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libgusb/libgusb-0.2.11.ebuild | 54 |
2 files changed, 55 insertions, 0 deletions
diff --git a/dev-libs/libgusb/Manifest b/dev-libs/libgusb/Manifest index ec779c261ff3..7e8d62a035a4 100644 --- a/dev-libs/libgusb/Manifest +++ b/dev-libs/libgusb/Manifest @@ -1,3 +1,4 @@ +DIST libgusb-0.2.11.tar.xz 291992 SHA256 9cb143493fab1dc3d0d0fdba2114b1d8ec8c5b6fad05bfd0f7700e4e4ff8f7de SHA512 f9c3c204b5f0feaf706b23dd9a174feb36a9f3c8db8ffb5dcdefa66b18ba0ac963c6041d2d91a6a2f6e23036fc6486d142210bd5348e10c026a6defeb0bee096 WHIRLPOOL d3c2d73e6eabaac7a4f0afd0e15f0e97aa8105fe61747f9104f4d2907a76616a58a59c78e987b19be49a5ca9b9c3bfe458d91cd50029dad0fbfb8977938be84e DIST libgusb-0.2.7.tar.xz 275492 SHA256 0be9578f7875cecb6c163ad47eb39bc6bf497e501b08986c0d384748a054c3ee SHA512 9210ddc95458c452fa32c8e11849c6f44e24680485aafe93887a52266c8253e495e5f0584f25e3e67051bb00247d6b658cd2ff3f6a4da167a113974d8fefd5ac WHIRLPOOL 7ce8652167f3bf553d33d2b2504e1b1a8fdbdd0844b9fa8f2b54ad5d91b0db505cdedb3d1b6827212bde36bea39c28160f51f0253c921db4f33dae1e9368c07d DIST libgusb-0.2.8.tar.xz 289744 SHA256 a9c269ef21145b228e59fdcb533ef9c4ae214a6f4748d17ecd2e022f79389eed SHA512 83dce9704276f5edbe893b417a569bd62f2d14d8de1730d6e7e48c72170593c471c8354b813668d0736e31ecf48d2efe76a81c5dc485c1fa6ba62c5f8ceff3b4 WHIRLPOOL 878d07f37f79ef59506e76fa995b58b9e00fe75ae9424b86ea47bd5fb6c14868bc95e85e0744ff4d3c6a2f4aecdbf86f6c584c40c8febddd1c754cbc8386f261 DIST libgusb-0.2.9.tar.xz 290972 SHA256 7320bdcd0ab1750d314fa86f48bd2cc186b9e33332314403779af9772fedde14 SHA512 30e469e6c9561339a002089f732b3a60c02e285c0a166416a833c4c2475028a41c2339fcbc5ef1524b4be6fa09931e177067fa12231a145f1f05a324e343da9d WHIRLPOOL 0e54c0249b957fe56be6746a9e5e3f10c071be2bac08ae4408e112a7c3eb6c7e22c2936737bae500984818b023e526edb24def660a97601b39790203cf74e984 diff --git a/dev-libs/libgusb/libgusb-0.2.11.ebuild b/dev-libs/libgusb/libgusb-0.2.11.ebuild new file mode 100644 index 000000000000..aca94f3692bc --- /dev/null +++ b/dev-libs/libgusb/libgusb-0.2.11.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +VALA_USE_DEPEND="vapigen" + +inherit eutils gnome2 multilib-minimal vala + +DESCRIPTION="GObject wrapper for libusb" +HOMEPAGE="https://github.com/hughsie/libgusb" +SRC_URI="https://people.freedesktop.org/~hughsient/releases/${P}.tar.xz" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" + +IUSE="+introspection static-libs vala" +REQUIRED_USE="vala? ( introspection )" + +RDEPEND=" + >=dev-libs/glib-2.44:2[${MULTILIB_USEDEP}] + virtual/libusb:1[udev,${MULTILIB_USEDEP}] + introspection? ( >=dev-libs/gobject-introspection-1.29:= ) +" +DEPEND="${RDEPEND} + dev-libs/libxslt + dev-util/gtk-doc-am + virtual/pkgconfig[${MULTILIB_USEDEP}] + vala? ( $(vala_depend) ) +" + +# Tests try to access usb devices in /dev +RESTRICT="test" + +src_prepare() { + gnome2_src_prepare + use vala && vala_src_prepare +} + +multilib_src_configure() { + ECONF_SOURCE=${S} \ + gnome2_src_configure \ + $(multilib_native_use_enable introspection) \ + $(use_enable static-libs static) \ + $(multilib_native_use_enable vala) + + if multilib_is_native_abi; then + ln -s "${S}"/docs/api/html docs/api/html || die + fi +} + +multilib_src_install() { + gnome2_src_install +} |