Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add suse support to project template #76

Merged
merged 3 commits into from
Aug 31, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions {{ cookiecutter.app_name }}/pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,38 @@ system_runtime_requires = [
{%- endif %}
]

[tool.briefcase.app.{{ cookiecutter.app_name|escape_non_ascii }}.linux.system.suse]
system_requires = [
{%- if cookiecutter.gui_framework == "Toga" %}
# Needed to compile pycairo wheel
"cairo-devel",
# Needed to compile PyGObject wheel
"gobject-introspection-devel",
{%- elif cookiecutter.gui_framework == "PursuedPyBear" %}
# ?? FIXME
{%- endif %}
]

system_runtime_requires = [
{%- if cookiecutter.gui_framework == "Toga" %}
# Needed to provide GTK
"gtk3",
# Needed to support Python bindings to GTK
"gobject-introspection", "typelib(Gtk)=3.0",
# Dependencies that GTK looks for at runtime
"libcanberra-gtk3-0",
# Needed to provide WebKit2 at runtime
# "libwebkit2gtk3",
# "typelib(WebKit2)",
{%- elif cookiecutter.gui_framework == "PySide2" %}
"libQt5Gui5",
{%- elif cookiecutter.gui_framework == "PySide6" %}
"libQt6Gui6",
{%- elif cookiecutter.gui_framework == "PursuedPyBear" %}
# ?? FIXME
{%- endif %}
]

[tool.briefcase.app.{{ cookiecutter.app_name|escape_non_ascii }}.linux.system.arch]
system_requires = [
{%- if cookiecutter.gui_framework == "Toga" %}
Expand Down