@@ -77,18 +77,18 @@ check_missing_packages () {
77
77
if [[ $DISTRO == " Ubuntu" ]]; then
78
78
echo " for ubuntu:"
79
79
echo " $ sudo apt-get update"
80
- echo -n " $ sudo apt-get install subversion ragel curl texinfo g++ bison flex cvs yasm automake libtool autoconf gcc cmake git make pkg-config zlib1g-dev mercurial unzip pax nasm gperf autogen bzip2 autoconf-archive p7zip-full"
80
+ echo -n " $ sudo apt-get install subversion ragel curl texinfo g++ bison flex cvs yasm automake libtool autoconf gcc cmake git make pkg-config zlib1g-dev mercurial unzip pax nasm gperf autogen bzip2 autoconf-archive p7zip-full meson "
81
81
if at_least_required_version " 18.04" " $( lsb_release -rs) " ; then
82
82
echo -n " python3-distutils" # guess it's no longer built-in, lensfun requires it...
83
83
fi
84
84
echo " -y"
85
85
else
86
86
echo " for gentoo (a non ubuntu distro): same as above, but no g++, no gcc, git is dev-vcs/git, zlib1g-dev is zlib, pkg-config is dev-util/pkgconfig, add ed..."
87
- echo " for OS X (homebrew): brew install ragel wget cvs hg yasm autogen automake autoconf cmake libtool xz pkg-config nasm bzip2 autoconf-archive p7zip coreutils"
87
+ echo " for OS X (homebrew): brew install ragel wget cvs hg yasm autogen automake autoconf cmake libtool xz pkg-config nasm bzip2 autoconf-archive p7zip coreutils meson "
88
88
echo " for debian: same as ubuntu, but also add libtool-bin, ed, autoconf-archive"
89
89
echo " for RHEL/CentOS: First ensure you have epel repos available, then run $ sudo yum install ragel subversion texinfo mercurial libtool autogen gperf nasm patch unzip pax ed gcc-c++ bison flex yasm automake autoconf gcc zlib-devel cvs bzip2 cmake3 -y"
90
90
echo " for fedora: if your distribution comes with a modern version of cmake then use the same as RHEL/CentOS but replace cmake3 with cmake."
91
- echo " for linux native compiler option: add libva-dev"
91
+ echo " for linux native compiler option: same as <your OS> above, add libva-dev"
92
92
fi
93
93
exit 1
94
94
fi
@@ -477,7 +477,7 @@ do_cmake_and_install() {
477
477
}
478
478
479
479
do_meson () {
480
- local configure_options=" $1 "
480
+ local configure_options=" $1 --unity=off "
481
481
local configure_name=" $2 "
482
482
local configure_env=" $3 "
483
483
local configure_noclean=" "
@@ -518,7 +518,7 @@ do_ninja_and_ninja_install() {
518
518
do_ninja " $extra_ninja_options "
519
519
local touch_name=$( get_small_touchfile_name already_ran_make_install " $extra_ninja_options " )
520
520
if [ ! -f $touch_name ]; then
521
- echo " ninja installing $( pwd) as $ PATH=$PATH ninja -C build install $extra_make_options "
521
+ echo " ninja installing $( pwd) as $PATH =$PATH ninja -C build install $extra_make_options "
522
522
ninja -C build install || exit 1
523
523
touch $touch_name || exit 1
524
524
fi
@@ -1544,7 +1544,10 @@ build_libaom() {
1544
1544
build_dav1d () {
1545
1545
do_git_checkout https://code.videolan.org/videolan/dav1d.git libdav1d
1546
1546
cd libdav1d
1547
+ apply_patch file://$patch_dir /david_no_asm.patch -p1
1548
+ cpu_count=1
1547
1549
generic_meson_ninja_install
1550
+ cpu_count=$original_cpu_count
1548
1551
cd ..
1549
1552
}
1550
1553
0 commit comments