[vlc-commits] [Git][videolan/vlc][master] 2 commits: wasm: build: enable vpx
Steve Lhomme (@robUx4)
gitlab at videolan.org
Thu Jan 23 07:00:20 UTC 2025
Steve Lhomme pushed to branch master at VideoLAN / VLC
Commits:
707f6f6b by Steve Lhomme at 2025-01-23T06:07:13+00:00
wasm: build: enable vpx
It's a common codec for the web, it would be useful in a web browser.
- - - - -
5857e58e by Steve Lhomme at 2025-01-23T06:07:13+00:00
contrib: vpx: remove redundant -pthread flag
It's already passed in the extra-cflags.
- - - - -
2 changed files:
- contrib/src/vpx/rules.mak
- extras/package/wasm-emscripten/build.sh
Changes:
=====================================
contrib/src/vpx/rules.mak
=====================================
@@ -3,7 +3,7 @@
VPX_VERSION := 1.15.0
VPX_URL := $(GITHUB)/webmproject/libvpx/archive/v${VPX_VERSION}.tar.gz
-ifneq ($(filter arm aarch64 i386 loongarch64 mipsel mips64el ppc64le x86_64, $(ARCH)),)
+ifneq ($(filter arm aarch64 i386 loongarch64 mipsel mips64el ppc64le x86_64 wasm32, $(ARCH)),)
PKGS += vpx
endif
ifeq ($(call need_pkg,"vpx >= 1.5.0"),)
@@ -146,10 +146,6 @@ ifndef WITH_OPTIMIZATION
VPX_CONF += --disable-optimizations
endif
-ifdef HAVE_EMSCRIPTEN
-VPX_CFLAGS += -pthread
-endif
-
# Always enable debug symbols, we strip in the final executables if needed
VPX_CONF += --enable-debug
=====================================
extras/package/wasm-emscripten/build.sh
=====================================
@@ -134,7 +134,7 @@ diagnostic "vlc contribs: bootstrap"
../bootstrap --disable-disc --disable-sout --disable-net \
--disable-aom --disable-faad2 --disable-chromaprint \
--disable-mad --disable-nvcodec \
- --disable-tremor --disable-vpx --disable-theora \
+ --disable-tremor --disable-theora \
--disable-postproc --disable-gmp --disable-gcrypt \
--disable-gpgerror --disable-fontconfig \
--disable-asdcplib --disable-caca --disable-gettext \
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/da7fdf592fba8df948ac02733a16a43232ee328d...5857e58efdf5aad7c20bbe19be897f2865053174
--
View it on GitLab: https://code.videolan.org/videolan/vlc/-/compare/da7fdf592fba8df948ac02733a16a43232ee328d...5857e58efdf5aad7c20bbe19be897f2865053174
You're receiving this email because of your account on code.videolan.org.
VideoLAN code repository instance
More information about the vlc-commits
mailing list