mirror of
https://github.com/Yubico/yubioath-flutter.git
synced 2024-12-23 02:01:36 +03:00
Embed required libraries on Linux.
This commit is contained in:
parent
6f7d15dfff
commit
d4253d3e63
14
.github/workflows/linux.yml
vendored
14
.github/workflows/linux.yml
vendored
@ -18,7 +18,7 @@ jobs:
|
||||
- name: Install dependencies
|
||||
run: |
|
||||
apt-get update
|
||||
apt-get install -qq software-properties-common libnotify-dev libayatana-appindicator3-dev
|
||||
apt-get install -qq software-properties-common libnotify-dev libayatana-appindicator3-dev patchelf
|
||||
add-apt-repository -y ppa:git-core/ppa
|
||||
add-apt-repository -y ppa:deadsnakes/ppa
|
||||
apt-get install -qq git python$PYVER-dev python$PYVER-venv
|
||||
@ -82,6 +82,18 @@ jobs:
|
||||
- name: Check generated files
|
||||
run: git diff --exit-code
|
||||
|
||||
- name: Embedd appindicator
|
||||
run: |
|
||||
patchelf --set-rpath '$ORIGIN' build/linux/x64/release/bundle/lib/libtray_manager_plugin.so
|
||||
cp -L /usr/lib/x86_64-linux-gnu/libayatana-appindicator3.so.1 build/linux/x64/release/bundle/lib/
|
||||
patchelf --set-rpath '$ORIGIN' build/linux/x64/release/bundle/lib/libayatana-appindicator3.so.1
|
||||
cp -L /usr/lib/x86_64-linux-gnu/libayatana-indicator3.so.7 build/linux/x64/release/bundle/lib/
|
||||
patchelf --set-rpath '$ORIGIN' build/linux/x64/release/bundle/lib/libayatana-indicator3.so.7
|
||||
cp -L /usr/lib/x86_64-linux-gnu/libdbusmenu-glib.so.4 build/linux/x64/release/bundle/lib/
|
||||
patchelf --set-rpath '$ORIGIN' build/linux/x64/release/bundle/lib/libdbusmenu-glib.so.4
|
||||
cp -L /usr/lib/x86_64-linux-gnu/libdbusmenu-gtk3.so.4 build/linux/x64/release/bundle/lib/
|
||||
patchelf --set-rpath '$ORIGIN' build/linux/x64/release/bundle/lib/libdbusmenu-gtk3.so.4
|
||||
|
||||
- name: Rename and archive app
|
||||
run: |
|
||||
export REF=$(echo ${GITHUB_REF} | cut -d '/' -f 3)
|
||||
|
Loading…
Reference in New Issue
Block a user