mirror of
https://github.com/mappu/miqt.git
synced 2024-12-22 17:08:38 +00:00
38 lines
1.0 KiB
Docker
38 lines
1.0 KiB
Docker
FROM debian:bookworm
|
|
|
|
RUN DEBIAN_FRONTEND=noninteractive apt-get update && \
|
|
apt-get install --no-install-recommends -qyy \
|
|
golang-go \
|
|
qtbase5-dev \
|
|
qtmultimedia5-dev \
|
|
qt6-base-dev \
|
|
qt6-multimedia-dev \
|
|
libqscintilla2-qt5-dev \
|
|
libqscintilla2-qt6-dev \
|
|
clang \
|
|
git \
|
|
ca-certificates \
|
|
pkg-config \
|
|
build-essential && \
|
|
apt-get clean
|
|
|
|
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
|
|
|
|
RUN mkdir -p /usr/local/lib/pkgconfig
|
|
|
|
COPY pkg-config/QScintilla.pc.example /usr/local/lib/pkgconfig/QScintilla.pc
|
|
COPY pkg-config/ScintillaEdit.pc.example /usr/local/lib/pkgconfig/ScintillaEdit.pc
|
|
|
|
ENV GOFLAGS=-buildvcs=false
|