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/hidapi/
Date: Tue, 10 Oct 2023 07:07:54 +0000 (UTC)	[thread overview]
Message-ID: <1696921411.edd2d9f301e6215e5e99fa438a30b9e74085ce68.sam@gentoo> (raw)

commit:     edd2d9f301e6215e5e99fa438a30b9e74085ce68
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Oct 10 07:03:31 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Oct 10 07:03:31 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edd2d9f3

dev-libs/hidapi: add 0.14.0

Bug: https://bugs.gentoo.org/908498
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/hidapi/Manifest             |  1 +
 dev-libs/hidapi/hidapi-0.14.0.ebuild | 52 ++++++++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/dev-libs/hidapi/Manifest b/dev-libs/hidapi/Manifest
index bee64ebd160c..285479f7ad3a 100644
--- a/dev-libs/hidapi/Manifest
+++ b/dev-libs/hidapi/Manifest
@@ -1,3 +1,4 @@
 DIST hidapi-0.11.0.tgz 232631 BLAKE2B 770c0663b007aa36580af217d0d38be72923e0ad84cee137594ca3e174e589cebb9188003a50999e1c561b0e4e9ca68bd1af29029b89fde2b0a46020b12f9744 SHA512 0de4abc963600d159ce231416c468b9e81a8361e4d2c2202988d6eb2e58a923700e9b9be639fbddc6bc14625131848409e2e88dbc4b34a1f8a726c8fa4692d92
 DIST hidapi-0.12.0.tgz 238751 BLAKE2B 25eddf337970275a026839dfe8c0c3beef58da892a6b192751f70faa7ca3ad12f9deab34c3800e053ef9bdefca481a863fac0c25aab51dbf172b44bd94e34e56 SHA512 866268927698db6fa553e000ead3c0c4b8df67ea768d36acac9c71f06f0bd8283778e90eee03f81aaa930f38dbb5719391906c7d2742b74479ffa436104f5fa4
 DIST hidapi-0.13.1.tgz 244666 BLAKE2B b3406114f8dd8b192eecac1673592866f930688af8023819d20f73c76226f0829c8d68f4b47051b4836ce4348fc3bbad8f9849f1d565563dcd0f993df43de4ca SHA512 07b224b9b5146caf693e6d67514fed236436ed68f38a3ada98ebf8352dfaa4e175f576902affb4b79da1bb8c9b47a1ee0831a93c7d3d210e93faee24632f7d53
+DIST hidapi-0.14.0.tgz 348221 BLAKE2B 6472bfe5863d75a8901983a763191f3b6c18c25934b652b79f33141a6818619f816d35ed2480435254cecc51598d1e07e53c8c8c4f35a10cf28c1e4374bb450d SHA512 66a045144f90b41438898b82f0398e80223323ebfe6e4f197d2713696bb3ae60f36aea5a37a9999b34b12294783fd7e4c28c6e785462559cbe21276009da1eac

diff --git a/dev-libs/hidapi/hidapi-0.14.0.ebuild b/dev-libs/hidapi/hidapi-0.14.0.ebuild
new file mode 100644
index 000000000000..7127187ea5b3
--- /dev/null
+++ b/dev-libs/hidapi/hidapi-0.14.0.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake-multilib flag-o-matic
+
+DESCRIPTION="A multi-platform library for USB and Bluetooth HID-Class devices"
+HOMEPAGE="https://github.com/libusb/hidapi"
+SRC_URI="https://github.com/libusb/hidapi/archive/${P}.tar.gz -> ${P}.tgz"
+S="${WORKDIR}/${PN}-${P}"
+
+LICENSE="|| ( BSD GPL-3 HIDAPI )"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+IUSE="doc"
+
+DEPEND="
+	virtual/libusb:1[${MULTILIB_USEDEP}]
+	virtual/libudev:0[${MULTILIB_USEDEP}]
+"
+RDEPEND="${DEPEND}"
+BDEPEND="doc? ( app-doc/doxygen )"
+
+multilib_src_configure() {
+	append-lfs-flags
+
+	local mycmakeargs=(
+		# Doesn't do anything as of 0.14.0
+		-DHIDAPI_WITH_TESTS=OFF
+	)
+
+	cmake_src_configure
+}
+
+multilib_src_compile() {
+	cmake_src_compile
+
+	if use doc && multilib_is_native_abi; then
+		cd "${S}/doxygen" || die
+		doxygen Doxyfile || die
+	fi
+}
+
+multilib_src_install() {
+	cmake_src_install
+
+	if use doc && multilib_is_native_abi; then
+		local HTML_DOCS=( "${S}/doxygen/html/." )
+	fi
+	einstalldocs
+}


             reply	other threads:[~2023-10-10  7:07 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-10  7:07 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-23 16:01 [gentoo-commits] repo/gentoo:master commit in: dev-libs/hidapi/ Petr Vaněk
2024-11-23 18:02 Arthur Zamarin
2024-11-23 12:24 Arthur Zamarin
2024-11-23 10:32 Sam James
2024-08-25 15:24 Andreas K. Hüttel
2024-02-17 21:17 Sam James
2024-01-27 20:06 Ionen Wolkens
2023-12-25  8:19 Sam James
2023-12-25  7:30 Sam James
2023-10-10  7:07 Sam James
2023-09-18  9:50 Sam James
2023-06-30 21:14 Sam James
2023-06-30 21:14 Sam James
2023-06-30 21:14 Sam James
2023-06-30 19:30 Sam James
2023-06-30 19:19 Sam James
2023-01-19 18:53 Stephan Hartmann
2023-01-19 18:49 Stephan Hartmann
2022-11-29 18:06 WANG Xuerui
2022-08-28 10:25 Stephan Hartmann
2022-08-28 10:25 Stephan Hartmann
2022-08-27 17:07 Sam James
2022-08-25  4:02 Arthur Zamarin
2022-08-25  4:02 Arthur Zamarin
2022-08-25  3:33 Sam James
2022-06-07  7:59 Joonas Niilola
2022-06-07  6:34 Joonas Niilola
2021-11-10  9:11 Joonas Niilola
2021-11-10  9:11 Joonas Niilola
2021-08-18  0:35 Yixun Lan
2021-02-24 22:40 Andreas Sturmlechner
2021-02-19 17:55 Thomas Deutschmann
2021-02-01 15:07 Agostino Sarubbo
2021-01-23 23:38 David Seifert
2019-12-27 14:22 Anthony G. Basile
2019-09-15 17:17 Michał Górny
2019-02-26 20:54 Andreas Sturmlechner
2015-09-27 11:27 Manuel Rüger
2015-09-25 14:43 Agostino Sarubbo
2015-09-24 13:42 Agostino Sarubbo
2015-08-26  0:04 Anthony G. Basile

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=1696921411.edd2d9f301e6215e5e99fa438a30b9e74085ce68.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