Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Linux build instructions #296

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading