-
Notifications
You must be signed in to change notification settings - Fork 92
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cicd: switch to universal macOS build
- Loading branch information
Showing
9 changed files
with
167 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,8 +8,8 @@ version = "0.5.9" | |
description = "OCR-powered screen-capture tool to capture information instead of images." | ||
keywords = ["screenshot", "ocr", "capture", "clipboard"] | ||
readme = "README.md" | ||
requires-python = ">=3.9,<=3.12" | ||
license = "GPL-3.0-or-later" | ||
requires-python = ">=3.9" | ||
license.file = "LICENSE" | ||
authors = [{ name = "dynobo", email = "[email protected]" }] | ||
classifiers = [ | ||
"Development Status :: 4 - Beta", | ||
|
@@ -113,7 +113,7 @@ check = [ | |
format = [ | ||
{ cmd = "ruff check --fix-only" }, | ||
{ cmd = "ruff format" }, | ||
{ ref = "locales-compile"}, | ||
{ ref = "locales-compile" }, | ||
{ cmd = "mdformat --align-semantic-breaks-in-lists --end-of-line keep" }, | ||
] | ||
chart = [ | ||
|
@@ -309,14 +309,11 @@ cleanup_paths = [ | |
[tool.briefcase.app.normcap.macOS.Xcode] | ||
requires = ["std-nslog==1.0.0"] | ||
universal_build = true | ||
# TODO: Configure Entitlements.plist ? For screenshot and notify permissions? | ||
# TODO: Info.plist? | ||
# TODO: Remove build for x64 (not needed anymore). Also from docs. | ||
|
||
info."LSUIPresentationMode" = 3 | ||
|
||
[tool.briefcase.app.normcap.linux.appimage] | ||
template = "https://github.com/beeware/briefcase-linux-appimage-template" | ||
template_branch = "v0.3.16" | ||
template_branch = "v0.3.20" | ||
manylinux = "manylinux_2_28" | ||
manylinux_image_tag = "latest" | ||
system_requires = [ | ||
|
@@ -358,13 +355,11 @@ RUN cd wl-clipboard \ | |
&& ninja \ | ||
&& meson install | ||
ENV LD_LIBRARY_PATH "$LD_LIBRARY_PATH:/app/NormCap.AppDir/usr/app_packages/shiboken6" | ||
ENV LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/app/NormCap.AppDir/usr/app_packages/shiboken6" | ||
USER brutus | ||
""" | ||
|
||
# TODO: Use briefcase --Xdocker-build for docker build args (if applicable) | ||
|
||
[tool.briefcase.app.normcap.windows] | ||
use_full_install_path = false | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.