Skip to content

Commit b48f629

Browse files
committed
Update shotcut-build to Qt 6.9.1 on Ubuntu 22.04
1 parent 0cf79ee commit b48f629

File tree

4 files changed

+27
-28
lines changed

4 files changed

+27
-28
lines changed

.github/workflows/shotcut-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@ jobs:
2929
with:
3030
context: "{{defaultContext}}:docker/shotcut-build"
3131
push: true
32-
tags: mltframework/shotcut-build:qt6.4.3-ubuntu20.04
32+
tags: mltframework/shotcut-build:qt6.9.1-ubuntu22.04

build/build-melt.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ SWFDEC_REVISION=
3434
ENABLE_MOVIT=1
3535
MOVIT_HEAD=0
3636
MOVIT_REVISION="origin/shotcut-opengl3"
37-
LIBEPOXY_REVISION="v1.3.1"
37+
LIBEPOXY_REVISION="v1.5.10"
3838
X264_HEAD=1
3939
X264_REVISION=
4040
X265_HEAD=1

docker/README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,18 @@
22

33
## Build Qt 6 for Linux
44

5+
Note: outdated and no longer used for now since upgrading Shotcut to Qt 6.9.1 on Ubuntu 22.04,
6+
which is using Qt SDK's binaries.
7+
58
docker build --rm -t mltframework/qt:6.4.3-ubuntu20.04 docker/qt6-build
69
docker run -it --rm -v $PWD:/mnt mltframework/qt:6.4.3-ubuntu20.04
710
s3cmd --acl-public put qt-6.4.3-ubuntu20.04-x86_64.txz s3://misc.meltymedia/shotcut-build/
811

912
## Build Shotcut for Linux
1013

11-
docker build --rm -t mltframework/shotcut-build:qt6.4.3-ubuntu20.04 docker/shotcut-build
14+
docker build --rm -t mltframework/shotcut-build:qt6.9.1-ubuntu22.04 docker/shotcut-build
1215
mkdir work; cd work
1316
wget --no-check-certificate https://raw.githubusercontent.com/mltframework/shotcut/master/scripts/build-shotcut.sh
14-
docker run -it --rm -v $PWD:/root/shotcut mltframework/shotcut-build:qt6.4.3-ubuntu20.04 ./build-shotcut.sh
17+
docker run -it --rm -v "$PWD":/root/shotcut mltframework/shotcut-build:qt6.9.1-ubuntu22.04 ./build-shotcut.sh
1518

1619
Artifacts will be in work.

docker/shotcut-build/Dockerfile

Lines changed: 20 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,28 @@
1-
FROM ubuntu:20.04
1+
FROM ubuntu:22.04
22
LABEL maintainer="dan@dennedy.org"
33

44
ARG DEBIAN_FRONTEND=noninteractive
55
RUN apt-get update -qq && \
6-
apt-get -yqq upgrade && \
7-
apt-get install -yqq git automake autoconf libmp3lame-dev libepoxy-dev \
8-
libtool intltool nasm yasm python3-pip ninja-build gfortran \
9-
libmp3lame-dev libsamplerate-dev libarchive-dev libpotrace-dev \
10-
libxml2-dev ladspa-sdk libjack-dev libsox-dev libsdl2-dev libgtk2.0-dev \
11-
libxslt1-dev libexif-dev libdv-dev libtheora-dev libwebp-dev libfftw3-dev \
12-
libvorbis-dev libeigen3-dev libxkbcommon-x11-0 libegl1-mesa-dev \
13-
gettext gperf intltool swig python3.9-dev python-is-python3 flex bison make \
14-
xutils-dev libffi-dev libltdl-dev libssl-dev libxml-parser-perl \
15-
openssl patch perl pkg-config ruby scons sed unzip wget xz-utils \
16-
libcurl4-openssl-dev autopoint p7zip bzip2 zip curl libva-dev \
17-
apt-transport-https ca-certificates gnupg software-properties-common \
18-
libdouble-conversion-dev va-driver-all libxcb-xinerama0 libxcb-icccm4 \
19-
libxcb-image0 libxcb-keysyms1 libxcb-render-util0 liblist-moreutils-perl && \
20-
curl https://apt.kitware.com/keys/kitware-archive-latest.asc | gpg --dearmor - >/etc/apt/trusted.gpg.d/kitware.gpg && \
21-
apt-add-repository 'ppa:ubuntu-toolchain-r/test' && \
22-
apt-add-repository 'deb https://apt.kitware.com/ubuntu/ focal main' && \
23-
apt-get update -qq && \
24-
apt-get install -yqq g++-10 cmake libclang-cpp10 && \
25-
pip3 install meson
6+
apt-get -yqq upgrade && \
7+
apt-get install -yqq git automake autoconf libmp3lame-dev libepoxy-dev \
8+
libtool intltool nasm yasm ninja-build gfortran \
9+
libmp3lame-dev libsamplerate-dev libarchive-dev libpotrace-dev \
10+
libxml2-dev ladspa-sdk libjack-dev libsox-dev libsdl2-dev libgtk2.0-dev \
11+
libxslt1-dev libexif-dev libdv-dev libtheora-dev libwebp-dev libfftw3-dev \
12+
libvorbis-dev libeigen3-dev libxkbcommon-x11-0 libegl1-mesa-dev \
13+
gettext gperf intltool swig python3-dev python-is-python3 flex bison make \
14+
xutils-dev libffi-dev libltdl-dev libssl-dev libxml-parser-perl \
15+
openssl patch perl pkg-config ruby scons sed unzip wget xz-utils \
16+
libcurl4-openssl-dev autopoint p7zip bzip2 zip curl libva-dev \
17+
apt-transport-https ca-certificates gnupg software-properties-common \
18+
libdouble-conversion-dev va-driver-all libxcb-xinerama0 libxcb-icccm4 \
19+
libxcb-image0 libxcb-keysyms1 libxcb-render-util0 liblist-moreutils-perl \
20+
cmake clang-15 curl g++-12 libgomp1 meson s3cmd
2621

27-
ENV CC=gcc-10 CXX=g++-10
28-
WORKDIR /root
29-
COPY --from=mltframework/qt:6.4.3-ubuntu20.04 /root/Qt Qt
22+
WORKDIR /root/Qt
23+
RUN curl -kLO --no-progress-meter https://s3.amazonaws.com/misc.meltymedia/shotcut-build/qt-6.9.1-ubuntu22.04-x86_64.txz && \
24+
tar -xJf qt-6.9.1-ubuntu22.04-x86_64.txz && \
25+
rm qt-6.9.1-ubuntu22.04-x86_64.txz
3026

3127
WORKDIR /root/shotcut
3228
ENTRYPOINT ["/bin/bash"]

0 commit comments

Comments
 (0)