Skip to content

Commit ee84660

Browse files
chore: Add ioctl-opt as a dependency to AppImages (#28)
1 parent e2d371c commit ee84660

File tree

5 files changed

+13
-1
lines changed

5 files changed

+13
-1
lines changed

.github/workflows/scc-linux.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
with:
2323
python-version: '3.11'
2424
# Install dependencies
25-
- run: pip install pytest vdf libusb1
25+
- run: pip install pytest vdf libusb1 ioctl-opt
2626
# Build
2727
- run: python setup.py build
2828
# Test

AppImageBuilder.debian-bullseye.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ AppDir:
2626
after_bundle: |
2727
set -eu
2828
29+
# install python3-ioctl-opt manually as it is not packaged anywhere
30+
pip install --target "${TARGET_APPDIR}/usr/lib/python3/dist-packages/" ioctl-opt
31+
2932
# appimage-builder expects .desktop file to start with appinfo-id
3033
desktop="$(find "${TARGET_APPDIR}/usr" -name sc-controller.desktop)"
3134
sed -i "s:Exec=.*:Exec=./usr/bin/scc gui:g" "${desktop}"

AppImageBuilder.debian.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ AppDir:
2626
after_bundle: |
2727
set -eu
2828
29+
# install python3-ioctl-opt manually as it is not packaged anywhere
30+
pip install --target "${TARGET_APPDIR}/usr/lib/python3/dist-packages/" ioctl-opt
31+
2932
# appimage-builder expects .desktop file to start with appinfo-id
3033
desktop="$(find "${TARGET_APPDIR}/usr" -name sc-controller.desktop)"
3134
sed -i "s:Exec=.*:Exec=./usr/bin/scc gui:g" "${desktop}"

AppImageBuilder.ubuntu-focal.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ AppDir:
2626
after_bundle: |
2727
set -eu
2828
29+
# install python3-ioctl-opt manually as it is not packaged anywhere
30+
pip install --target "${TARGET_APPDIR}/usr/lib/python3/dist-packages/" ioctl-opt
31+
2932
# appimage-builder expects .desktop file to start with appinfo-id
3033
desktop="$(find "${TARGET_APPDIR}/usr" -name sc-controller.desktop)"
3134
sed -i "s:Exec=.*:Exec=./usr/bin/scc gui:g" "${desktop}"

AppImageBuilder.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ AppDir:
2626
after_bundle: |
2727
set -eu
2828
29+
# install python3-ioctl-opt manually as it is not packaged anywhere
30+
pip install --target "${TARGET_APPDIR}/usr/lib/python3/dist-packages/" ioctl-opt
31+
2932
# appimage-builder expects .desktop file to start with appinfo-id
3033
desktop="$(find "${TARGET_APPDIR}/usr" -name sc-controller.desktop)"
3134
sed -i "s:Exec=.*:Exec=./usr/bin/scc gui:g" "${desktop}"

0 commit comments

Comments
 (0)