Commit 4006f60

Nick Faro committed on
Ship FFMpeg and RGBDS with the Linux build
This commit adds those binaries to the zip file we ship on GitHub. It
still doesn't come with the libs (should use AppImage for that maybe?)
so it's not fully self contained, but this should at least solve the
missing rgbds problem a few linux users have had.

Squashed commit of the following:

commit 1a43fc9f1020ef1c6509121e390b1f2b74b9a9ed
Author: Nick Faro <[email protected]>
Date:   Sun Jul 14 22:58:02 2024 +0400

    Fix packaging again

commit ff6902d6ea9b0ef406866681a111e9d15f5ea998
Author: Nick Faro <[email protected]>
Date:   Sun Jul 14 18:44:09 2024 +0400

    fix packaging step

commit e23d35101b41529027231ee3de446d27e495a0a6
Author: Nick Faro <[email protected]>
Date:   Sun Jul 14 18:36:46 2024 +0400

    Install necessary deps

commit c146630daf8f75a46fd1e5b58c7c09a226149940
Author: Nick Faro <[email protected]>
Date:   Sun Jul 14 18:29:14 2024 +0400

    WIP shipping ffmpeg and rgbds binaries with HT on linux
commit 4006f60a3ea7cf5d20656e13bea172c5874b87da parent affb0eb
2 changed files +17−3
Modified.github/workflows/build.yml +12−2
@@ -45,6 +45,9 @@ jobs:
45 45
46 sudo apt install -yq ./fpc-laz_3.2.2-210709_amd64.deb ./fpc-src_3.2.2-210709_amd64.deb ./lazarus-project_3.0.0-0_amd64.deb 46 sudo apt install -yq ./fpc-laz_3.2.2-210709_amd64.deb ./fpc-src_3.2.2-210709_amd64.deb ./lazarus-project_3.0.0-0_amd64.deb
47 47
48 # FFmpeg dependencies
49 sudo apt-get -y install autoconf automake cmake libtool meson ninja-build pkg-config yasm zlib1g-dev
50
48 - name: Install macOS dependencies 51 - name: Install macOS dependencies
49 if: matrix.name == 'Mac' 52 if: matrix.name == 'Mac'
50 run: | 53 run: |
@@ -93,8 +96,8 @@ jobs:
93 shell: msys2 {0} 96 shell: msys2 {0}
94 run: ./hUGETracker/.github/scripts/build-ffmpeg.sh 97 run: ./hUGETracker/.github/scripts/build-ffmpeg.sh
95 98
96 - name: Compile FFmpeg (Mac) 99 - name: Compile FFmpeg (Mac and Linux)
97 if: matrix.name == 'Mac' 100 if: matrix.name == 'Mac' || matrix.name == 'Linux'
98 shell: bash 101 shell: bash
99 run: ./hUGETracker/.github/scripts/build-ffmpeg.sh 102 run: ./hUGETracker/.github/scripts/build-ffmpeg.sh
100 103
@@ -155,6 +158,13 @@ jobs:
155 q 158 q
156 END 159 END
157 160
161 - name: Extra Linux packaging
162 if: matrix.name == 'Linux'
163 shell: bash
164 run: |
165 for f in asm link fix; do cp -v rgbds/rgb$f packaging/rgb$f; done
166 cp -v ffmpeg-4.4/ffmpeg packaging
167
158 - name: Zip files (preserving permissions) 168 - name: Zip files (preserving permissions)
159 shell: bash 169 shell: bash
160 run: | 170 run: |
ModifiedREADME.md +5−1
@@ -11,7 +11,9 @@ If you want help using the tracker, driver, or just want to chat, join the [hUGE
11 11
12 # Build instructions 12 # Build instructions
13 13
14 The only requirements to build hUGETracker are a recent version of [Lazarus](https://www.lazarus-ide.org/) for your platform, and [RGBDS.](https://rgbds.gbdev.io/) 14 The only requirements to build hUGETracker are a recent version of [Lazarus](https://www.lazarus-ide.org/) for your platform, [RGBDS](https://rgbds.gbdev.io/), and [SDL2](https://www.libsdl.org/).
15
16 On Windows, the setup script will download SDL2 for you.
15 17
16 ```bat 18 ```bat
17 :: Download this repo 19 :: Download this repo
@@ -30,6 +32,8 @@ lazbuild --add-package-link src/bgrabitmap/bgrabitmap/bgrabitmappack.lpk
30 32
31 setup-windows.cmd 33 setup-windows.cmd
32 :: or 34 :: or
35 ./setup-mac.sh
36 :: or
33 ./setup-linux.sh 37 ./setup-linux.sh
34 38
35 :: Now, you can either build and run hUGETracker from within Lazarus, 39 :: Now, you can either build and run hUGETracker from within Lazarus,