diff --git a/bootstrap.d/media-libs.yml b/bootstrap.d/media-libs.yml index 2500d518e..935a18246 100644 --- a/bootstrap.d/media-libs.yml +++ b/bootstrap.d/media-libs.yml @@ -685,6 +685,48 @@ packages: environ: DESTDIR: '@THIS_COLLECT_DIR@' + - name: libvpx + architecture: '@OPTION:arch@' + metadata: + summary: Open codec for interactive speech and music transmission over the Internet + description: This package provides the reference implementations of the VP8 Codec, used in most current html5 video, and of the next-generation VP9 Codec. + spdx: 'BSD-3-Clause' + website: 'https://www.webmproject.org/' + maintainer: "Dennis Bonke " + categories: ['media-libs'] + source: + subdir: 'ports' + git: 'https://chromium.googlesource.com/webm/libvpx.git' + tag: 'v1.11.0' + version: '1.11.0' + tools_required: + - system-gcc + pkgs_required: + - mlibc + configure: + # Fix ownership and permission of installed files. + - args: ['sed', '-i', 's/cp -p/cp/', '@THIS_SOURCE_DIR@/build/make/Makefile'] + - args: + - '@THIS_SOURCE_DIR@/configure' + - '--prefix=/usr' + - '--disable-static' + - '--enable-shared' + # Generic GNU target to disable optimizations + - '--force-target=generic-gnu' + - '--enable-pic' + - '--enable-vp8' + - '--enable-vp9' + - '--enable-multithread' + - '--enable-vp9-highbitdepth' + - '--disable-examples' + - '--disable-install-docs' + - '--disable-docs' + build: + - args: ['make', 'HAVE_GNU_STRIP=no', 'CC=x86_64-managarm-gcc', 'LD=x86_64-managarm-gcc', 'CXX=x86_64-managarm-g++', 'AR=x86_64-managarm-ar', 'NM=x86_64-managarm-nm', '-j@PARALLELISM@'] + - args: ['make', 'install'] + environ: + DESTDIR: '@THIS_COLLECT_DIR@' + - name: libwebp architecture: '@OPTION:arch@' metadata: