Skip to content

Commit

Permalink
libvpx: Add port
Browse files Browse the repository at this point in the history
Signed-off-by: Dennis Bonke <[email protected]>
  • Loading branch information
Dennisbonke committed Apr 28, 2022
1 parent e1ac6fb commit d81d139
Showing 1 changed file with 42 additions and 0 deletions.
42 changes: 42 additions & 0 deletions bootstrap.d/media-libs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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 <[email protected]>"
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:
Expand Down

0 comments on commit d81d139

Please sign in to comment.