forked from flathub/com.unity.UnityHub
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathopenssl-1.1.yaml
26 lines (26 loc) · 942 Bytes
/
openssl-1.1.yaml
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
# 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