summaryrefslogtreecommitdiff
path: root/misc/calibre/patches/patch-setup_extensions.json
blob: 84260c3df155e0ba1f4941c3101f27296b851363 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-setup_extensions.json,v 1.4 2022/01/20 19:03:07 rhialto Exp $

Include libusb and libmtp for netbsd.

--- setup/extensions.json.orig	2021-12-17 00:40:19.000000000 +0000
+++ setup/extensions.json
@@ -204,13 +204,13 @@
     },
     {
         "name": "libusb",
-        "only": "freebsd",
+        "only": "freebsd netbsd",
         "sources": "calibre/devices/libusb/libusb.c",
         "libraries": "usb"
     },
     {
         "name": "libmtp",
-        "only": "freebsd macos linux haiku",
+        "only": "freebsd macos linux haiku netbsd",
         "sources": "calibre/devices/mtp/unix/devices.c calibre/devices/mtp/unix/libmtp.c",
         "headers": "calibre/devices/mtp/unix/devices.h calibre/devices/mtp/unix/upstream/music-players.h calibre/devices/mtp/unix/upstream/device-flags.h",
         "libraries": "mtp"