From 852755c64dfdf54c5457f631bfc34ced2e58fdb8 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sun, 28 Aug 2022 14:56:07 +0100 Subject: gentoo auto-resync : 28:08:2022 - 14:56:07 --- dev-libs/hidapi/Manifest | 7 +-- .../hidapi-0.8.0_rc1_p20140719-autoconf-2.70.patch | 11 ---- dev-libs/hidapi/hidapi-0.12.0.ebuild | 42 +++++++++++++ .../hidapi/hidapi-0.8.0_rc1_p20140719-r1.ebuild | 70 ---------------------- dev-libs/hidapi/metadata.xml | 10 +--- 5 files changed, 48 insertions(+), 92 deletions(-) delete mode 100644 dev-libs/hidapi/files/hidapi-0.8.0_rc1_p20140719-autoconf-2.70.patch create mode 100644 dev-libs/hidapi/hidapi-0.12.0.ebuild delete mode 100644 dev-libs/hidapi/hidapi-0.8.0_rc1_p20140719-r1.ebuild (limited to 'dev-libs/hidapi') diff --git a/dev-libs/hidapi/Manifest b/dev-libs/hidapi/Manifest index a87ea6606dcc..7e9fb38b683b 100644 --- a/dev-libs/hidapi/Manifest +++ b/dev-libs/hidapi/Manifest @@ -1,6 +1,5 @@ -AUX hidapi-0.8.0_rc1_p20140719-autoconf-2.70.patch 300 BLAKE2B f82fe6a6e2ebfda10eb9762bbff1586346ecf8945996599a3b58658c37799d85dc573f8be54bba483f95e27177db3f421d99ac713e7012130d2e2b92252ebd87 SHA512 5b29caa5f7a9b61fffb16226cff9709a5b142c6ac36017c567ab5933b21f06cb17c78a93fa19e8c92cb1443f1cbe97c3687002845965bea2b3ef39eeaef1f4a2 DIST hidapi-0.11.0.tgz 232631 BLAKE2B 770c0663b007aa36580af217d0d38be72923e0ad84cee137594ca3e174e589cebb9188003a50999e1c561b0e4e9ca68bd1af29029b89fde2b0a46020b12f9744 SHA512 0de4abc963600d159ce231416c468b9e81a8361e4d2c2202988d6eb2e58a923700e9b9be639fbddc6bc14625131848409e2e88dbc4b34a1f8a726c8fa4692d92 -DIST hidapi-0.8.0_rc1_p20140719.tgz 103079 BLAKE2B f40a4c17cb8c5eed41f4eea84fac46a879ec2057f28212aa43c8fd718ceea68d760785cb4f4e2ea3bcd2a4345b65d75d0d278b93697ec61963be9270684a15cb SHA512 204934a707da4e67b834823650b0cfd9be7b413972071129cc5aeeb93465834dde2f5ee23283c55d35b56e3aed8b7ad5fe947399839081f4d895fb65c8cd3e3d +DIST hidapi-0.12.0.tgz 238751 BLAKE2B 25eddf337970275a026839dfe8c0c3beef58da892a6b192751f70faa7ca3ad12f9deab34c3800e053ef9bdefca481a863fac0c25aab51dbf172b44bd94e34e56 SHA512 866268927698db6fa553e000ead3c0c4b8df67ea768d36acac9c71f06f0bd8283778e90eee03f81aaa930f38dbb5719391906c7d2742b74479ffa436104f5fa4 EBUILD hidapi-0.11.0.ebuild 1413 BLAKE2B af3ddb3c3add5942dd9e961e7a8c60fc735f8aad1465562f84a7d3e94df4f4928aa9e6981beebe1da24cad6b94302940a44e06d0c0bc4c89a36cd1d43f31c023 SHA512 0e06b7d7c9ef2b0e2f656130313a0ef57b0a0ce043f7a8a4f5fcf47e0195551da0b988e03bf4e10207b996e6f9a4fc48f9c09051534fd6047583ee7c6f6b6fdf -EBUILD hidapi-0.8.0_rc1_p20140719-r1.ebuild 1851 BLAKE2B cdaa39c57a17a17720ba075f722339df5b6bdc84fca16e1d8e2eba26c3fdcdb749f40fb773961c40eebf13ad92f50d57fb1d0f01fe1c15c1e6f5b696bdecab09 SHA512 fb003b0a9dd3f64b2e4615bb27af95fa705e48dd62fea56a5b811e5467fd87b37cbfcc8d8be361555825bdc61c68d884bb45a3efe677db5f9dbae01a08d1f7b4 -MISC metadata.xml 580 BLAKE2B eed1a4cb51eaa6ae36c3e9bb9bb2d36113abb329631b744cacc3026386f59ae5db1613501c9f8121e0ade04dd2fa33fe572e8c8cc4067491f85b5866b7a09a53 SHA512 013d58c8a32f7abc26bf48cfe69ff39fc5b268344784aef11f71d8a6e435b8c6d521fac65f75edcaccfb06c28150f226b12d67b2ad3dc24ee70cc4cdc6c4b28d +EBUILD hidapi-0.12.0.ebuild 912 BLAKE2B 1eba0801e68843420d2191d78d3868bbd858485bb142015b91b247a4c8cea0c8f31fa42fb9621ba0480f7ecd8a8c721186f2df381fe66d453133a6fa7976b092 SHA512 e5353d274e944366cce905908971d441e74724f895b121893d7dd81305dd49fc37b99d945414e0f50392642be317fbc7275b53b7d94a86924265913d9063f15f +MISC metadata.xml 419 BLAKE2B 75c3a1c387e0563c38db080e52bed0e237841a6760eca977c4944ffd8a923f9aab1addfa7c6790f4b60d1ccb560ad9e952d0206b5bf5c10d249b46cd39ea3b93 SHA512 7b1a8fac5f784779797d2c8c20cfb42bae320e3b2cacd56a00666804a4b62c4709e0f27fa0538c9ba2e384e706cc725d81f5eb5a638afe7b65a576472447902d diff --git a/dev-libs/hidapi/files/hidapi-0.8.0_rc1_p20140719-autoconf-2.70.patch b/dev-libs/hidapi/files/hidapi-0.8.0_rc1_p20140719-autoconf-2.70.patch deleted file mode 100644 index ad79a05cb14b..000000000000 --- a/dev-libs/hidapi/files/hidapi-0.8.0_rc1_p20140719-autoconf-2.70.patch +++ /dev/null @@ -1,11 +0,0 @@ -https://bugs.gentoo.org/750983 ---- a/configure.ac -+++ b/configure.ac -@@ -20,7 +20,6 @@ LTLDFLAGS="-version-info ${lt_current}:${lt_revision}:${lt_age}" - - AC_CONFIG_MACRO_DIR([m4]) - AM_INIT_AUTOMAKE([foreign -Wall -Werror]) --AC_CONFIG_MACRO_DIR([m4]) - - m4_ifdef([AM_PROG_AR], [AM_PROG_AR]) - LT_INIT diff --git a/dev-libs/hidapi/hidapi-0.12.0.ebuild b/dev-libs/hidapi/hidapi-0.12.0.ebuild new file mode 100644 index 000000000000..8985fb90147a --- /dev/null +++ b/dev-libs/hidapi/hidapi-0.12.0.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake-multilib + +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" + +LICENSE="|| ( BSD GPL-3 HIDAPI )" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~x86" +IUSE="doc" + +RDEPEND=" + virtual/libusb:1[${MULTILIB_USEDEP}] + virtual/libudev:0[${MULTILIB_USEDEP}]" +DEPEND="${RDEPEND}" +BDEPEND=" + virtual/pkgconfig + doc? ( app-doc/doxygen )" + +S="${WORKDIR}/${PN}-${P}" + +multilib_src_compile() { + cmake_src_compile + + if use doc && multilib_is_native_abi; then + doxygen "${S}/doxygen/Doxyfile" || die + fi +} + +multilib_src_install() { + cmake_src_install + + if use doc && multilib_is_native_abi; then + local HTML_DOCS=( html/. ) + fi + einstalldocs +} diff --git a/dev-libs/hidapi/hidapi-0.8.0_rc1_p20140719-r1.ebuild b/dev-libs/hidapi/hidapi-0.8.0_rc1_p20140719-r1.ebuild deleted file mode 100644 index 5c9c71641234..000000000000 --- a/dev-libs/hidapi/hidapi-0.8.0_rc1_p20140719-r1.ebuild +++ /dev/null @@ -1,70 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit autotools multilib-minimal - -# If github is desired, the following may be used. -#EGIT_REPO_URI="https://github.com/signal11/hidapi.git" -#EGIT_BRANCH="master" -EGIT_COMMIT="d17db57b9d4354752e0af42f5f33007a42ef2906" - -DESCRIPTION="A multi-platform library for USB and Bluetooth HID-Class devices" -HOMEPAGE="http://www.signal11.us/oss/hidapi/" -SRC_URI="https://github.com/signal11/${PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tgz" -# When 0.8.0 is officially available the following link should be used. -#SRC_URI="https://github.com/downloads/signal11/${PN}/${P}.zip" - -LICENSE="|| ( BSD GPL-3 HIDAPI )" -SLOT="0" -KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv x86" -IUSE="doc fox" - -RDEPEND=" - virtual/libusb:1[${MULTILIB_USEDEP}] - virtual/libudev:0[${MULTILIB_USEDEP}]" -DEPEND="${RDEPEND} - fox? ( x11-libs/fox )" -BDEPEND=" - virtual/pkgconfig - doc? ( app-doc/doxygen )" - -S="${WORKDIR}/${PN}-${EGIT_COMMIT}" - -PATCHES=( "${FILESDIR}"/${P}-autoconf-2.70.patch ) - -src_prepare() { - default - - if ! use fox; then - sed -i -e 's:PKG_CHECK_MODULES(\[fox\], .*):AC_SUBST(fox_CFLAGS,[ ])AC_SUBST(fox_LIBS,[ ]):' configure.ac || die - fi - - # Fix bashisms in the configure.ac file. - sed -i -e 's:\([A-Z_]\+\)+="\(.*\)":\1="${\1}\2":g' \ - -e 's:\([A-Z_]\+\)+=`\(.*\)`:\1="${\1}\2":g' configure.ac || die - - # Portage handles license texts itself, no need to install them - sed -i -e 's/LICENSE.*/ # blank/' Makefile.am || die - - eautoreconf -} - -multilib_src_configure() { - ECONF_SOURCE="${S}" econf \ - --disable-static \ - $(multilib_native_use_enable fox testgui) -} - -multilib_src_install_all() { - if use doc; then - doxygen doxygen/Doxyfile || die - HTML_DOCS=( html/. ) - fi - - einstalldocs - - # no static archives - find "${ED}" -name '*.la' -delete || die -} diff --git a/dev-libs/hidapi/metadata.xml b/dev-libs/hidapi/metadata.xml index 7a9ad5584ff5..f31807f17dda 100644 --- a/dev-libs/hidapi/metadata.xml +++ b/dev-libs/hidapi/metadata.xml @@ -1,13 +1,9 @@ - - luke-jr+gentoobugs@utopios.org - Luke Dashjr - - - proxy-maint@gentoo.org - Proxy Maintainers + + sultan@gentoo.org + Stephan Hartmann Build a x11-libs/fox GUI -- cgit v1.2.3