diff options
author | Pacho Ramos <pacho@gentoo.org> | 2015-11-07 12:38:29 +0100 |
---|---|---|
committer | Pacho Ramos <pacho@gentoo.org> | 2015-11-07 12:38:29 +0100 |
commit | 3361df60321f4e20955f83af076b9ce96e0e6c41 (patch) | |
tree | 080acc063903da6aebbc2aa9c133845b52c06d15 /dev-libs/libgusb | |
parent | app-text/iso-codes: Drop old (diff) | |
download | gentoo-3361df60321f4e20955f83af076b9ce96e0e6c41.tar.gz gentoo-3361df60321f4e20955f83af076b9ce96e0e6c41.tar.bz2 gentoo-3361df60321f4e20955f83af076b9ce96e0e6c41.zip |
dev-libs/libgusb: Version bump
Package-Manager: portage-2.2.23
Diffstat (limited to 'dev-libs/libgusb')
-rw-r--r-- | dev-libs/libgusb/Manifest | 1 | ||||
-rw-r--r-- | dev-libs/libgusb/libgusb-0.2.7.ebuild | 52 |
2 files changed, 53 insertions, 0 deletions
diff --git a/dev-libs/libgusb/Manifest b/dev-libs/libgusb/Manifest index 18451f575cbf..8e2826803ed4 100644 --- a/dev-libs/libgusb/Manifest +++ b/dev-libs/libgusb/Manifest @@ -1,2 +1,3 @@ DIST libgusb-0.2.5.tar.xz 275948 SHA256 a3ad56773548695292f49b62df1eb7fb1e87e1e0c9d3982e80f65f47095fa492 SHA512 6ac07c40faf6919991f5cbc3e5fd0523b7486b5437a6ac3d0bd1cfd05d645fe25e311366bb507d1b7af2fe913ae869523c052a7571cd8191914f8b1a81a4c22a WHIRLPOOL 3da2b781ef8df7912aababe174f83c020ac24fefc754303dd38beebd49fceaf40138cd601ffa11b02e2512e0e2ebe3727b1cdee89d0b504962d82a3898fd8c0f DIST libgusb-0.2.6.tar.xz 276608 SHA256 6f638bdbc4e77643c0a198a300e50b592ad326e56bddf359de15e04689209c06 SHA512 4b13166f4b02f1c10ee074564d1e25de0b4763a19b83f56d40b2f43b595cfeb1c7fe4ecdeceaf0b32f51f2156d1e26c42a976cab5db4ad269533b803dbc27bdb WHIRLPOOL d976567c41ef6ef11232ac999b9efd14667312112efec8bb4d4700a0e2d89f0310eabe7542ceda66df3d39bc95f92c88f1da90e6c5b563bd4fb20da2eeabadbb +DIST libgusb-0.2.7.tar.xz 275492 SHA256 0be9578f7875cecb6c163ad47eb39bc6bf497e501b08986c0d384748a054c3ee SHA512 9210ddc95458c452fa32c8e11849c6f44e24680485aafe93887a52266c8253e495e5f0584f25e3e67051bb00247d6b658cd2ff3f6a4da167a113974d8fefd5ac WHIRLPOOL 7ce8652167f3bf553d33d2b2504e1b1a8fdbdd0844b9fa8f2b54ad5d91b0db505cdedb3d1b6827212bde36bea39c28160f51f0253c921db4f33dae1e9368c07d diff --git a/dev-libs/libgusb/libgusb-0.2.7.ebuild b/dev-libs/libgusb/libgusb-0.2.7.ebuild new file mode 100644 index 000000000000..2e5cef78f761 --- /dev/null +++ b/dev-libs/libgusb/libgusb-0.2.7.ebuild @@ -0,0 +1,52 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +GCONF_DEBUG="no" +VALA_USE_DEPEND="vapigen" + +inherit eutils gnome2 multilib-minimal vala + +DESCRIPTION="GObject wrapper for libusb" +HOMEPAGE="https://github.com/hughsie/libgusb" +SRC_URI="http://people.freedesktop.org/~hughsient/releases/${P}.tar.xz" + +LICENSE="LGPL-2.1+" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" + +IUSE="+introspection static-libs vala" +REQUIRED_USE="vala? ( introspection )" + +# Yes, we really need API from dev-libs/libusb-1.0.19, not virtual/libusb +RDEPEND=" + >=dev-libs/glib-2.28: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" + +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 +} |