mirror of https://github.com/odrling/Aegisub
[ci] fix debian bionic build
This commit is contained in:
parent
b57f51aebf
commit
4159cdcebd
|
@ -9,5 +9,3 @@ export DEB_BUILD_OPTIONS=nocheck # tests are broken
|
|||
%:
|
||||
dh $@
|
||||
|
||||
override_dh_auto_configure:
|
||||
dh_auto_configure -- --without-oss --without-portaudio --without-openal --disable-update-checker
|
||||
|
|
|
@ -1,15 +1,17 @@
|
|||
FROM ubuntu:bionic
|
||||
|
||||
RUN apt-get update && apt-get upgrade -y
|
||||
RUN apt-get install -y dh-make build-essential libwxgtk3.0 libboost-all-dev icu-devtools libffms2-dev fontconfig libfreetype6-dev libass-dev zlib1g-dev libgl1 libssl-dev libasound2-dev libpulse-dev fftw3-dev libuchardet-dev libc6-dev intltool libhunspell-dev git
|
||||
ARG DEBIAN_FRONTEND=noninteractive
|
||||
|
||||
RUN apt-get update && apt-get upgrade -y && apt-get install -y dh-make build-essential libwxgtk3.0 libboost-all-dev icu-devtools libffms2-dev fontconfig libfreetype6-dev libass-dev zlib1g-dev libgl1 libssl-dev libasound2-dev libpulse-dev fftw3-dev libuchardet-dev libc6-dev intltool libhunspell-dev git python3-pip libreadline-dev ninja-build
|
||||
RUN pip3 install meson
|
||||
|
||||
COPY . /aegisub
|
||||
WORKDIR /aegisub
|
||||
RUN make clean
|
||||
RUN build/version.sh .
|
||||
RUN rm -rf .git
|
||||
RUN mv .ci/docker/debian_entrypoint.sh /entrypoint.sh
|
||||
RUN mv .ci/distribution/debian /aegisub
|
||||
RUN rm -rf builddir
|
||||
RUN meson -Dprefix=/usr builddir
|
||||
WORKDIR builddir
|
||||
RUN mv ../.ci/docker/debian_entrypoint.sh /entrypoint.sh
|
||||
RUN mv ../.ci/distribution/ubuntu-bionic debian
|
||||
RUN chmod +x /entrypoint.sh
|
||||
|
||||
CMD ["/entrypoint.sh"]
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
#!/bin/sh -e
|
||||
|
||||
export MAKEFLAGS="-j$(nproc)"
|
||||
cd /aegisub
|
||||
dpkg-buildpackage -nc
|
||||
|
||||
mv ../*.deb /out/
|
||||
|
|
Loading…
Reference in New Issue