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 $@
|
dh $@
|
||||||
|
|
||||||
override_dh_auto_configure:
|
|
||||||
dh_auto_configure -- --without-oss --without-portaudio --without-openal --disable-update-checker
|
|
||||||
|
|
|
@ -1,15 +1,17 @@
|
||||||
FROM ubuntu:bionic
|
FROM ubuntu:bionic
|
||||||
|
|
||||||
RUN apt-get update && apt-get upgrade -y
|
ARG DEBIAN_FRONTEND=noninteractive
|
||||||
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
|
|
||||||
|
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
|
COPY . /aegisub
|
||||||
WORKDIR /aegisub
|
WORKDIR /aegisub
|
||||||
RUN make clean
|
RUN rm -rf builddir
|
||||||
RUN build/version.sh .
|
RUN meson -Dprefix=/usr builddir
|
||||||
RUN rm -rf .git
|
WORKDIR builddir
|
||||||
RUN mv .ci/docker/debian_entrypoint.sh /entrypoint.sh
|
RUN mv ../.ci/docker/debian_entrypoint.sh /entrypoint.sh
|
||||||
RUN mv .ci/distribution/debian /aegisub
|
RUN mv ../.ci/distribution/ubuntu-bionic debian
|
||||||
RUN chmod +x /entrypoint.sh
|
RUN chmod +x /entrypoint.sh
|
||||||
|
|
||||||
CMD ["/entrypoint.sh"]
|
CMD ["/entrypoint.sh"]
|
||||||
|
|
|
@ -1,7 +1,5 @@
|
||||||
#!/bin/sh -e
|
#!/bin/sh -e
|
||||||
|
|
||||||
export MAKEFLAGS="-j$(nproc)"
|
|
||||||
cd /aegisub
|
|
||||||
dpkg-buildpackage -nc
|
dpkg-buildpackage -nc
|
||||||
|
|
||||||
mv ../*.deb /out/
|
mv ../*.deb /out/
|
||||||
|
|
Loading…
Reference in New Issue