summaryrefslogtreecommitdiff
path: root/dev-libs/libusb-compat
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-11-12 09:31:41 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-11-12 09:31:41 +0000
commit983485e93d76602266889d23c963609073b75e51 (patch)
tree19081a3616b34ff1d8bc5521d767740501b31153 /dev-libs/libusb-compat
parent3a9a4f8b478ff62e3c752e20305edb2c7d91959f (diff)
gentoo auto-resync : 12:11:2022 - 09:31:40
Diffstat (limited to 'dev-libs/libusb-compat')
-rw-r--r--dev-libs/libusb-compat/Manifest4
-rw-r--r--dev-libs/libusb-compat/libusb-compat-0.1.7.ebuild50
-rw-r--r--dev-libs/libusb-compat/metadata.xml1
3 files changed, 54 insertions, 1 deletions
diff --git a/dev-libs/libusb-compat/Manifest b/dev-libs/libusb-compat/Manifest
index e07404b6cd5d..701fed8dc26d 100644
--- a/dev-libs/libusb-compat/Manifest
+++ b/dev-libs/libusb-compat/Manifest
@@ -1,4 +1,6 @@
AUX libusb-0.1-ansi.patch 4390 BLAKE2B c64a22623907ee5432d7f636642214221840df3721f226fedbe97da998e3503f9b6eb808e99a58f115f4bc1ac04a75b55928abd30786b9a6b5e3baa4b0f1edd9 SHA512 a3745567934bb8551b1fb0c7e43d5f749334ac763b05a23e15fb77af85034ca76fa6c65121c83cbfc44d82d6a879a43249148b1b894425956deb8eed3cf39e95
DIST libusb-compat-0.1.5.tar.bz2 276769 BLAKE2B 66fa89c507d0454a587fa84d2ee2c34428963fa1770b44038fa45063466611ae263a3c790a167e5049393ef4d87073d1b16135d63cd0666256c3430bf36dae49 SHA512 fe63bd1c65e67588a83ebfdd329025ecf75f33f877fb80dd83eb528df057efb591e010416027f9054294504562299166e8e2811a7681fa1967a03baae9b88857
+DIST libusb-compat-0.1.7.tar.bz2 301821 BLAKE2B 9ee79024204b752147da0c49819523c072acd1237dc426aa19a2c2a3673ec2da6f39f62ec27b1b39b1cef2a7e9513ddc7a6149766c8af93cef933d81574dc07c SHA512 94ba2a767959a40a5fe41760d7c20968fb99456de3f5b7547414bd061ab5155d88ca382b6aa1cf4961e15f1bc4890134351902e719ce5aa15dd0202f72417d55
EBUILD libusb-compat-0.1.5-r3.ebuild 1097 BLAKE2B c40b3e590197a02fa915856f9815a392a9f66f0f057da8a12cddc890b7b4a76b4dd1789f94cade0344e59ea2f1e63dedbb398a61d4645fa276251ccbe3bb9290 SHA512 37bc0dd695b4b9b5f4891b011cb22c563e2f9b1de8c837fa05f4fe6f7dccc857949e4a001aa610c9f87a8b24f82247b8aa8ba1df68fc75fddc557bcbd1b68c43
-MISC metadata.xml 334 BLAKE2B 2662081c84e562bb39650fb8ff222ee4c68ae84233d8ea865d91b898f757a3066458f147f4565ca6f3437aab1412b0fa714996b0a1fb3bb8b77be3177577c5e0 SHA512 2f6d7dabe9784b87dfb93395c1c9417d5765f924500c3b7321948b4a42a061347eecbf324bfaf6e2b4ea15770c39c0b30ab74bb0d9c82e675ab7361be92ce1ef
+EBUILD libusb-compat-0.1.7.ebuild 1102 BLAKE2B 2b4452cc4e58e45eeddee1d3a512df75b141346ceb6e521957740ca4fbd454e63e7d1cb51448937cdbdb341160ae24f33d880df0e81430c6e584a532d67b7239 SHA512 20336753d4d3d97db41fd736f3ae5b3245baa62d3566cebc57f3bd765e1f681e69d1cc5fda7b5e08bd667c5467d65ea5412f86b0d1bf81e5379f705770f5a60a
+MISC metadata.xml 398 BLAKE2B 7f22097243db16d87b86af0aa73d25834e168a1075df11ba2c49a7a288c7bf0313158b49af0ffbc456189ba4b8a4920f03ed45b233c3ce7b15c95ed207845c91 SHA512 0e81fc17b1323d5d2707dc24dbec8554ea2f49fdb178baa86da70834eeb4fc7b97be6ade5f83510c8720e64ab17d270c5a0eed074d4f71e3544df3f9b804c930
diff --git a/dev-libs/libusb-compat/libusb-compat-0.1.7.ebuild b/dev-libs/libusb-compat/libusb-compat-0.1.7.ebuild
new file mode 100644
index 000000000000..5fc78dba3f89
--- /dev/null
+++ b/dev-libs/libusb-compat/libusb-compat-0.1.7.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit usr-ldscript multilib-minimal
+
+DESCRIPTION="Userspace access to USB devices (libusb-0.1 compat wrapper)"
+HOMEPAGE="https://libusb.info"
+SRC_URI="https://github.com/libusb/libusb-compat-0.1/releases/download/v${PV}/${P}.tar.bz2"
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
+IUSE="debug examples"
+
+RDEPEND="
+ >=virtual/libusb-1-r1:1[${MULTILIB_USEDEP}]
+ !dev-libs/libusb:0"
+DEPEND="${RDEPEND}"
+BDEPEND="virtual/pkgconfig"
+
+MULTILIB_CHOST_TOOLS=(
+ /usr/bin/libusb-config
+)
+
+multilib_src_configure() {
+ local myconf=(
+ --disable-static
+ $(use_enable debug debug-log)
+ )
+ ECONF_SOURCE="${S}" econf "${myconf[@]}"
+}
+
+multilib_src_install() {
+ emake DESTDIR="${D}" install
+
+ gen_usr_ldscript -a usb
+}
+
+multilib_src_install_all() {
+ einstalldocs
+
+ if use examples; then
+ docinto examples
+ dodoc examples/*.c
+ fi
+
+ find "${ED}" -name '*.la' -delete || die
+}
diff --git a/dev-libs/libusb-compat/metadata.xml b/dev-libs/libusb-compat/metadata.xml
index 559342cf54f2..d1dd0ce264bf 100644
--- a/dev-libs/libusb-compat/metadata.xml
+++ b/dev-libs/libusb-compat/metadata.xml
@@ -7,5 +7,6 @@
</maintainer>
<upstream>
<remote-id type="sourceforge">libusb</remote-id>
+ <remote-id type="github">libusb/libusb-compat-0.1</remote-id>
</upstream>
</pkgmetadata>