Github messages for voidlinux
 help / color / mirror / Atom feed
From: lukas-jo <lukas-jo@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] hidapi: update to 0.13.1.
Date: Wed, 17 May 2023 16:40:07 +0200	[thread overview]
Message-ID: <20230517144007.hPr0HXpp7yem90B85kgvJ_5Tyn5IS3SpXlh08K3DqJg@z> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-43834@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 670 bytes --]

There is an updated pull request by lukas-jo against master on the void-packages repository

https://github.com/lukas-jo/void-packages hidapi
https://github.com/void-linux/void-packages/pull/43834

hidapi: update to 0.13.1.
#### Testing the changes
- I tested the changes in this PR: **briefly**

#### Local build testing
- I built this PR locally for my native architecture, x86_64-musl
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - armv6l-musl

The autotools build method is deprecated upstream, cmake is recommended instead


A patch file from https://github.com/void-linux/void-packages/pull/43834.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-hidapi-43834.patch --]
[-- Type: text/x-diff, Size: 1670 bytes --]

From 2ba06949a2780d3dba14c1d7a3852dfcc789ab4e Mon Sep 17 00:00:00 2001
From: lukas-jo <lukas.jordan@pm.me>
Date: Wed, 10 May 2023 17:58:27 +0200
Subject: [PATCH] hidapi: update to 0.13.1.

---
 srcpkgs/hidapi/template | 17 +++++++----------
 1 file changed, 7 insertions(+), 10 deletions(-)

diff --git a/srcpkgs/hidapi/template b/srcpkgs/hidapi/template
index d62101829776..c9cef86a126c 100644
--- a/srcpkgs/hidapi/template
+++ b/srcpkgs/hidapi/template
@@ -1,22 +1,19 @@
 # Template file for 'hidapi'
 pkgname=hidapi
-version=0.11.2
+version=0.13.1
 revision=1
-build_style=gnu-configure
-hostmakedepends="automake libtool pkg-config"
+build_style=cmake
+hostmakedepends="pkg-config"
 makedepends="eudev-libudev-devel libusb-devel"
 short_desc="Simple library for communicating with USB and Bluetooth HID devices"
 maintainer="Ulf <void@uw.anonaddy.com>"
 license="BSD-3-Clause"
 homepage="https://github.com/libusb/hidapi"
-distfiles="https://github.com/libusb/hidapi/archive/hidapi-${version}.tar.gz"
-checksum=bc4ac0f32a6b21ef96258a7554c116152e2272dacdec1e4620fc44abeea50c27
+changelog="https://github.com/libusb/hidapi/releases"
+distfiles="https://github.com/libusb/hidapi/archive/refs/tags/hidapi-${version}.tar.gz"
+checksum=476a2c9a4dc7d1fc97dd223b84338dbea3809a84caea2dcd887d9778725490e3
 
-pre_configure() {
-	./bootstrap
-}
 post_install() {
-	rm -r ${DESTDIR}/usr/share
 	vlicense LICENSE-bsd.txt LICENSE
 }
 
@@ -25,8 +22,8 @@ hidapi-devel_package() {
 	depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
 	pkg_install() {
 		vmove usr/include
-		vmove usr/lib/*.a
 		vmove usr/lib/*.so
 		vmove usr/lib/pkgconfig
+		vmove usr/lib/cmake
 	}
 }

  parent reply	other threads:[~2023-05-17 14:40 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-10 16:02 [PR PATCH] " lukas-jo
2023-05-10 16:34 ` [PR PATCH] [Updated] " lukas-jo
2023-05-10 16:49 ` lukas-jo
2023-05-10 16:50 ` lukas-jo
2023-05-17  5:20 ` [PR REVIEW] " classabbyamp
2023-05-17 14:35 ` lukas-jo
2023-05-17 14:40 ` lukas-jo [this message]
2023-05-17 14:57 ` [PR PATCH] [Merged]: " classabbyamp

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=20230517144007.hPr0HXpp7yem90B85kgvJ_5Tyn5IS3SpXlh08K3DqJg@z \
    --to=lukas-jo@users.noreply.github.com \
    --cc=ml@inbox.vuxu.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;
as well as URLs for NNTP newsgroup(s).