summaryrefslogtreecommitdiff
path: root/dev-libs/libgusb
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-02-17 23:37:36 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-02-17 23:37:36 +0000
commit78fce155315439a69aa67573fd4696b735649431 (patch)
tree8d187eea60a186fececd8ec9c1579a3cacbaca1d /dev-libs/libgusb
parent95580151e6cfe563d6c0550936c7fd92e24a6acf (diff)
gentoo auto-resync : 17:02:2024 - 23:37:36
Diffstat (limited to 'dev-libs/libgusb')
-rw-r--r--dev-libs/libgusb/Manifest2
-rw-r--r--dev-libs/libgusb/libgusb-0.4.8.ebuild72
2 files changed, 74 insertions, 0 deletions
diff --git a/dev-libs/libgusb/Manifest b/dev-libs/libgusb/Manifest
index 21e97777a056..e00893daefff 100644
--- a/dev-libs/libgusb/Manifest
+++ b/dev-libs/libgusb/Manifest
@@ -1,5 +1,7 @@
DIST libgusb-0.4.6.tar.xz 50660 BLAKE2B 4a2d0f502609f487ca84d970a157cb35c5fc1676a074a868ecb269f2028c39d2ad581a156054987095eb869d7edd7572921b188005262dce12ae3b83271f14dc SHA512 586650f1694cdac50d08f53b117686c38a1be19468ebbf56baa7fc13482f07e0f67c854807b827b6410b094409e117e46afd8cf2706f1390076ad34978b871c1
DIST libgusb-0.4.7.tar.xz 51448 BLAKE2B 126d7723e7f47cf1ee4780aaf627c15e8e04a95a765f5c68578d6a31ec1d69578af05b6687224399e657dfaf2f983bad5415b05c19c3334cfc7fc06a58f0a27e SHA512 38f8d4989e3adc46013a9e8ca42511c5de9bbaf23a11654eb47d7c9a9c64b90f0213b77916f8ebd1e6c246aaafa0e1574bb72a19170ae9efa2af9e3f86a4e210
+DIST libgusb-0.4.8.tar.xz 51632 BLAKE2B f904bb8a0766a61b0e7d6e5e80d7f0eed5c44537065db2b9bf33cd694fcaa58d93a7cdec37802fd278c2eb7ad2e4de79cd492baa1ead373e31e4d75488999e1e SHA512 b6446761ba4a19b8e7b7fc2bcf26064c89a574c328b794eb3f1723ef71b4100447c5b024bd8163c4e42af935ce0b7e11b93b722871061f7115da0003cc14b001
EBUILD libgusb-0.4.6.ebuild 1752 BLAKE2B 190e4ba969d0e72995fedb122900ae7c78497e348be0c1aaac8846773e99374084291456de2cceb4ce3a0201cb7f735e17ce62210c3199e321067db9177e4fc6 SHA512 ac048731384fa3f85da738aef157435392be0079d559a0f0d0f9284c7ff01bc3c9eebbd15a0c3c382d766830894307caaa6c592f3d873fdc236161d5d8bf5189
EBUILD libgusb-0.4.7.ebuild 1757 BLAKE2B 173dcdf53bf9bf659922089f824bdf3e3adcfe9ef17d0000c67a88b218d7e0e49c90ba318020631efb90ca7a59e6774d77d3b393f567371a7eedc0122dfc108d SHA512 267ec09fe5a2c43ec59080c6b7c0ea1ead698db26c5ed7094f925b14ec34a3baf14ea0add4d1ab67184095af7bcdb0f6a83b2c07597287cd41b3d8ec078da98e
+EBUILD libgusb-0.4.8.ebuild 1759 BLAKE2B afe943acd27dda8c7ecb087a6effac77521e83258276fe6868f34d941bcb0a3c1e79beae679a6a55f337c819ac03a006b9c73f0447b4916c34bd35da7405b4fc SHA512 db45c616588fb78d2007463d088e00a1844f5044c55493462693021852fc2c11b4cd201ac194df85af565338a9c2968815900e7de6c0b0f8f5bad47b404b980e
MISC metadata.xml 344 BLAKE2B bd362d7e89ba2d88c2f220ab47593b4ae25bc4ca486bdafda16448407213d7558d7ea807c489e5aafbb8ec83a40e8e339c8ba20d3bfc3957da33a7e7711c6898 SHA512 93166c6dd4d764901c87fc567ab1c67add1c654b7ea1f3326e7144d5c14789bdee2a1e37874f8b6158136e03363372bf1d972f49f96095b0e3e568af89c4af34
diff --git a/dev-libs/libgusb/libgusb-0.4.8.ebuild b/dev-libs/libgusb/libgusb-0.4.8.ebuild
new file mode 100644
index 000000000000..170709802faf
--- /dev/null
+++ b/dev-libs/libgusb/libgusb-0.4.8.ebuild
@@ -0,0 +1,72 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{10..12} )
+PYTHON_REQ_USE="xml(+)"
+
+inherit meson-multilib python-any-r1 vala
+
+DESCRIPTION="GObject wrapper for libusb"
+HOMEPAGE="https://github.com/hughsie/libgusb"
+SRC_URI="https://github.com/hughsie/libgusb/releases/download/${PV}/${P}.tar.xz"
+
+LICENSE="LGPL-2.1+"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86"
+
+IUSE="gtk-doc +introspection test +vala"
+REQUIRED_USE="
+ gtk-doc? ( introspection )
+ vala? ( introspection )
+"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=dev-libs/glib-2.44.0:2[${MULTILIB_USEDEP}]
+ virtual/libusb:1[udev,${MULTILIB_USEDEP}]
+ >=dev-libs/json-glib-1.1.1[${MULTILIB_USEDEP},introspection?]
+ introspection? ( >=dev-libs/gobject-introspection-1.54:= )
+ sys-apps/hwdata
+"
+DEPEND="${RDEPEND}
+ test? ( >=dev-util/umockdev-0.17.7[${MULTILIB_USEDEP}] )"
+BDEPEND="
+ $(python_gen_any_dep 'dev-python/setuptools[${PYTHON_USEDEP}]')
+ gtk-doc? ( dev-util/gi-docgen )
+ vala? ( $(vala_depend) )
+ virtual/pkgconfig
+"
+
+python_check_deps() {
+ python_has_version "dev-python/setuptools[${PYTHON_USEDEP}]"
+}
+
+src_prepare() {
+ default
+ use vala && vala_setup
+}
+
+multilib_src_configure() {
+ local emesonargs=(
+ -Ddefault_library=shared
+ $(meson_use test tests)
+ $(meson_native_use_bool vala vapi)
+ -Dusb_ids="${EPREFIX}"/usr/share/hwdata/usb.ids
+ $(meson_native_use_bool gtk-doc docs)
+ $(meson_native_use_bool introspection)
+ $(meson_feature test umockdev)
+
+ )
+ meson_src_configure
+}
+
+multilib_src_install_all() {
+ einstalldocs
+
+ if use gtk-doc; then
+ mkdir -p "${ED}"/usr/share/gtk-doc/ || die
+ mv "${ED}"/usr/share/{doc,gtk-doc}/libgusb || die
+ fi
+}