public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/libusb-compat/
Date: Wed, 30 Nov 2022 04:14:36 +0000 (UTC)	[thread overview]
Message-ID: <1669781615.2891a184491eb5b6f65b90b6618d65be791b7e24.sam@gentoo> (raw)

commit:     2891a184491eb5b6f65b90b6618d65be791b7e24
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Nov 30 03:56:32 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Nov 30 04:13:35 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2891a184

dev-libs/libusb-compat: add 0.1.8

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/libusb-compat/Manifest                   |  1 +
 dev-libs/libusb-compat/libusb-compat-0.1.8.ebuild | 57 +++++++++++++++++++++++
 2 files changed, 58 insertions(+)

diff --git a/dev-libs/libusb-compat/Manifest b/dev-libs/libusb-compat/Manifest
index 4f513e9b7559..d54d8fc90cfa 100644
--- a/dev-libs/libusb-compat/Manifest
+++ b/dev-libs/libusb-compat/Manifest
@@ -1,2 +1,3 @@
 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
+DIST libusb-compat-0.1.8.tar.bz2 32845 BLAKE2B f590afd539ad20613647b923d69b9fe8ea60b3f5162766a1d840f35e8f56a949f3defa8b1c40ceb8932cf0bf45b3b5097b9ac04a339242a2b906d4ba320e4245 SHA512 817a16a2c7268e0d73add97c06ec3f6e4fc4b8697bd3129bb6f907f138c2a5dccb662096c4cd0385341053b216afd398b21dfef14676777b906972c9e3af4e3e

diff --git a/dev-libs/libusb-compat/libusb-compat-0.1.8.ebuild b/dev-libs/libusb-compat/libusb-compat-0.1.8.ebuild
new file mode 100644
index 000000000000..5df0ae72d5ac
--- /dev/null
+++ b/dev-libs/libusb-compat/libusb-compat-0.1.8.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools 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 ~loong ~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
+)
+
+src_prepare() {
+	default
+
+	eautoreconf
+}
+
+multilib_src_configure() {
+	local myconf=(
+		$(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
+}


             reply	other threads:[~2022-11-30  4:14 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-11-30  4:14 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-03-04 18:25 [gentoo-commits] repo/gentoo:master commit in: dev-libs/libusb-compat/ Arthur Zamarin
2023-03-04 11:16 Arthur Zamarin
2023-03-04 11:03 Arthur Zamarin
2023-03-04  9:28 Arthur Zamarin
2023-03-04  8:07 Arthur Zamarin
2023-03-04  6:09 Arthur Zamarin
2023-03-04  5:36 Arthur Zamarin
2022-11-12  4:20 Sam James
2022-11-12  3:14 Matt Turner
2021-08-10 18:06 Marek Szuba
2021-05-13 10:59 David Seifert
2021-05-13 10:59 David Seifert
2021-05-11 15:45 Sergei Trofimovich
2021-05-09 21:44 Sam James
2021-05-09 21:42 Sam James
2021-05-09 10:57 Sam James
2021-05-09 10:57 Sam James
2021-05-09 10:57 Sam James
2021-05-09 10:57 Sam James
2021-05-09 10:57 Sam James
2020-03-23  1:36 Jonas Stein

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1669781615.2891a184491eb5b6f65b90b6618d65be791b7e24.sam@gentoo \
    --to=sam@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox