forked from Chatterino/chatterino2
-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
125 changed files
with
5,706 additions
and
1,180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
ARG UBUNTU_VERSION=22.04 | ||
|
||
FROM ubuntu:$UBUNTU_VERSION | ||
|
||
ARG QT_VERSION=6.2.4 | ||
ARG BUILD_WITH_QT6=ON | ||
|
||
ENV TZ=UTC | ||
RUN ln -snf /usr/share/zoneinfo/$TZ /etc/localtime && echo $TZ > /etc/timezone | ||
|
||
RUN apt-get update && apt-get -y install --no-install-recommends \ | ||
cmake \ | ||
virtualenv \ | ||
rapidjson-dev \ | ||
libfuse2 \ | ||
libssl-dev \ | ||
libboost-dev \ | ||
libxcb-randr0-dev \ | ||
libboost-system-dev \ | ||
libboost-filesystem-dev \ | ||
libpulse-dev \ | ||
libxkbcommon-x11-0 \ | ||
build-essential \ | ||
libgl1-mesa-dev \ | ||
libxcb-icccm4 \ | ||
libxcb-image0 \ | ||
libxcb-keysyms1 \ | ||
libxcb-render-util0 \ | ||
libxcb-xinerama0 \ | ||
libfontconfig1-dev | ||
|
||
RUN apt-get -y install \ | ||
git \ | ||
lsb-release \ | ||
python3-pip && \ | ||
apt-get clean all | ||
|
||
# Install Qt as we do in CI | ||
|
||
RUN pip3 install -U pip && \ | ||
pip3 install aqtinstall && \ | ||
aqt install-qt linux desktop $QT_VERSION -O /opt/qt --modules qt5compat | ||
|
||
ADD . /src | ||
|
||
RUN mkdir /src/build | ||
|
||
# cmake | ||
RUN cd /src/build && \ | ||
CXXFLAGS=-fno-sized-deallocation cmake \ | ||
-DBUILD_WITH_QT6=$BUILD_WITH_QT6 \ | ||
-DCMAKE_INSTALL_PREFIX=appdir/usr/ \ | ||
-DCMAKE_PREFIX_PATH=/opt/qt/$QT_VERSION/gcc_64/lib/cmake \ | ||
-DBUILD_WITH_QTKEYCHAIN=OFF \ | ||
.. | ||
|
||
# build | ||
RUN cd /src/build && \ | ||
make -j8 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
ARG UBUNTU_VERSION=22.04 | ||
|
||
FROM chatterino-ubuntu-$UBUNTU_VERSION-qt6-build | ||
|
||
# In CI, this is set from the aqtinstall action | ||
ENV Qt6_DIR=/opt/qt/6.2.4/gcc_64 | ||
|
||
WORKDIR /src/build | ||
|
||
ADD .CI /src/.CI | ||
|
||
# Install dependencies necessary for AppImage packaging | ||
RUN apt-get update && apt-get -y install --no-install-recommends \ | ||
curl \ | ||
libxcb-shape0 \ | ||
libfontconfig1 \ | ||
file | ||
|
||
# package deb | ||
RUN ./../.CI/CreateUbuntuDeb.sh | ||
|
||
# package appimage | ||
RUN ./../.CI/CreateAppImage.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,3 @@ | ||
Pull request checklist: | ||
|
||
- [ ] `CHANGELOG.md` was updated, if applicable | ||
|
||
# Description | ||
|
||
<!-- If applicable, please include a summary of what you've changed and what issue is fixed. In the case of a bug fix, please include steps to reproduce the bug so the pull request can be tested --> |
Oops, something went wrong.