Repository navigation
Expand file tree
/
Copy pathproject.yml
More file actions
99 lines (99 loc) · 3.3 KB
/
Copy pathproject.yml
File metadata and controls
99 lines (99 loc) · 3.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
name: Hlas
configs:
Debug: debug
Release: release
Distribution: release
options:
bundleIdPrefix: com.gedeon
deploymentTarget:
macOS: "15.0"
packages:
Sparkle:
url: https://github.com/sparkle-project/Sparkle
majorVersion: 2.7.0
# Thinking orb in the pill while transcribing (MIT, Jakub Antalik). Pinned:
# the repo asks to track main and its old tags predate the manifest.
LibrariesDev:
url: https://github.com/Jakubantalik/Libraries.dev
revision: 387b049ca8fe97b5d72999b5bf61a19ab1ccff81
settings:
base:
DEVELOPMENT_TEAM: 74N9VPV9D6
CODE_SIGN_STYLE: Automatic
SWIFT_VERSION: "5.0"
MACOSX_DEPLOYMENT_TARGET: "15.0"
targets:
HlasCore:
type: library.static
platform: macOS
sources:
- path: Sources/HlasCore
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.gedeon.hlas.core
SKIP_INSTALL: true
Hlas:
type: application
platform: macOS
sources:
- path: Sources/Hlas
- path: Sources/CWhisper
excludes: ["include/module.modulemap"]
- path: Resources/Gradients
buildPhase: resources
- path: Resources/Fonts
buildPhase: resources
- path: Resources/Legal
buildPhase: resources
- path: Resources/Assets.xcassets
info:
path: Info.plist
properties:
CFBundleIdentifier: com.gedeon.hlas
CFBundleName: Hlas
CFBundleDisplayName: Hlas
CFBundleShortVersionString: 0.6.1
CFBundleVersion: "12"
LSMinimumSystemVersion: "15.0"
LSUIElement: true
NSMicrophoneUsageDescription: Hlas needs the microphone to transcribe your speech.
NSHighResolutionCapable: true
# hlas://activate?key=... opens Hlas from the Hlas Cloud welcome page.
CFBundleURLTypes:
- CFBundleURLName: com.gedeon.hlas
CFBundleURLSchemes: [hlas]
# Sparkle: one feed for every release, attached by tools/publish.sh.
SUFeedURL: https://hlas.dev/download/appcast.xml
SUPublicEDKey: 6Ab9JNiS3L8luwAnSEoH2BrHAOQNKaE57ChtjHagWuI=
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: com.gedeon.hlas
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
SWIFT_OBJC_INTEROP_MODE: objc
SWIFT_INCLUDE_PATHS: $(SRCROOT)/Sources/CWhisper/include
HEADER_SEARCH_PATHS: $(SRCROOT)/Sources/CWhisper/include
LIBRARY_SEARCH_PATHS: $(SRCROOT)/Vendor/lib
OTHER_LDFLAGS: >-
-lwhisper -lggml -lggml-base -lggml-cpu -lggml-metal -lggml-blas -lc++
ARCHS: arm64
configs:
Distribution:
CODE_SIGN_STYLE: Manual
CODE_SIGN_IDENTITY: "Developer ID Application"
CODE_SIGN_ENTITLEMENTS: Hlas.entitlements
ENABLE_HARDENED_RUNTIME: true
OTHER_CODE_SIGN_FLAGS: "--timestamp"
# Xcode otherwise injects com.apple.security.get-task-allow, which lets
# a debugger attach to the shipped app. Notarization rejects it outright.
CODE_SIGN_INJECT_BASE_ENTITLEMENTS: NO
dependencies:
- target: HlasCore
- package: Sparkle
- package: LibrariesDev
product: ThinkingOrbsKit
- sdk: Metal.framework
- sdk: Accelerate.framework
- sdk: AVFoundation.framework
- sdk: AppKit.framework
- sdk: Security.framework
- sdk: CoreText.framework