Skip to content

Commit

Permalink
linux: install webkit2gtk-4.1-dev
Browse files Browse the repository at this point in the history
  • Loading branch information
adil192 committed Sep 25, 2024
1 parent 9356635 commit 8014cc9
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 9 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Install apt dependencies
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: libgtk-3-dev libx11-dev pkg-config cmake ninja-build libblkid-dev libsecret-1-dev libjsoncpp-dev ghostscript libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libunwind-dev
packages: libgtk-3-dev libx11-dev pkg-config cmake ninja-build libblkid-dev libsecret-1-dev libjsoncpp-dev ghostscript libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libunwind-dev webkit2gtk-4.1-dev
version: 1.0
execute_install_scripts: true

Expand Down Expand Up @@ -141,7 +141,7 @@ jobs:
sudo \
bash curl file git unzip xz-utils zip \
clang cmake ninja-build pkg-config libgtk-3-dev liblzma-dev libstdc++-12-dev \
libsecret-1-dev libjsoncpp-dev \
libsecret-1-dev libjsoncpp-dev webkit2gtk-4.1-dev \
libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libunwind-dev
echo Creating nonroot user
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/onyxsdk_pen_tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
- name: Install apt dependencies
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: libgtk-3-dev libx11-dev pkg-config cmake ninja-build libblkid-dev libsecret-1-dev libjsoncpp-dev ghostscript libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libunwind-dev
packages: libgtk-3-dev libx11-dev pkg-config cmake ninja-build libblkid-dev libsecret-1-dev libjsoncpp-dev ghostscript libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libunwind-dev webkit2gtk-4.1-dev
version: 1.0
execute_install_scripts: true

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
- name: Install apt dependencies
uses: awalsh128/cache-apt-pkgs-action@latest
with:
packages: libgtk-3-dev libx11-dev pkg-config cmake ninja-build libblkid-dev libsecret-1-dev libjsoncpp-dev ghostscript libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libunwind-dev
packages: libgtk-3-dev libx11-dev pkg-config cmake ninja-build libblkid-dev libsecret-1-dev libjsoncpp-dev ghostscript libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libunwind-dev webkit2gtk-4.1-dev
version: 1.0
execute_install_scripts: true

Expand Down
2 changes: 1 addition & 1 deletion README-cs.md
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ se dá shrnout jako:

#### Linux

`sudo apt install libsecret-1-dev libjsoncpp-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev`
`sudo apt install libsecret-1-dev libjsoncpp-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev webkit2gtk-4.1-dev`
`flutter build linux`

Toto je dostatečné pro použití na vlastním počítači, ale pokud chcete své sestavení distribuovat,
Expand Down
2 changes: 1 addition & 1 deletion README-de.md
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ Das Setup für das [super_clipboard](https://pub.dev/packages/super_clipboard)-P

#### Linux

`sudo apt install libsecret-1-dev libjsoncpp-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev`
`sudo apt install libsecret-1-dev libjsoncpp-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev webkit2gtk-4.1-dev`
`flutter build linux`

Dies ist ausreichend um es auf dem eigenen Computer zu benutzen, aber falls du deinen Build anderweitig zur Verfügung stellen möchtest, solltest du ein _Predictable Environment_ verwenden: Forke dieses Repo und nutze stattdessen die Github-Aktion [Build for Linux](https://github.com/saber-notes/saber/actions/workflows/linux.yml).
Expand Down
2 changes: 1 addition & 1 deletion README-zh-CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ flutter pub get

#### Linux

`sudo apt install libsecret-1-dev libjsoncpp-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev`
`sudo apt install libsecret-1-dev libjsoncpp-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev webkit2gtk-4.1-dev`
`flutter build linux`

这对于在您自己的计算机上使用已经足够好了。但是如果您想重新分发您的构建,你需要使用一个可预测的环境:fork 这个仓库并使用 GitHub Action
Expand Down
2 changes: 1 addition & 1 deletion README-zh-TW.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ flutter pub get

#### Linux

`sudo apt install libsecret-1-dev libjsoncpp-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev`
`sudo apt install libsecret-1-dev libjsoncpp-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev webkit2gtk-4.1-dev`
`flutter build linux`

這足以在您自己的電腦上使用,但如果您想重新分發您的構建,
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ package can be summarised as:

#### Linux

`sudo apt install libsecret-1-dev libjsoncpp-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev`
`sudo apt install libsecret-1-dev libjsoncpp-dev libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev webkit2gtk-4.1-dev`
`flutter build linux`

This is good enough for using on your own computer, but if you want to redistribute your build,
Expand Down
1 change: 1 addition & 0 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ parts:
- libjsoncpp-dev
- libgstreamer1.0-dev
- libgstreamer-plugins-base1.0-dev
- webkit2gtk-4.1-dev
build-snaps:
- cmake
stage-packages:
Expand Down

0 comments on commit 8014cc9

Please sign in to comment.