summaryrefslogtreecommitdiff
path: root/libraries/hidapi
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-07-12 21:52:43 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-07-12 21:52:43 +0700
commiteed8e2b1d51cf2f9c0dee4ae8dc689d1e5258828 (patch)
tree95295d36a1778a63f06c39a6903e680d2adce174 /libraries/hidapi
parentb56677d039adc135740e5f3eee28eef06405d2cd (diff)
downloadslackbuilds-eed8e2b1d51cf2f9c0dee4ae8dc689d1e5258828.tar.gz
libraries/hidapi: Updated for version 0.10.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/hidapi')
-rw-r--r--libraries/hidapi/hidapi.SlackBuild6
-rw-r--r--libraries/hidapi/hidapi.info8
-rw-r--r--libraries/hidapi/slack-desc2
3 files changed, 9 insertions, 7 deletions
diff --git a/libraries/hidapi/hidapi.SlackBuild b/libraries/hidapi/hidapi.SlackBuild
index 25c97ea61f..c24ead4083 100644
--- a/libraries/hidapi/hidapi.SlackBuild
+++ b/libraries/hidapi/hidapi.SlackBuild
@@ -2,7 +2,7 @@
# Slackware build script for hidapi
-# Copyright 2015-2019 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
+# Copyright 2015-2021 Willy Sudiarto Raharjo <willysr@slackbuilds.org>
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -26,7 +26,7 @@ cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=hidapi
SRCNAM=hidapi-hidapi
-VERSION=${VERSION:-0.8.0_rc1}
+VERSION=${VERSION:-0.10.1}
SRCVER=$(echo $VERSION | tr _ -)
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -90,6 +90,8 @@ CXXFLAGS="$SLKCFLAGS" \
make
make install DESTDIR=$PKG
+rm -rf $PKG/usr/lib${LIBDIRSUFFIX}/*.la
+
find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
diff --git a/libraries/hidapi/hidapi.info b/libraries/hidapi/hidapi.info
index d6e7a8a5cb..901732d350 100644
--- a/libraries/hidapi/hidapi.info
+++ b/libraries/hidapi/hidapi.info
@@ -1,8 +1,8 @@
PRGNAM="hidapi"
-VERSION="0.8.0_rc1"
-HOMEPAGE="https://github.com/signal11/hidapi/"
-DOWNLOAD="https://github.com/signal11/hidapi/archive/hidapi-0.8.0-rc1.tar.gz"
-MD5SUM="069f9dd746edc37b6b6d0e3656f47199"
+VERSION="0.10.1"
+HOMEPAGE="https://github.com/libusb/hidapi/"
+DOWNLOAD="https://github.com/libusb/hidapi/archive/refs/tags/hidapi-0.10.1.tar.gz"
+MD5SUM="12dd792b3dbdfd5c875c3d8b0527cb79"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
diff --git a/libraries/hidapi/slack-desc b/libraries/hidapi/slack-desc
index 2c5a3209aa..449bfd8075 100644
--- a/libraries/hidapi/slack-desc
+++ b/libraries/hidapi/slack-desc
@@ -13,7 +13,7 @@ hidapi: devices on Linux, Mac, and Windows.
hidapi:
hidapi:
hidapi:
-hidapi: Project URL: https://github.com/signal11/hidapi/
+hidapi: Project URL: https://github.com/libusb/hidapi/
hidapi:
hidapi:
hidapi: