Skip to content

Commit

Permalink
Linux build instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
darealshinji authored Jan 18, 2025
1 parent 028f9ab commit c38aaa0
Showing 1 changed file with 41 additions and 0 deletions.
41 changes: 41 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,47 @@ meson compile osx-bundle -C build_static
meson compile osx-build-dmg -C build_static
```

### Linux or other

#### Build dependencies for Debian-based systems

```
compiler: build-essential
pkgconfig: pkg-config or pkgconf
meson: meson ninja-build
gettext: gettext intltool
fontconfig: libfontconfig1-dev
libass: libass-dev
boost: libboost-chrono-dev libboost-locale-dev libboost-regex-dev libboost-system-dev libboost-thread-dev
zlib: zlib1g-dev
WxWidgets: wx3.2-headers libwxgtk3.2-dev or wx3.0-headers libwxgtk3.0-dev
ICU: icu-devtools libicu-dev
pulse-audio: libpulse-dev
ALSA: libasound2-dev
OpenAL: libopenal-dev
ffms2: libffms2-dev
fftw3: libfftw3-dev
hunspell: libhunspell-dev
uchardet: libuchardet-dev
libcurl: libcurl4-openssl-dev or libcurl4-gnutls-dev
opengl: libgl1-mesa-dev
gtest: libgtest-dev
gmock: libgmock-dev
```

I.e. to install on Ubuntu 24.04 run this command:
``` bash
sudo apt install build-essential pkg-config meson ninja-build gettext intltool libfontconfig1-dev libass-dev libboost-chrono-dev libboost-locale-dev libboost-regex-dev libboost-system-dev libboost-thread-dev zlib1g-dev wx3.2-headers libwxgtk3.2-dev icu-devtools libicu-dev libpulse-dev libasound2-dev libopenal-dev libffms2-dev libfftw3-dev libhunspell-dev libuchardet-dev libcurl4-gnutls-dev libgl1-mesa-dev libgtest-dev libgmock-dev
```

#### Build Aegisub

``` bash
meson setup build --prefix=/usr/local --buildtype=release --strip -Dsystem_luajit=false
meson compile -C build
meson install -C build
```

## Updating Moonscript

From within the Moonscript repository, run `bin/moon bin/splat.moon -l moonscript moonscript/ > bin/moonscript.lua`.
Expand Down

0 comments on commit c38aaa0

Please sign in to comment.