Skip to content

Commit 32edf45

Browse files
committed
Enable ports repository
1 parent 94b28ed commit 32edf45

3 files changed

Lines changed: 23 additions & 0 deletions

File tree

sources/SDL/Native/build-linux-arm.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@ fi
66
if [[ ! -z ${GITHUB_ACTIONS+x} ]]; then
77
../../../eng/native/buildsystem/download-zig.py
88
export PATH="$PATH:$(readlink -f "../../../eng/native/buildsystem/zig")"
9+
10+
# Enable ports repository
11+
cat <<EOF > /etc/apt/sources.list.d/ubuntu-ports.sources
12+
Types: deb
13+
URIs: http://ports.ubuntu.com/ubuntu-ports/
14+
Suites: noble noble-updates noble-backports noble-security
15+
Components: main restricted universe multiverse
16+
Architectures: armhf
17+
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
18+
EOF
19+
920
# Dependency list is from https://github.com/libsdl-org/SDL/blob/main/docs/README-linux.md#build-dependencies
1021
sudo dpkg --add-architecture armhf
1122
sudo apt-get update

sources/SDL/Native/build-linux-arm64.sh

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,17 @@ fi
66
if [[ ! -z ${GITHUB_ACTIONS+x} ]]; then
77
../../../eng/native/buildsystem/download-zig.py
88
export PATH="$PATH:$(readlink -f "../../../eng/native/buildsystem/zig")"
9+
10+
# Enable ports repository
11+
cat <<EOF > /etc/apt/sources.list.d/ubuntu-ports.sources
12+
Types: deb
13+
URIs: http://ports.ubuntu.com/ubuntu-ports/
14+
Suites: noble noble-updates noble-backports noble-security
15+
Components: main restricted universe multiverse
16+
Architectures: arm64
17+
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
18+
EOF
19+
920
# Dependency list is from https://github.com/libsdl-org/SDL/blob/main/docs/README-linux.md#build-dependencies
1021
sudo dpkg --add-architecture arm64
1122
sudo apt-get update

sources/SDL/Native/build-linux-x64.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ fi
66
if [[ ! -z ${GITHUB_ACTIONS+x} ]]; then
77
../../../eng/native/buildsystem/download-zig.py
88
export PATH="$PATH:$(readlink -f "../../../eng/native/buildsystem/zig")"
9+
910
# Dependency list is from https://github.com/libsdl-org/SDL/blob/main/docs/README-linux.md#build-dependencies
1011
sudo dpkg --add-architecture amd64
1112
sudo apt-get update

0 commit comments

Comments
 (0)