Skip to content

Commit

Permalink
Build OpenSSL 1.1.1 in snap
Browse files Browse the repository at this point in the history
  • Loading branch information
ilya-fedin authored and john-preston committed Jun 28, 2022
1 parent d09a591 commit 0e97ef9
Showing 1 changed file with 24 additions and 6 deletions.
30 changes: 24 additions & 6 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ parts:
- libglibmm-2.4-dev
- libopus-dev
- libpulse-dev
- libssl-dev
- libwayland-dev
- libxcb1-dev
- libxcb-keysyms1-dev
Expand All @@ -109,7 +108,6 @@ parts:
- libglibmm-2.4-1v5
- libopus0
- libpulse0
- libssl3
- libwayland-client0
- libwebkit2gtk-4.1-0
- libxcb1
Expand Down Expand Up @@ -157,6 +155,7 @@ parts:
- ffmpeg
- mozjpeg
- openal
- openssl
- rnnoise
- webrtc

Expand Down Expand Up @@ -262,6 +261,27 @@ parts:
- -./usr/lib/$CRAFT_ARCH_TRIPLET/pkgconfig
- -./usr/lib/$CRAFT_ARCH_TRIPLET/*.so

openssl:
source: https://github.com/openssl/openssl.git
source-depth: 1
source-branch: OpenSSL_1_1_1-stable
plugin: make
override-build: |
./config \
shared \
--prefix=/usr \
--openssldir=/usr/lib/ssl \
--libdir=lib/$CRAFT_ARCH_TRIPLET \
no-tests
craftctl default
prime:
- -./usr/bin
- -./usr/include
- -./usr/lib/$CRAFT_ARCH_TRIPLET/pkgconfig
- -./usr/lib/$CRAFT_ARCH_TRIPLET/*.a
- -./usr/lib/$CRAFT_ARCH_TRIPLET/*.so
- -./usr/share

qt:
plugin: nil
build-packages:
Expand All @@ -279,7 +299,6 @@ parts:
- libpcre2-dev
- libpng-dev
- libsm-dev
- libssl-dev
- libwayland-dev
- libx11-dev
- libx11-xcb-dev
Expand Down Expand Up @@ -316,7 +335,6 @@ parts:
- libpcre2-16-0
- libpng16-16
- libsm6
- libssl3
- libwayland-client0
- libwayland-cursor0
- libwayland-egl1
Expand Down Expand Up @@ -385,6 +403,7 @@ parts:
- -./usr/modules
after:
- mozjpeg
- openssl
- patches

rnnoise:
Expand Down Expand Up @@ -420,7 +439,6 @@ parts:
- libopenh264-dev
- libopus-dev
- libpipewire-0.3-dev
- libssl-dev
- libvpx-dev
- libx11-dev
- libxcomposite-dev
Expand All @@ -439,7 +457,6 @@ parts:
- libopenh264-6
- libopus0
- libpipewire-0.3-0
- libssl3
- libvpx7
- libx11-6
- libxcomposite1
Expand All @@ -462,3 +479,4 @@ parts:
after:
- ffmpeg
- mozjpeg
- openssl

0 comments on commit 0e97ef9

Please sign in to comment.