Skip to content

Commit

Permalink
chore: Add ioctl-opt as a dependency to AppImages (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
git-developer authored Sep 21, 2024
1 parent e2d371c commit ee84660
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/scc-linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
with:
python-version: '3.11'
# Install dependencies
- run: pip install pytest vdf libusb1
- run: pip install pytest vdf libusb1 ioctl-opt
# Build
- run: python setup.py build
# Test
Expand Down
3 changes: 3 additions & 0 deletions AppImageBuilder.debian-bullseye.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ AppDir:
after_bundle: |
set -eu
# install python3-ioctl-opt manually as it is not packaged anywhere
pip install --target "${TARGET_APPDIR}/usr/lib/python3/dist-packages/" ioctl-opt
# appimage-builder expects .desktop file to start with appinfo-id
desktop="$(find "${TARGET_APPDIR}/usr" -name sc-controller.desktop)"
sed -i "s:Exec=.*:Exec=./usr/bin/scc gui:g" "${desktop}"
Expand Down
3 changes: 3 additions & 0 deletions AppImageBuilder.debian.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ AppDir:
after_bundle: |
set -eu
# install python3-ioctl-opt manually as it is not packaged anywhere
pip install --target "${TARGET_APPDIR}/usr/lib/python3/dist-packages/" ioctl-opt
# appimage-builder expects .desktop file to start with appinfo-id
desktop="$(find "${TARGET_APPDIR}/usr" -name sc-controller.desktop)"
sed -i "s:Exec=.*:Exec=./usr/bin/scc gui:g" "${desktop}"
Expand Down
3 changes: 3 additions & 0 deletions AppImageBuilder.ubuntu-focal.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ AppDir:
after_bundle: |
set -eu
# install python3-ioctl-opt manually as it is not packaged anywhere
pip install --target "${TARGET_APPDIR}/usr/lib/python3/dist-packages/" ioctl-opt
# appimage-builder expects .desktop file to start with appinfo-id
desktop="$(find "${TARGET_APPDIR}/usr" -name sc-controller.desktop)"
sed -i "s:Exec=.*:Exec=./usr/bin/scc gui:g" "${desktop}"
Expand Down
3 changes: 3 additions & 0 deletions AppImageBuilder.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ AppDir:
after_bundle: |
set -eu
# install python3-ioctl-opt manually as it is not packaged anywhere
pip install --target "${TARGET_APPDIR}/usr/lib/python3/dist-packages/" ioctl-opt
# appimage-builder expects .desktop file to start with appinfo-id
desktop="$(find "${TARGET_APPDIR}/usr" -name sc-controller.desktop)"
sed -i "s:Exec=.*:Exec=./usr/bin/scc gui:g" "${desktop}"
Expand Down

0 comments on commit ee84660

Please sign in to comment.