pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/comms/libhidapi
Module Name: pkgsrc
Committed By: nikita
Date: Wed May 17 13:26:35 UTC 2023
Modified Files:
pkgsrc/comms/libhidapi: Makefile PLIST
Log Message:
libhidapi: hopefully fix build on Linux and Darwin.
To generate a diff of this commit:
cvs rdiff -u -r1.8 -r1.9 pkgsrc/comms/libhidapi/Makefile
cvs rdiff -u -r1.5 -r1.6 pkgsrc/comms/libhidapi/PLIST
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/comms/libhidapi/Makefile
diff -u pkgsrc/comms/libhidapi/Makefile:1.8 pkgsrc/comms/libhidapi/Makefile:1.9
--- pkgsrc/comms/libhidapi/Makefile:1.8 Mon May 15 16:31:38 2023
+++ pkgsrc/comms/libhidapi/Makefile Wed May 17 13:26:35 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2023/05/15 16:31:38 nikita Exp $
+# $NetBSD: Makefile,v 1.9 2023/05/17 13:26:35 nikita Exp $
GITHUB_PROJECT= hidapi
GITHUB_TAG= ${GITHUB_PROJECT}-0.13.1
@@ -22,14 +22,20 @@ PKGCONFIG_OVERRIDE+= pc/hidapi-hidraw.pc
PKGCONFIG_OVERRIDE+= pc/hidapi-libusb.pc.in
PKGCONFIG_OVERRIDE+= pc/hidapi.pc.in
-PLIST_VARS+= libusb
+PLIST_VARS+= libusb hidraw darwin
.include "../../mk/bsd.prefs.mk"
.if ${OPSYS} != "Darwin"
PLIST.libusb= yes
+. if ${OPSYS} == "Linux"
+PLIST.hidraw= yes
+. endif
+.else
+PLIST.darwin= yes
.endif
+
.include "../../devel/cmake/build.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
.include "../../devel/libusb1/buildlink3.mk"
Index: pkgsrc/comms/libhidapi/PLIST
diff -u pkgsrc/comms/libhidapi/PLIST:1.5 pkgsrc/comms/libhidapi/PLIST:1.6
--- pkgsrc/comms/libhidapi/PLIST:1.5 Wed May 10 16:56:38 2023
+++ pkgsrc/comms/libhidapi/PLIST Wed May 17 13:26:35 2023
@@ -1,11 +1,20 @@
-@comment $NetBSD: PLIST,v 1.5 2023/05/10 16:56:38 nikita Exp $
+@comment $NetBSD: PLIST,v 1.6 2023/05/17 13:26:35 nikita Exp $
include/hidapi/hidapi.h
+${PLIST.darwin}include/hidapi/hidapi_darwin.h
${PLIST.libusb}include/hidapi/hidapi_libusb.h
lib/cmake/hidapi/hidapi-config-version.cmake
lib/cmake/hidapi/hidapi-config.cmake
lib/cmake/hidapi/libhidapi-release.cmake
lib/cmake/hidapi/libhidapi.cmake
+${PLIST.hidraw}lib/libhidapi-hidraw.so
+${PLIST.hidraw}lib/libhidapi-hidraw.so.0
+${PLIST.hidraw}lib/libhidapi-hidraw.so.0.13.1
lib/libhidapi-libusb.so
lib/libhidapi-libusb.so.0
lib/libhidapi-libusb.so.0.13.1
-lib/pkgconfig/hidapi-libusb.pc
+${PLIST.darwin}lib/libhidapi.0.13.1dylib
+${PLIST.darwin}lib/libhidapi.0.dylib
+${PLIST.darwin}lib/libhidapi.dylib
+${PLIST.hidraw}lib/pkgconfig/hidapi-hidraw.pc
+${PLIST.libusb}lib/pkgconfig/hidapi-libusb.pc
+${PLIST.darwin}lib/pkgconfig/hidapi.pc
Home |
Main Index |
Thread Index |
Old Index