Skip to content

Commit 0aa6c34

Browse files
committed
Update build-melt.sh for Qt 6 and Glaxnimate
1 parent ea04b0c commit 0aa6c34

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

build/build-melt.sh

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,15 @@ X265_HEAD=1
4141
X265_REVISION=
4242
LIBVPX_HEAD=0
4343
LIBVPX_REVISION="v1.15.1"
44-
ENABLE_LAME=1
44+
ENABLE_LAME=0
4545
FFMPEG_PROJECT="FFmpeg"
4646
FFMPEG_HEAD=0
4747
FFMPEG_REVISION="origin/release/7.1"
4848
FFMPEG_SUPPORT_H264=1
4949
FFMPEG_SUPPORT_H265=1
5050
FFMPEG_SUPPORT_LIBVPX=1
5151
FFMPEG_SUPPORT_THEORA=1
52-
FFMPEG_SUPPORT_MP3=1
52+
FFMPEG_SUPPORT_MP3=0
5353
FFMPEG_SUPPORT_FAAC=0
5454
FFMPEG_SUPPORT_SSL=0
5555
FFMPEG_ADDITIONAL_OPTIONS=
@@ -512,7 +512,7 @@ function set_globals {
512512

513513
#####
514514
# mlt
515-
CONFIG[1]="cmake -GNinja -DCMAKE_INSTALL_PREFIX=$FINAL_INSTALL_DIR -DCMAKE_PREFIX_PATH=$QTDIR -DGPL=ON -DGPL3=ON ."
515+
CONFIG[1]="cmake -GNinja -DCMAKE_INSTALL_PREFIX=$FINAL_INSTALL_DIR -DCMAKE_PREFIX_PATH=$QTDIR -DGPL=ON -DGPL3=ON -DMOD_QT=OFF -DMOD_QT6=ON -DMOD_GLAXNIMATE_QT6=ON ."
516516
# Remember, if adding more of these, to update the post-configure check.
517517
[ "$MLT_SWIG_LANGUAGES" ] && CONFIG[1]="${CONFIG[1]} -DSWIG_PYTHON=ON"
518518
if test "1" != "$ENABLE_MOVIT" ; then
@@ -931,9 +931,9 @@ function get_subproject {
931931
# No git repo
932932
debug "No git repo, need to check out"
933933
feedback_status "Cloning git sources for $1"
934-
cmd git --no-pager clone $REPOLOC || die "Unable to git clone source for $1 from $REPOLOC"
934+
cmd git --no-pager clone --recurse-submodules $REPOLOC || die "Unable to git clone source for $1 from $REPOLOC"
935935
cmd cd $1 || die "Unable to change to directory $1"
936-
cmd git checkout $REVISION || die "Unable to git checkout $REVISION"
936+
cmd git checkout --recurse-submodules $REVISION || die "Unable to git checkout $REVISION"
937937
fi
938938
elif test "svn" = "$REPOTYPE" ; then
939939
# Create subdir if not exist

0 commit comments

Comments
 (0)