diff --git a/CMakeLists.txt b/CMakeLists.txt index 385e5988..2214f9ed 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -449,6 +449,10 @@ if(ENABLE_FFMPEG) if(APPLE) set(FFMPEG_LDFLAGS ${FFMPEG_LDFLAGS} -framework CoreText -framework ApplicationServices) + + if(UPSTREAM_RELEASE) + set(FFMPEG_LDFLAGS ${FFMPEG_LDFLAGS} -lbz2 -lvo-amrwbenc -lopencore-amrnb -lopencore-amrwb -lmodplug -lbluray -lgsm -lmp3lame -ltiff -lopus -lsnappy -lsoxr -lspeex -ltheora -lvorbis -lvpx -lx264 -lx265 -lxavs -lxvidcore -lzmq -framework DiskArbitration -lfreetype -lfontconfig -llzma -logg -lvorbisenc -lxml2 -lharfbuzz) + endif() elseif(WIN32) set(WIN32_MEDIA_FOUNDATION_LIBS dxva2 evr mf mfplat mfplay mfreadwrite mfuuid amstrmid) list(APPEND FFMPEG_LIBRARIES secur32 bcrypt ${WIN32_MEDIA_FOUNDATION_LIBS}) diff --git a/tools/builder/core.sh b/tools/builder/core.sh index 083513a6..8b293dc4 100644 --- a/tools/builder/core.sh +++ b/tools/builder/core.sh @@ -177,7 +177,7 @@ DISTS=$DISTS' ninja https://github.com/ninja-build/ninja/archive/v1.11.1.tar.gz bin/ninja meson https://github.com/mesonbuild/meson/releases/download/0.63.2/meson-0.63.2.tar.gz bin/meson - glib https://gitlab.gnome.org/GNOME/glib/-/archive/51251940640b217ed2f1bf83ce7560cecef66bb7/glib-51251940640b217ed2f1bf83ce7560cecef66bb7.tar.bz2 lib/libglib-2.0.a + glib https://gitlab.gnome.org/GNOME/glib/-/archive/6fc6d9ea3e497e2b77789a61bc9cf80bfb3d367d/glib-6fc6d9ea3e497e2b77789a61bc9cf80bfb3d367d.tar.bz2 lib/libglib-2.0.a libgpg-error https://gnupg.org/ftp/gcrypt/libgpg-error/libgpg-error-1.45.tar.bz2 lib/libgpg-error.a libgcrypt https://gnupg.org/ftp/gcrypt/libgcrypt/libgcrypt-1.10.1.tar.bz2 lib/libgcrypt.a @@ -289,9 +289,9 @@ DIST_PRE_BUILD="$DIST_PRE_BUILD zip rm -f unix/Contents; ln -sf \$(find unix -mindepth 1 -maxdepth 1) .; gettext sed -i.bak 's/-Wl,--disable-auto-import//' m4/woe32-dll.m4; glib cd subprojects/gvdb; \ - curl -sLO 'https://gitlab.gnome.org/GNOME/gvdb/-/archive/0854af0fdb6d527a8d1999835ac2c5059976c210/gvdb-0854af0fdb6d527a8d1999835ac2c5059976c210.tar.bz2'; \ - tar --strip-components=1 -jxf gvdb-0854af0fdb6d527a8d1999835ac2c5059976c210.tar.bz2; \ - rm gvdb-0854af0fdb6d527a8d1999835ac2c5059976c210.tar.bz2; \ + curl -sLO 'https://gitlab.gnome.org/GNOME/gvdb/-/archive/89dbdb9ab45721189e195c7e70ed620143d840f7/gvdb-89dbdb9ab45721189e195c7e70ed620143d840f7.tar.bz2'; \ + tar --strip-components=1 -jxf gvdb-89dbdb9ab45721189e195c7e70ed620143d840f7.tar.bz2; \ + rm gvdb-89dbdb9ab45721189e195c7e70ed620143d840f7.tar.bz2; \ cd ../..; expat sed -i.bak '/doc\\/Makefile/d' configure.ac; \ sed -i.bak '/SUBDIRS/{; s/ doc//; }' Makefile.am; diff --git a/tools/macOS/builder b/tools/macOS/builder index 36f7ac04..d20e84b6 100755 --- a/tools/macOS/builder +++ b/tools/macOS/builder @@ -132,7 +132,7 @@ else fi table_line_append DIST_PATCHES glib " \ - https://gist.githubusercontent.com/rkitover/05fb70a11cc8ddcea11230b4dc5fd48b/raw/b44288a2357acd4da62ee5f07ee106d36c91b887/macOS-glib-link-static-libintl-gettext.patch \ + https://gist.githubusercontent.com/rkitover/9f3cceac7eaa9625ce605f052c56f3ba/raw/2ceb1de9a9592e39a657141684beae4e4b33abcd/glib-static-gettext.patch \ " stdint_h=