summaryrefslogtreecommitdiff
path: root/contrib/SDL-3.2.8/src/hidapi/dist/hidapi.podspec
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/SDL-3.2.8/src/hidapi/dist/hidapi.podspec')
-rw-r--r--contrib/SDL-3.2.8/src/hidapi/dist/hidapi.podspec31
1 files changed, 31 insertions, 0 deletions
diff --git a/contrib/SDL-3.2.8/src/hidapi/dist/hidapi.podspec b/contrib/SDL-3.2.8/src/hidapi/dist/hidapi.podspec
new file mode 100644
index 0000000..8588514
--- /dev/null
+++ b/contrib/SDL-3.2.8/src/hidapi/dist/hidapi.podspec
@@ -0,0 +1,31 @@
1Pod::Spec.new do |spec|
2
3 spec.name = "hidapi"
4 spec.version = File.read('../VERSION')
5 spec.summary = "A Simple library for communicating with USB and Bluetooth HID devices on Linux, Mac and Windows."
6
7 spec.description = <<-DESC
8 HIDAPI is a multi-platform library which allows an application to interface with USB and Bluetooth HID-Class devices on Windows, Linux, FreeBSD, and macOS. HIDAPI can be either built as a shared library (.so, .dll or .dylib) or can be embedded directly into a target application by adding a single source file (per platform) and a single header.
9 DESC
10
11 spec.homepage = "https://github.com/libusb/hidapi"
12
13 spec.license = { :type=> "GNU GPLv3 or BSD or HIDAPI original", :file => "LICENSE.txt" }
14
15 spec.authors = { "Alan Ott" => "alan@signal11.us",
16 "Ludovic Rousseau" => "rousseau@debian.org",
17 "libusb/hidapi Team" => "https://github.com/libusb/hidapi/blob/master/AUTHORS.txt",
18 }
19
20 spec.platform = :osx
21 spec.osx.deployment_target = "10.7"
22
23 spec.source = { :git => "https://github.com/libusb/hidapi.git", :tag => "hidapi-#{spec.version}" }
24
25 spec.source_files = "mac/hid.c", "hidapi/hidapi.h", "mac/hidapi_darwin.h"
26
27 spec.public_header_files = "hidapi/hidapi.h", "mac/hidapi_darwin.h"
28
29 spec.frameworks = "IOKit", "CoreFoundation"
30
31end