-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathproject.yml
More file actions
258 lines (258 loc) · 9.77 KB
/
Copy pathproject.yml
File metadata and controls
258 lines (258 loc) · 9.77 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
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
name: AetherPlayer
options:
bundleIdPrefix: de.superuser404
deploymentTarget:
macOS: "14.0"
iOS: "17.0"
createIntermediateGroups: true
settings:
base:
MARKETING_VERSION: "0.16.1"
CURRENT_PROJECT_VERSION: "64"
SWIFT_VERSION: "6.0"
ARCHS: "$(ARCHS_STANDARD)"
CODE_SIGN_ENTITLEMENTS: Sources/macOS/Resources/AetherPlayer.entitlements
ENABLE_HARDENED_RUNTIME: YES
# No AppIntents in this app; skips the appintentsmetadataprocessor warning.
LM_SKIP_METADATA_EXTRACTION: YES
configs:
Debug:
ONLY_ACTIVE_ARCH: YES
Release:
ONLY_ACTIVE_ARCH: NO
packages:
AetherEngine:
url: https://github.com/superuser404notfound/AetherEngine
revision: dd99bf4a1441b08b998801d3aab27bf3f6779745
SwiftAssRenderer:
url: https://github.com/mihai8804858/swift-ass-renderer
version: 1.3.1
Sparkle:
url: https://github.com/sparkle-project/Sparkle
from: "2.6.0"
targets:
AetherPlayer:
type: application
platform: macOS
sources:
- path: Sources/Shared
- path: Sources/macOS
excludes:
- Resources/Info.plist
- Resources/Info-MAS.plist
info:
path: Sources/macOS/Resources/Info.plist
properties:
CFBundleDisplayName: AetherPlayer
CFBundleName: AetherPlayer
# Expanded at build time so the bundle reports the real version.
# Sparkle compares CFBundleVersion, so this must track the build number.
CFBundleShortVersionString: "$(MARKETING_VERSION)"
CFBundleVersion: "$(CURRENT_PROJECT_VERSION)"
LSMinimumSystemVersion: "14.0"
NSHumanReadableCopyright: ""
# Open URL plays user-entered servers (LAN Jellyfin, HDHomeRun proxies,
# IPTV) that are commonly plain HTTP; the engine streams them through
# URLSession, so ATS needs the cleartext exemption.
NSAppTransportSecurity:
NSAllowsArbitraryLoads: true
SUFeedURL: https://superuser404notfound.github.io/AetherPlayer/appcast.xml
SUPublicEDKey: svx1jSdcWBeRUDFkz79lK7yBgXbFu5GnVrm/G/xh3dE=
SUEnableInstallerLauncherService: true
CFBundleDocumentTypes:
- CFBundleTypeName: Video
LSItemContentTypes:
- public.movie
- public.video
- org.matroska.mkv
- public.mpeg-4
CFBundleTypeRole: Viewer
LSHandlerRank: Alternate
- CFBundleTypeName: Disc Image
LSItemContentTypes:
- public.iso-image
CFBundleTypeRole: Viewer
LSHandlerRank: Alternate
- CFBundleTypeName: Audio
LSItemContentTypes:
- public.audio
- public.mp3
- public.mpeg-4-audio
- com.apple.m4a-audio
- org.xiph.flac
- com.microsoft.waveform-audio
- public.aiff-audio
- org.xiph.opus
- org.xiph.ogg
CFBundleTypeRole: Viewer
LSHandlerRank: Alternate
# Matroska has no reliable system UTI conforming .mkv to public.movie, so import it
# ourselves; without this Finder and the open panel gray out .mkv files.
UTImportedTypeDeclarations:
- UTTypeIdentifier: org.matroska.mkv
UTTypeDescription: Matroska Video
UTTypeConformsTo:
- public.movie
UTTypeTagSpecification:
public.filename-extension:
- mkv
public.mime-type:
- video/x-matroska
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: de.superuser404.AetherPlayer
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
# Direct-distribution build: compiles in Sparkle auto-update (a real
# SUPublicEDKey is set above). A future App Store config must omit this
# flag, since the store handles updates and forbids third-party
# self-update.
SWIFT_ACTIVE_COMPILATION_CONDITIONS: "$(inherited) DIRECT_DISTRIBUTION"
dependencies:
- package: AetherEngine
- package: SwiftAssRenderer
- package: Sparkle
AetherPlayer-MAS:
type: application
platform: macOS
sources:
- path: Sources/Shared
- path: Sources/macOS
excludes:
- Resources/Info.plist
- Resources/Info-MAS.plist
info:
path: Sources/macOS/Resources/Info-MAS.plist
properties:
CFBundleDisplayName: AetherPlayer
CFBundleName: AetherPlayer
CFBundleShortVersionString: "$(MARKETING_VERSION)"
CFBundleVersion: "$(CURRENT_PROJECT_VERSION)"
LSMinimumSystemVersion: "14.0"
NSHumanReadableCopyright: ""
# Cleartext media servers over URLSession, see the note on the macOS target.
NSAppTransportSecurity:
NSAllowsArbitraryLoads: true
LSApplicationCategoryType: public.app-category.video
ITSAppUsesNonExemptEncryption: false
CFBundleDocumentTypes:
- CFBundleTypeName: Video
LSItemContentTypes: [public.movie, public.video, org.matroska.mkv, public.mpeg-4]
CFBundleTypeRole: Viewer
LSHandlerRank: Alternate
- CFBundleTypeName: Disc Image
LSItemContentTypes: [public.iso-image]
CFBundleTypeRole: Viewer
LSHandlerRank: Alternate
- CFBundleTypeName: Audio
LSItemContentTypes: [public.audio, public.mp3, public.mpeg-4-audio, com.apple.m4a-audio, org.xiph.flac, com.microsoft.waveform-audio, public.aiff-audio, org.xiph.opus, org.xiph.ogg]
CFBundleTypeRole: Viewer
LSHandlerRank: Alternate
# Matroska has no reliable system UTI conforming .mkv to public.movie, so import it
# ourselves; without this Finder and the open panel gray out .mkv files.
UTImportedTypeDeclarations:
- UTTypeIdentifier: org.matroska.mkv
UTTypeDescription: Matroska Video
UTTypeConformsTo: [public.movie]
UTTypeTagSpecification:
public.filename-extension: [mkv]
public.mime-type: [video/x-matroska]
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: de.superuser404.AetherPlayer
PRODUCT_NAME: AetherPlayer
CODE_SIGN_ENTITLEMENTS: Sources/macOS/Resources/AetherPlayer-MAS.entitlements
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
DEVELOPMENT_TEAM: 4NY63S72W9
CODE_SIGN_STYLE: Automatic
# Mac App Store build: no Sparkle package, no DIRECT_DISTRIBUTION (the store
# handles updates and forbids third-party self-update). Shares all sources
# with the DMG target; the Sparkle-using code is behind #if DIRECT_DISTRIBUTION
# so it drops out cleanly here.
dependencies:
- package: AetherEngine
- package: SwiftAssRenderer
AetherPlayer-iOS:
type: application
platform: iOS
sources:
- path: Sources/Shared
- path: Sources/iOS
info:
path: Sources/iOS/Resources/Info.plist
properties:
CFBundleDisplayName: AetherPlayer
CFBundleName: AetherPlayer
CFBundleShortVersionString: "$(MARKETING_VERSION)"
CFBundleVersion: "$(CURRENT_PROJECT_VERSION)"
# Only standard HTTPS/TLS (exempt); skips the export-compliance prompt on upload.
ITSAppUsesNonExemptEncryption: false
# Cleartext media servers over URLSession, see the note on the macOS target.
NSAppTransportSecurity:
NSAllowsArbitraryLoads: true
UILaunchScreen: {}
UISupportedInterfaceOrientations~ipad:
- UIInterfaceOrientationPortrait
- UIInterfaceOrientationPortraitUpsideDown
- UIInterfaceOrientationLandscapeLeft
- UIInterfaceOrientationLandscapeRight
UISupportedInterfaceOrientations:
- UIInterfaceOrientationPortrait
- UIInterfaceOrientationLandscapeLeft
- UIInterfaceOrientationLandscapeRight
UIBackgroundModes:
- audio
UISupportsDocumentBrowser: false
LSSupportsOpeningDocumentsInPlace: true
CFBundleDocumentTypes:
- CFBundleTypeName: Video
LSItemContentTypes: [public.movie, public.video, org.matroska.mkv, public.mpeg-4]
CFBundleTypeRole: Viewer
LSHandlerRank: Alternate
- CFBundleTypeName: Disc Image
LSItemContentTypes: [public.iso-image]
CFBundleTypeRole: Viewer
LSHandlerRank: Alternate
- CFBundleTypeName: Audio
LSItemContentTypes: [public.audio, public.mp3, public.mpeg-4-audio, com.apple.m4a-audio, org.xiph.flac, com.microsoft.waveform-audio, public.aiff-audio, org.xiph.opus, org.xiph.ogg]
CFBundleTypeRole: Viewer
LSHandlerRank: Alternate
settings:
base:
PRODUCT_BUNDLE_IDENTIFIER: de.superuser404.AetherPlayer
CODE_SIGN_ENTITLEMENTS: Sources/iOS/Resources/AetherPlayer-iOS.entitlements
ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
TARGETED_DEVICE_FAMILY: "1,2"
# Automatic signing with the team: Xcode manages the development and
# App Store distribution certs/profiles (Archive -> Distribute). No
# DIRECT_DISTRIBUTION, no Sparkle: the App Store handles updates.
DEVELOPMENT_TEAM: 4NY63S72W9
CODE_SIGN_STYLE: Automatic
dependencies:
- package: AetherEngine
- package: SwiftAssRenderer
AetherPlayerTests:
type: bundle.unit-test
platform: macOS
sources:
- path: Tests/AetherPlayerTests
settings:
base:
GENERATE_INFOPLIST_FILE: YES
dependencies:
- target: AetherPlayer
schemes:
AetherPlayer:
build:
targets:
AetherPlayer: all
test:
targets:
- AetherPlayerTests
AetherPlayer-MAS:
build:
targets:
AetherPlayer-MAS: all
AetherPlayer-iOS:
build:
targets:
AetherPlayer-iOS: all