diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-03-20 14:27:17 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-03-20 14:27:17 +0000 |
commit | 5bb9ff1ee56d2b5e75e01a7f066d8b0cec84ec02 (patch) | |
tree | 66e860a5099bcad013f1cf667255dc372a7c11b3 /dev-libs/libgusb | |
parent | 7218e1b46bceac05841e90472501742d905fb3fc (diff) |
gentoo resync : 20.03.2021
Diffstat (limited to 'dev-libs/libgusb')
-rw-r--r-- | dev-libs/libgusb/Manifest | 2 | ||||
-rw-r--r-- | dev-libs/libgusb/libgusb-0.3.6.ebuild | 74 |
2 files changed, 76 insertions, 0 deletions
diff --git a/dev-libs/libgusb/Manifest b/dev-libs/libgusb/Manifest index c0d60e93e6ba..93d7f148b8a1 100644 --- a/dev-libs/libgusb/Manifest +++ b/dev-libs/libgusb/Manifest @@ -1,5 +1,7 @@ DIST libgusb-0.3.3.tar.xz 38928 BLAKE2B 711bf59db0d86879961fbba1cd87d5a8557cd4c735f3eaf80bb75f1ac55ededecb4038125428c1297942d014dfd3ea995f7cee8355150f1e90e0fec4aa92cfa9 SHA512 8be37283f2c1719976bbd9bc33eacf5afd4cef107a6629e8f9523b49e66ab2782d9937e4d9fa18760b9083c991c91d6126cfcfa22921b3436a9ebc3a858d855a DIST libgusb-0.3.5.tar.xz 41340 BLAKE2B 76a99e6877bddbc7000f13f9099456101b8fd125866b841823dd543b58196e10be80fe4472153c9ff42ad2a4faf53d13d22bdecd9f5c2bd4fd21578abbc38cad SHA512 4c709a3c5215342b12b42f393aea6945e2048d4a7b137ec5b6e11b54c1ea9b8a59ba31b9110bfaf10e8924a7b41eaf5b82c417252340d012db400e8eb4c9dc1c +DIST libgusb-0.3.6.tar.xz 41648 BLAKE2B c4fe7661c3912233022c90b6201e2e9007871355dd2c7f6a67a96da77ab1d3c937bad9cc44fc8a91f89e93a66c6a072e0835e0e9178e9352b0bab73463bece3c SHA512 a185b6feaeace72f78672ebaa6788659fcccb5d6414d49afb8ab717307c7a3d8e55a2adaaadc24f00ee0059fc1e3fcee54212ac3477989f7cbe4aebbf91699c2 EBUILD libgusb-0.3.3.ebuild 1477 BLAKE2B 1384a0af7a44ab3ecd9c18aac872719e77c2a0b785045d1f58002d1187735dcfb1ca1fd209a64ab05e28ab8ff194cd2d3dc566dd07eb27fc91c51ac69f6d8c5c SHA512 973501c489c7b109fa5c42ae1608ac396ba4677c06ee001c99f637ff98652dd8f3748fc4b2f967cb2550ba322f540e801386573271ef2512445f429eeeea8467 EBUILD libgusb-0.3.5.ebuild 1695 BLAKE2B 7c4cd5f033343343bd048201c34000eb387f2a8e783b2dd8f43bc4755ca97c165d74abc0cfadcfde1c99ed6a5d26c6124e1b1154aaab07d6e7bbca0ae7919459 SHA512 0bba5036c3266f8c59545b626ade9addd4d61eac522e3e6d5ccc369099831ab35c02b101a2fcea738a0651eb4410f89c329a2e6e0f4cd6c5aa6d0e4dbd8795ff +EBUILD libgusb-0.3.6.ebuild 1701 BLAKE2B 1e0868395e1c800f11674bc074df49b5acfc68f3eb5beaac7482338f27a78d9251e6017021bd79b2839a196ef3a1296f70d4da4e9125f4910f8ed82978ea44c1 SHA512 25e2950fb56c29f4770f9fe95642360ac48019d27d8f71318ee0676b2a2716d90c4dcf6eea85f5062b9ff5f1292f0f094d7e6bb7cac53f4393ec6ca47498165b MISC metadata.xml 343 BLAKE2B 5905d49c021f1b8d8e5167415d0f0c731c0b204fad7aa73f10f6a7dc8b8f417e9591ed26ce655e2d5e5963e84f0ce44d77e59cd79e8d1921899b0a9627d52911 SHA512 096d78e0613e0475d5499f3c30542bd22fc98a2598a7e2e5719747a809a19288a0a36897bc9bc647fceb98f3579f7148c32d16d78c6114d0b925f143daca91bc diff --git a/dev-libs/libgusb/libgusb-0.3.6.ebuild b/dev-libs/libgusb/libgusb-0.3.6.ebuild new file mode 100644 index 000000000000..4ff3c4ea094f --- /dev/null +++ b/dev-libs/libgusb/libgusb-0.3.6.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +VALA_USE_DEPEND="vapigen" + +PYTHON_COMPAT=( python3_{7,8,9} ) +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 +" + +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 +} |