Skip to content
Merged
Show file tree
Hide file tree
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
9 changes: 5 additions & 4 deletions com.unity.UnityHub.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
app-id: com.unity.UnityHub
base: org.electronjs.Electron2.BaseApp
base-version: '21.08'
base-version: '22.08'
runtime: org.freedesktop.Sdk
runtime-version: '21.08'
runtime-version: '22.08'
sdk: org.freedesktop.Sdk
command: start-unityhub
separate-locales: false
Expand All @@ -26,10 +26,10 @@ finish-args:
add-extensions:
org.freedesktop.Platform.Compat.i386:
directory: lib/i386-linux-gnu
version: '21.08'
version: '22.08'
org.freedesktop.Platform.Compat.i386.Debug:
directory: lib/debug/lib/i386-linux-gnu
version: '21.08'
version: '22.08'
modules:
- name: compat
buildsystem: simple
Expand All @@ -38,6 +38,7 @@ modules:

- shared-modules/glu/glu-9.json
- shared-modules/libsecret/libsecret.json
- openssl-1.1.yaml

- name: unityhub
buildsystem: simple
Expand Down
26 changes: 26 additions & 0 deletions openssl-1.1.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Unity 2021 and older require OpenSSL 1.0 or 1.1. Bundle a copy of OpenSSL 1.1.
# https://github.com/flathub/com.unity.UnityHub/pull/73#issuecomment-1407370899
# https://forum.unity.com/threads/workaround-for-libssl-issue-on-ubuntu-22-04.1271405/#post-8098841
name: openssl-1.1
buildsystem: simple
build-commands:
- ./config --prefix=/app
- make -j $FLATPAK_BUILDER_N_JOBS
- make install
cleanup:
- /share/doc
- /share/man
- '*.a'
# Don't mask CLI tools provided by runtime - we just want the versioned shared library
- /bin
# Don't mask unversion library symlinks from library
- /lib/libcrypto.so
- /lib/libssl.so
sources:
- type: archive
url: https://www.openssl.org/source/openssl-1.1.1w.tar.gz
sha256: cf3098950cb4d853ad95c0841f1f9c6d3dc102dccfcacd521d93925208b76ac8
x-checker-data:
type: anitya
project-id: 20333
url-template: https://www.openssl.org/source/openssl-$version.tar.gz