diff options
Diffstat (limited to 'dev-libs/libgusb')
-rw-r--r-- | dev-libs/libgusb/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libgusb/libgusb-0.3.4.ebuild | 74 |
2 files changed, 76 insertions, 0 deletions
diff --git a/dev-libs/libgusb/Manifest b/dev-libs/libgusb/Manifest index 220bd93ee78b..167e7254e320 100644 --- a/dev-libs/libgusb/Manifest +++ b/dev-libs/libgusb/Manifest @@ -2,8 +2,10 @@ DIST libgusb-0.2.11.tar.xz 291992 BLAKE2B f43065fac0fcfbc3e392b90dc05537746ce132 DIST libgusb-0.3.1.tar.xz 38568 BLAKE2B d09afae9d210fde1411de5a0b9b8852eef49f88558ff4c434ef5f2ed9c1c6c29600b96dad73f6873027c5ce0987a3fd99691ffd97d90cfba9f63fbb2cc73f8cd SHA512 5c864e35ec64d1e52ec15ab971c75e0ee3e4664223a6b365815a54819f23342889e5f9739b998799a3af3d37ee75f0ae38ee0d8bca4ed1e2d6ff712f65a53b9a DIST libgusb-0.3.2.tar.xz 38852 BLAKE2B 72f98e54e9c4716380430103395ad6da830148c7ef4fb3e7e1445fa28c40b6cb1dfc954403896dedcd584d154383c38233abd422e20801a7e2f9165a6b69e4e5 SHA512 db4274b67d775ac0a46df11037dbd4cab84e1128be6d5b579ee5e1f493f3cc9d0950958610207ad5f207423570a86e664a9817885e25f86a858a95f96cfe19c2 DIST libgusb-0.3.3.tar.xz 38928 BLAKE2B 711bf59db0d86879961fbba1cd87d5a8557cd4c735f3eaf80bb75f1ac55ededecb4038125428c1297942d014dfd3ea995f7cee8355150f1e90e0fec4aa92cfa9 SHA512 8be37283f2c1719976bbd9bc33eacf5afd4cef107a6629e8f9523b49e66ab2782d9937e4d9fa18760b9083c991c91d6126cfcfa22921b3436a9ebc3a858d855a +DIST libgusb-0.3.4.tar.xz 40636 BLAKE2B 8e43849395a0bce646d9b9493c883fc6db28572a75017e0309b6b2d1924bb6a978190d4b171416053cae424d272a7b43e1536abd92821198e4e7f553bb16d19f SHA512 abbec6b5a5f27b5061ff165db97915d7356b23757de12b640f54741927ac860264af3daed15d4b4b5f3df494acb20695070dcb5ad104df2defdcc7229634c42f EBUILD libgusb-0.2.11.ebuild 1274 BLAKE2B 5c10310f7036758dbe152d94086e34233d8b31b9114f7dd97375d1ac6735b6d50e0e8ae7467b8d726ba38c0c2b99dbf8456b747b46e009e70d23e3530525952d SHA512 86833878bef26182a98a04506c25d08c3fea84ba74f986dcc361954c5745e3d39f7288f93f607fc1c71a17cbb8eef18e21eeb94fe100f250ca4375de3efc0304 EBUILD libgusb-0.3.1.ebuild 1497 BLAKE2B 53a724d97fb95eb4ebba955663c744288fdd8ff643794e664286c1aa26a35ea2d0409bb0facae0c5d7c367c71b197aa55c67c33eb50cd7494ddc9f8cd195d39a SHA512 77da2fd2c758dd43c4217b225856fb1c00b3f893d7c629bec305474b72a79e61a1e62aed6e140e52b6e434a0a1c7a665f17b100d5a3b582afc37c078d609d1d1 EBUILD libgusb-0.3.2.ebuild 1497 BLAKE2B bdeb19cfcc0b05b846e546b6a1eac91f7cca3acdbf898922f6f8ec7dac36d0ed02d3184e85cbb94eb4c5af2cb55a88fe7ed42191f887cf64f8feb9c682bc764a SHA512 2d5f829dfb61c0a88284676a6e6eb4ef468c9faf17dac39a6da81c27c6ecabf2d8f79e9a2189437b2609a7c83455e9d0dbaf7ef6ee7fe8c50abacce2602a0335 EBUILD libgusb-0.3.3.ebuild 1500 BLAKE2B 02bac6ee2981ba4317a1588dda5cf267c48742a06b492ee266b4a1ce717a322057ec0b89e4ac0353dcc0f5884fcae5f97389a01dfc038a2bf2badf61f4272fe6 SHA512 dcb1cf508d957e608a56f7af379784348d142117906429bfa7cf2cb7af96586e71044d426a3dbf5d892e325e5ae7ff362264d10bb7c911874872277f2ba29e57 +EBUILD libgusb-0.3.4.ebuild 1721 BLAKE2B a83aaf1d77754e18f57894c4f26eb0ba0f26df6911f3bb5a75125cdc23fe38806c7b6a4841f794079a26350cf367ff37fc76bfb2ce48f5fe96c993e55156d6e6 SHA512 1c7e8179de37f6cce41ba2e16b5974909ff223e1384606eb0e017255c4e4b7b75a909ac88661d8758f5b819d5d9f2787121b0ba7c7cea7ace9be9cd055fb4044 MISC metadata.xml 343 BLAKE2B 5905d49c021f1b8d8e5167415d0f0c731c0b204fad7aa73f10f6a7dc8b8f417e9591ed26ce655e2d5e5963e84f0ce44d77e59cd79e8d1921899b0a9627d52911 SHA512 096d78e0613e0475d5499f3c30542bd22fc98a2598a7e2e5719747a809a19288a0a36897bc9bc647fceb98f3579f7148c32d16d78c6114d0b925f143daca91bc diff --git a/dev-libs/libgusb/libgusb-0.3.4.ebuild b/dev-libs/libgusb/libgusb-0.3.4.ebuild new file mode 100644 index 000000000000..c38c2990d9ad --- /dev/null +++ b/dev-libs/libgusb/libgusb-0.3.4.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +VALA_USE_DEPEND="vapigen" + +PYTHON_COMPAT=( python3_{6,7,8} ) +PYTHON_REQ_USE="xml(+)" + +inherit meson multilib-minimal python-any-r1 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="gtk-doc +introspection static-libs test +vala" +REQUIRED_USE="vala? ( introspection )" + +RDEPEND=" + >=dev-libs/glib-2.44.0:2[${MULTILIB_USEDEP}] + virtual/libusb:1[udev,${MULTILIB_USEDEP}] + introspection? ( >=dev-libs/gobject-introspection-1.54:= ) + sys-apps/hwids +" +DEPEND="${RDEPEND}" +BDEPEND=" + $(python_gen_any_dep 'dev-python/setuptools[${PYTHON_USEDEP}]') + gtk-doc? ( + app-text/docbook-xml-dtd:4.1.2 + app-text/docbook-xml-dtd:4.4 + dev-util/gtk-doc + ) + vala? ( $(vala_depend) ) + virtual/pkgconfig[${MULTILIB_USEDEP}] +" + +RESTRICT="!test? ( test )" + +python_check_deps() { + has_version -b "dev-python/setuptools[${PYTHON_USEDEP}]" +} + +src_prepare() { + use vala && vala_src_prepare + default +} + +multilib_src_configure() { + local emesonargs=( + -Ddefault_library=$(usex static-libs both shared) + $(meson_use test tests) + -Dvapi=$(multilib_native_usex vala true false) + -Dusb_ids="${EPREFIX}"/usr/share/misc/usb.ids + -Ddocs=$(multilib_native_usex gtk-doc true false) + -Dintrospection=$(multilib_native_usex introspection true false) + ) + meson_src_configure +} + +multilib_src_compile() { + meson_src_compile +} + +multilib_src_test() { + meson_src_test +} + +multilib_src_install() { + meson_src_install +} |