miqt/docker/genbindings.Dockerfile

35 lines
974 B
Docker
Raw Permalink Normal View History

FROM debian:bookworm
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
2024-10-20 04:59:13 +00:00
apt-get install --no-install-recommends -qyy \
golang-go \
qtbase5-dev \
2024-10-20 05:19:37 +00:00
qt6-base-dev \
2024-10-20 04:59:13 +00:00
libqscintilla2-qt5-dev \
clang \
git \
ca-certificates \
pkg-config \
build-essential && \
apt-get clean
2024-10-20 05:02:08 +00:00
RUN mkdir -p /usr/local/src/scintilla && \
git clone 'https://github.com/mirror/scintilla.git' /usr/local/src/scintilla && \
git -C /usr/local/src/scintilla checkout rel-5-5-2
RUN \
cd /usr/local/src/scintilla/qt/ScintillaEditBase && \
qmake && \
make && \
cd /usr/local/src/scintilla/qt/ScintillaEdit && \
python3 WidgetGen.py && \
qmake && \
make
2024-10-20 04:59:13 +00:00
RUN mkdir -p /usr/local/lib/pkgconfig
2024-10-20 05:02:08 +00:00
2024-10-20 04:59:13 +00:00
COPY pkg-config/QScintilla.pc.example /usr/local/lib/pkgconfig/QScintilla.pc
2024-10-20 05:02:08 +00:00
COPY pkg-config/ScintillaEdit.pc.example /usr/local/lib/pkgconfig/ScintillaEdit.pc
2024-10-20 04:59:13 +00:00
ENV GOFLAGS=-buildvcs=false