mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Also use macos in extensions.json
This commit is contained in:
parent
7f6dce5218
commit
9642eeea83
@ -119,7 +119,7 @@ def parse_extension(ext):
|
||||
if iswindows:
|
||||
ans = ext.pop('windows_' + k, ans)
|
||||
elif ismacos:
|
||||
ans = ext.pop('osx_' + k, ans)
|
||||
ans = ext.pop('macos_' + k, ans)
|
||||
elif isbsd:
|
||||
ans = ext.pop('bsd_' + k, ans)
|
||||
elif isfreebsd:
|
||||
|
@ -159,19 +159,19 @@
|
||||
},
|
||||
{
|
||||
"name": "usbobserver",
|
||||
"only": "osx",
|
||||
"only": "macos",
|
||||
"sources": "calibre/devices/usbobserver/usbobserver.c",
|
||||
"ldflags": "-framework CoreServices -framework IOKit"
|
||||
},
|
||||
{
|
||||
"name": "cocoa",
|
||||
"only": "osx",
|
||||
"only": "macos",
|
||||
"sources": "calibre/utils/cocoa.m calibre/utils/cocoa_wrapper.c",
|
||||
"ldflags": "-framework Cocoa"
|
||||
},
|
||||
{
|
||||
"name": "libusb",
|
||||
"only": "osx linux haiku",
|
||||
"only": "macos linux haiku",
|
||||
"sources": "calibre/devices/libusb/libusb.c",
|
||||
"libraries": "usb-1.0"
|
||||
},
|
||||
@ -183,7 +183,7 @@
|
||||
},
|
||||
{
|
||||
"name": "libmtp",
|
||||
"only": "freebsd osx linux haiku",
|
||||
"only": "freebsd macos linux haiku",
|
||||
"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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user