mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-13 07:34:50 +00:00
multimedia/dav1d: update to 1.0.0
Changes: https://code.videolan.org/videolan/dav1d/-/releases/1.0.0 Reported by: Repology
This commit is contained in:
parent
2c0b69b848
commit
3468f1957c
@ -127,13 +127,10 @@ RUSTFLAGS+= ${CFLAGS:M-mcpu=*:S/-mcpu=/-C target-cpu=/}
|
|||||||
# Standard depends
|
# Standard depends
|
||||||
_ALL_DEPENDS= av1 event ffi graphite harfbuzz icu jpeg nspr nss png pixman sqlite vpx webp
|
_ALL_DEPENDS= av1 event ffi graphite harfbuzz icu jpeg nspr nss png pixman sqlite vpx webp
|
||||||
|
|
||||||
# firefox 95 uses a dav1d snapshot > 0.9.2
|
|
||||||
.if ${MOZILLA_VER:R:R} < 95
|
|
||||||
.if exists(${FILESDIR}/patch-bug1559213)
|
.if exists(${FILESDIR}/patch-bug1559213)
|
||||||
av1_LIB_DEPENDS= libaom.so:multimedia/aom libdav1d.so:multimedia/dav1d
|
av1_LIB_DEPENDS= libaom.so:multimedia/aom libdav1d.so:multimedia/dav1d
|
||||||
av1_MOZ_OPTIONS= --with-system-av1
|
av1_MOZ_OPTIONS= --with-system-av1
|
||||||
.endif
|
.endif
|
||||||
.endif
|
|
||||||
|
|
||||||
event_LIB_DEPENDS= libevent.so:devel/libevent
|
event_LIB_DEPENDS= libevent.so:devel/libevent
|
||||||
event_MOZ_OPTIONS= --with-system-libevent
|
event_MOZ_OPTIONS= --with-system-libevent
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
PORTNAME= opencascade
|
PORTNAME= opencascade
|
||||||
PORTVERSION= 7.6.0
|
PORTVERSION= 7.6.0
|
||||||
PORTREVISION= 2
|
PORTREVISION= 3
|
||||||
CATEGORIES= cad science
|
CATEGORIES= cad science
|
||||||
MASTER_SITES= LOCAL/thierry
|
MASTER_SITES= LOCAL/thierry
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
PORTNAME= libavif
|
PORTNAME= libavif
|
||||||
DISTVERSIONPREFIX= v
|
DISTVERSIONPREFIX= v
|
||||||
DISTVERSION= 0.9.3
|
DISTVERSION= 0.9.3
|
||||||
PORTREVISION= 2
|
PORTREVISION= 3
|
||||||
CATEGORIES= graphics
|
CATEGORIES= graphics
|
||||||
|
|
||||||
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
|
PATCH_SITES= https://github.com/${GH_ACCOUNT}/${GH_PROJECT}/commit/
|
||||||
|
@ -2,6 +2,7 @@ PORTNAME= libheif
|
|||||||
DISTVERSIONPREFIX= v
|
DISTVERSIONPREFIX= v
|
||||||
DISTVERSION= 1.12.0-62
|
DISTVERSION= 1.12.0-62
|
||||||
DISTVERSIONSUFFIX= -g0082fea
|
DISTVERSIONSUFFIX= -g0082fea
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= graphics
|
CATEGORIES= graphics
|
||||||
|
|
||||||
MAINTAINER= makc@FreeBSD.org
|
MAINTAINER= makc@FreeBSD.org
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
PORTNAME= thunderbird
|
PORTNAME= thunderbird
|
||||||
DISTVERSION= 91.7.0
|
DISTVERSION= 91.7.0
|
||||||
PORTREVISION= 2
|
PORTREVISION= 3
|
||||||
CATEGORIES= mail news net-im
|
CATEGORIES= mail news net-im
|
||||||
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \
|
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \
|
||||||
MOZILLA/${PORTNAME}/candidates/${DISTVERSION}-candidates/build2/source
|
MOZILLA/${PORTNAME}/candidates/${DISTVERSION}-candidates/build2/source
|
||||||
@ -18,6 +18,7 @@ BUILD_DEPENDS= nspr>=4.32:devel/nspr \
|
|||||||
harfbuzz>=2.8.1:print/harfbuzz \
|
harfbuzz>=2.8.1:print/harfbuzz \
|
||||||
graphite2>=1.3.14:graphics/graphite2 \
|
graphite2>=1.3.14:graphics/graphite2 \
|
||||||
png>=1.6.37:graphics/png \
|
png>=1.6.37:graphics/png \
|
||||||
|
dav1d>=1.0.0:multimedia/dav1d \
|
||||||
libvpx>=1.8.2:multimedia/libvpx \
|
libvpx>=1.8.2:multimedia/libvpx \
|
||||||
${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
|
${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
|
||||||
v4l_compat>0:multimedia/v4l_compat \
|
v4l_compat>0:multimedia/v4l_compat \
|
||||||
|
45
mail/thunderbird/files/patch-bug1734058
Normal file
45
mail/thunderbird/files/patch-bug1734058
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
commit 874adf9b96df
|
||||||
|
Author: Jon Bauman <jbauman@mozilla.com>
|
||||||
|
Date: Tue Oct 26 17:11:36 2021 +0000
|
||||||
|
|
||||||
|
Bug 1734058 - Update dav1d to new version f52aee04fbd711cddab23d0aa9b196e9c963e7b8 from 2021-10-04 21:58:36. r=mjf,haik
|
||||||
|
|
||||||
|
This is a fairly significant update, so required a few changes to Gecko code, but I've commented on the interesting details, so they should be easy to find
|
||||||
|
|
||||||
|
Differential Revision: https://phabricator.services.mozilla.com/D129465
|
||||||
|
---
|
||||||
|
dom/media/platforms/agnostic/DAV1DDecoder.cpp | 7 +------
|
||||||
|
image/decoders/nsAVIFDecoder.cpp | 1 +
|
||||||
|
2 files changed, 2 insertions(+), 6 deletions(-)
|
||||||
|
|
||||||
|
diff --git dom/media/platforms/agnostic/DAV1DDecoder.cpp dom/media/platforms/agnostic/DAV1DDecoder.cpp
|
||||||
|
index 459531fe8cf0..3c596b1fefe1 100644
|
||||||
|
--- dom/media/platforms/agnostic/DAV1DDecoder.cpp
|
||||||
|
+++ dom/media/platforms/agnostic/DAV1DDecoder.cpp
|
||||||
|
@@ -37,13 +37,8 @@ RefPtr<MediaDataDecoder::InitPromise> DAV1DDecoder::Init() {
|
||||||
|
} else if (mInfo.mDisplay.width >= 1024) {
|
||||||
|
decoder_threads = 4;
|
||||||
|
}
|
||||||
|
- settings.n_frame_threads =
|
||||||
|
+ settings.n_threads =
|
||||||
|
static_cast<int>(std::min(decoder_threads, GetNumberOfProcessors()));
|
||||||
|
- // There is not much improvement with more than 2 tile threads at least with
|
||||||
|
- // the content being currently served. The ideal number of tile thread would
|
||||||
|
- // much the tile count of the content. Maybe dav1d can help to do that in the
|
||||||
|
- // future.
|
||||||
|
- settings.n_tile_threads = 2;
|
||||||
|
|
||||||
|
int res = dav1d_open(&mContext, &settings);
|
||||||
|
if (res < 0) {
|
||||||
|
diff --git image/decoders/nsAVIFDecoder.cpp image/decoders/nsAVIFDecoder.cpp
|
||||||
|
index 9d1b7496a129..3bb9e8f8d08a 100644
|
||||||
|
--- image/decoders/nsAVIFDecoder.cpp
|
||||||
|
+++ image/decoders/nsAVIFDecoder.cpp
|
||||||
|
@@ -581,6 +581,7 @@ class Dav1dDecoder final : AVIFDecoderInterface {
|
||||||
|
Dav1dSettings settings;
|
||||||
|
dav1d_default_settings(&settings);
|
||||||
|
settings.all_layers = 0;
|
||||||
|
+ settings.max_frame_delay = 1;
|
||||||
|
// TODO: tune settings a la DAV1DDecoder for AV1 (Bug 1681816)
|
||||||
|
|
||||||
|
return dav1d_open(&mContext, &settings);
|
@ -1,6 +1,5 @@
|
|||||||
PORTNAME= dav1d
|
PORTNAME= dav1d
|
||||||
DISTVERSION= 0.9.2
|
DISTVERSION= 1.0.0
|
||||||
PORTREVISION= 1
|
|
||||||
CATEGORIES= multimedia
|
CATEGORIES= multimedia
|
||||||
|
|
||||||
MAINTAINER= jbeich@FreeBSD.org
|
MAINTAINER= jbeich@FreeBSD.org
|
||||||
@ -18,7 +17,7 @@ USE_GITLAB= yes
|
|||||||
USE_LDCONFIG= yes
|
USE_LDCONFIG= yes
|
||||||
GL_SITE= https://code.videolan.org
|
GL_SITE= https://code.videolan.org
|
||||||
GL_ACCOUNT= videolan
|
GL_ACCOUNT= videolan
|
||||||
GL_COMMIT= 7b433e077298d0f4faf8da6d6eb5774e29bffa54
|
GL_COMMIT= 99172b11470776177939c3d2bc366fe8d904eab7
|
||||||
LDFLAGS_i386= -Wl,-z,notext
|
LDFLAGS_i386= -Wl,-z,notext
|
||||||
|
|
||||||
OPTIONS_DEFINE= SDL TEST
|
OPTIONS_DEFINE= SDL TEST
|
||||||
@ -31,7 +30,7 @@ SDL_LIB_DEPENDS= libplacebo.so:graphics/libplacebo \
|
|||||||
libvulkan.so:graphics/vulkan-loader
|
libvulkan.so:graphics/vulkan-loader
|
||||||
SDL_MESON_TRUE= enable_examples
|
SDL_MESON_TRUE= enable_examples
|
||||||
|
|
||||||
TEST_GL_TUPLE= videolan:dav1d-test-data:4fd8f87d7df509fda1af51e5e2f7c415692afaef:testdata/tests/dav1d-test-data
|
TEST_GL_TUPLE= videolan:dav1d-test-data:0214ee7342c646b238f98267adf8503c56d9df53:testdata/tests/dav1d-test-data
|
||||||
TEST_MESON_TRUE=enable_tests testdata_tests
|
TEST_MESON_TRUE=enable_tests testdata_tests
|
||||||
|
|
||||||
.if make(makesum) # for optional distfiles
|
.if make(makesum) # for optional distfiles
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
TIMESTAMP = 1630680156
|
TIMESTAMP = 1647610281
|
||||||
SHA256 (videolan-dav1d-7b433e077298d0f4faf8da6d6eb5774e29bffa54_GL0.tar.gz) = 0dd8de308248282f5743b2ceee0a8d57cc6cf4afcbd15708059c3ac2f600914a
|
SHA256 (videolan-dav1d-99172b11470776177939c3d2bc366fe8d904eab7_GL0.tar.gz) = 411211625f44301c03858c395061ac87af6b3a0f02bdd3d599b4c87b123ccb27
|
||||||
SIZE (videolan-dav1d-7b433e077298d0f4faf8da6d6eb5774e29bffa54_GL0.tar.gz) = 1186989
|
SIZE (videolan-dav1d-99172b11470776177939c3d2bc366fe8d904eab7_GL0.tar.gz) = 1375242
|
||||||
SHA256 (videolan-dav1d-test-data-4fd8f87d7df509fda1af51e5e2f7c415692afaef_GL0.tar.gz) = cc9247a79b9bd0231418dcd31f4d9fe29ac51bfae5d3cea1a131bb3e89835bd0
|
SHA256 (videolan-dav1d-test-data-0214ee7342c646b238f98267adf8503c56d9df53_GL0.tar.gz) = 1399a5a8ddfc8b22c320e30d731c82fce6d962fa28cd16236a742903c969ebe7
|
||||||
SIZE (videolan-dav1d-test-data-4fd8f87d7df509fda1af51e5e2f7c415692afaef_GL0.tar.gz) = 50361909
|
SIZE (videolan-dav1d-test-data-0214ee7342c646b238f98267adf8503c56d9df53_GL0.tar.gz) = 50909709
|
||||||
|
@ -7,6 +7,6 @@ include/dav1d/headers.h
|
|||||||
include/dav1d/picture.h
|
include/dav1d/picture.h
|
||||||
include/dav1d/version.h
|
include/dav1d/version.h
|
||||||
lib/libdav1d.so
|
lib/libdav1d.so
|
||||||
lib/libdav1d.so.5
|
lib/libdav1d.so.6
|
||||||
lib/libdav1d.so.5.1.1
|
lib/libdav1d.so.6.6.0
|
||||||
libdata/pkgconfig/dav1d.pc
|
libdata/pkgconfig/dav1d.pc
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
PORTNAME= emby-server
|
PORTNAME= emby-server
|
||||||
DISTVERSION= 4.7.0.31
|
DISTVERSION= 4.7.0.31
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= multimedia
|
CATEGORIES= multimedia
|
||||||
MASTER_SITES= https://github.com/MediaBrowser/Emby.Releases/releases/download/${PORTVERSION}/ \
|
MASTER_SITES= https://github.com/MediaBrowser/Emby.Releases/releases/download/${PORTVERSION}/ \
|
||||||
https://mediabrowser.github.io/embytools/
|
https://mediabrowser.github.io/embytools/
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
PORTNAME= emby-server
|
PORTNAME= emby-server
|
||||||
DISTVERSION= 4.6.7.0
|
DISTVERSION= 4.6.7.0
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
CATEGORIES= multimedia
|
CATEGORIES= multimedia
|
||||||
MASTER_SITES= https://github.com/MediaBrowser/Emby.Releases/releases/download/${PORTVERSION}/ \
|
MASTER_SITES= https://github.com/MediaBrowser/Emby.Releases/releases/download/${PORTVERSION}/ \
|
||||||
https://mediabrowser.github.io/embytools/
|
https://mediabrowser.github.io/embytools/
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
PORTNAME= ffmpeg
|
PORTNAME= ffmpeg
|
||||||
PORTVERSION= 4.4.1
|
PORTVERSION= 4.4.1
|
||||||
PORTREVISION= 7
|
PORTREVISION= 8
|
||||||
PORTEPOCH= 1
|
PORTEPOCH= 1
|
||||||
CATEGORIES= multimedia audio net
|
CATEGORIES= multimedia audio net
|
||||||
MASTER_SITES= https://ffmpeg.org/releases/
|
MASTER_SITES= https://ffmpeg.org/releases/
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
PORTNAME= gstreamer1-plugins-rust
|
PORTNAME= gstreamer1-plugins-rust
|
||||||
DISTVERSION= 0.7.2
|
DISTVERSION= 0.7.2
|
||||||
PORTREVISION= 6
|
PORTREVISION= 7
|
||||||
CATEGORIES= multimedia
|
CATEGORIES= multimedia
|
||||||
|
|
||||||
MAINTAINER= jbeich@FreeBSD.org
|
MAINTAINER= jbeich@FreeBSD.org
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
PORTNAME= kodi
|
PORTNAME= kodi
|
||||||
DISTVERSION= 19.4
|
DISTVERSION= 19.4
|
||||||
DISTVERSIONSUFFIX= -${KODI_CODENAME}
|
DISTVERSIONSUFFIX= -${KODI_CODENAME}
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= multimedia java
|
CATEGORIES= multimedia java
|
||||||
|
|
||||||
MAINTAINER= yzrh@noema.org
|
MAINTAINER= yzrh@noema.org
|
||||||
|
@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
PORTNAME= xine
|
PORTNAME= xine
|
||||||
DISTVERSION= 1.2.12
|
DISTVERSION= 1.2.12
|
||||||
|
PORTREVISION= 1
|
||||||
CATEGORIES= multimedia
|
CATEGORIES= multimedia
|
||||||
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-lib/${PORTVERSION}
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}-lib/${PORTVERSION}
|
||||||
PKGNAMEPREFIX= lib
|
PKGNAMEPREFIX= lib
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
PORTNAME= mythtv
|
PORTNAME= mythtv
|
||||||
DISTVERSIONPREFIX= v
|
DISTVERSIONPREFIX= v
|
||||||
DISTVERSION= 31.0
|
DISTVERSION= 31.0
|
||||||
PORTREVISION= 4
|
PORTREVISION= 5
|
||||||
PORTEPOCH= 1
|
PORTEPOCH= 1
|
||||||
CATEGORIES= multimedia
|
CATEGORIES= multimedia
|
||||||
|
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
PORTNAME= vlc
|
PORTNAME= vlc
|
||||||
DISTVERSION= 3.0.16
|
DISTVERSION= 3.0.16
|
||||||
PORTREVISION= 10
|
PORTREVISION= 11
|
||||||
PORTEPOCH= 4
|
PORTEPOCH= 4
|
||||||
CATEGORIES= multimedia audio net www
|
CATEGORIES= multimedia audio net www
|
||||||
MASTER_SITES= http://download.videolan.org/pub/videolan/${PORTNAME}/${DISTVERSION:S/a$//}/ \
|
MASTER_SITES= http://download.videolan.org/pub/videolan/${PORTNAME}/${DISTVERSION:S/a$//}/ \
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
PORTNAME= firefox
|
PORTNAME= firefox
|
||||||
DISTVERSION= 91.7.1
|
DISTVERSION= 91.7.1
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
PORTEPOCH= 1
|
PORTEPOCH= 1
|
||||||
CATEGORIES= www
|
CATEGORIES= www
|
||||||
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}esr/source \
|
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}esr/source \
|
||||||
@ -20,6 +20,7 @@ BUILD_DEPENDS= nspr>=4.32:devel/nspr \
|
|||||||
harfbuzz>=2.8.1:print/harfbuzz \
|
harfbuzz>=2.8.1:print/harfbuzz \
|
||||||
graphite2>=1.3.14:graphics/graphite2 \
|
graphite2>=1.3.14:graphics/graphite2 \
|
||||||
png>=1.6.37:graphics/png \
|
png>=1.6.37:graphics/png \
|
||||||
|
dav1d>=1.0.0:multimedia/dav1d \
|
||||||
libvpx>=1.8.2:multimedia/libvpx \
|
libvpx>=1.8.2:multimedia/libvpx \
|
||||||
${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
|
${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
|
||||||
v4l_compat>0:multimedia/v4l_compat \
|
v4l_compat>0:multimedia/v4l_compat \
|
||||||
|
45
www/firefox-esr/files/patch-bug1734058
Normal file
45
www/firefox-esr/files/patch-bug1734058
Normal file
@ -0,0 +1,45 @@
|
|||||||
|
commit 874adf9b96df
|
||||||
|
Author: Jon Bauman <jbauman@mozilla.com>
|
||||||
|
Date: Tue Oct 26 17:11:36 2021 +0000
|
||||||
|
|
||||||
|
Bug 1734058 - Update dav1d to new version f52aee04fbd711cddab23d0aa9b196e9c963e7b8 from 2021-10-04 21:58:36. r=mjf,haik
|
||||||
|
|
||||||
|
This is a fairly significant update, so required a few changes to Gecko code, but I've commented on the interesting details, so they should be easy to find
|
||||||
|
|
||||||
|
Differential Revision: https://phabricator.services.mozilla.com/D129465
|
||||||
|
---
|
||||||
|
dom/media/platforms/agnostic/DAV1DDecoder.cpp | 7 +------
|
||||||
|
image/decoders/nsAVIFDecoder.cpp | 1 +
|
||||||
|
2 files changed, 2 insertions(+), 6 deletions(-)
|
||||||
|
|
||||||
|
diff --git dom/media/platforms/agnostic/DAV1DDecoder.cpp dom/media/platforms/agnostic/DAV1DDecoder.cpp
|
||||||
|
index 459531fe8cf0..3c596b1fefe1 100644
|
||||||
|
--- dom/media/platforms/agnostic/DAV1DDecoder.cpp
|
||||||
|
+++ dom/media/platforms/agnostic/DAV1DDecoder.cpp
|
||||||
|
@@ -37,13 +37,8 @@ RefPtr<MediaDataDecoder::InitPromise> DAV1DDecoder::Init() {
|
||||||
|
} else if (mInfo.mDisplay.width >= 1024) {
|
||||||
|
decoder_threads = 4;
|
||||||
|
}
|
||||||
|
- settings.n_frame_threads =
|
||||||
|
+ settings.n_threads =
|
||||||
|
static_cast<int>(std::min(decoder_threads, GetNumberOfProcessors()));
|
||||||
|
- // There is not much improvement with more than 2 tile threads at least with
|
||||||
|
- // the content being currently served. The ideal number of tile thread would
|
||||||
|
- // much the tile count of the content. Maybe dav1d can help to do that in the
|
||||||
|
- // future.
|
||||||
|
- settings.n_tile_threads = 2;
|
||||||
|
|
||||||
|
int res = dav1d_open(&mContext, &settings);
|
||||||
|
if (res < 0) {
|
||||||
|
diff --git image/decoders/nsAVIFDecoder.cpp image/decoders/nsAVIFDecoder.cpp
|
||||||
|
index 9d1b7496a129..3bb9e8f8d08a 100644
|
||||||
|
--- image/decoders/nsAVIFDecoder.cpp
|
||||||
|
+++ image/decoders/nsAVIFDecoder.cpp
|
||||||
|
@@ -581,6 +581,7 @@ class Dav1dDecoder final : AVIFDecoderInterface {
|
||||||
|
Dav1dSettings settings;
|
||||||
|
dav1d_default_settings(&settings);
|
||||||
|
settings.all_layers = 0;
|
||||||
|
+ settings.max_frame_delay = 1;
|
||||||
|
// TODO: tune settings a la DAV1DDecoder for AV1 (Bug 1681816)
|
||||||
|
|
||||||
|
return dav1d_open(&mContext, &settings);
|
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
PORTNAME= firefox
|
PORTNAME= firefox
|
||||||
DISTVERSION= 98.0.1
|
DISTVERSION= 98.0.1
|
||||||
PORTREVISION= 1
|
PORTREVISION= 2
|
||||||
PORTEPOCH= 2
|
PORTEPOCH= 2
|
||||||
CATEGORIES= www
|
CATEGORIES= www
|
||||||
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \
|
MASTER_SITES= MOZILLA/${PORTNAME}/releases/${DISTVERSION}/source \
|
||||||
@ -19,6 +19,7 @@ BUILD_DEPENDS= nspr>=4.32:devel/nspr \
|
|||||||
harfbuzz>=3.1.2:print/harfbuzz \
|
harfbuzz>=3.1.2:print/harfbuzz \
|
||||||
graphite2>=1.3.14:graphics/graphite2 \
|
graphite2>=1.3.14:graphics/graphite2 \
|
||||||
png>=1.6.37:graphics/png \
|
png>=1.6.37:graphics/png \
|
||||||
|
dav1d>=1.0.0:multimedia/dav1d \
|
||||||
libvpx>=1.8.2:multimedia/libvpx \
|
libvpx>=1.8.2:multimedia/libvpx \
|
||||||
${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
|
${PYTHON_PKGNAMEPREFIX}sqlite3>0:databases/py-sqlite3@${PY_FLAVOR} \
|
||||||
v4l_compat>0:multimedia/v4l_compat \
|
v4l_compat>0:multimedia/v4l_compat \
|
||||||
|
@ -61,6 +61,28 @@ index 8509aec..eb6f129 100644
|
|||||||
|
|
||||||
if CONFIG["MOZ_OMX"]:
|
if CONFIG["MOZ_OMX"]:
|
||||||
EXPORTS += [
|
EXPORTS += [
|
||||||
|
diff --git media/ffvpx/libavcodec/moz.build media/ffvpx/libavcodec/moz.build
|
||||||
|
index 0069865..e806fc8 100644
|
||||||
|
--- media/ffvpx/libavcodec/moz.build
|
||||||
|
+++ media/ffvpx/libavcodec/moz.build
|
||||||
|
@@ -112,9 +112,15 @@ if not CONFIG['MOZ_FFVPX_AUDIOONLY']:
|
||||||
|
'vaapi_vp8.c',
|
||||||
|
'vaapi_vp9.c',
|
||||||
|
]
|
||||||
|
+ if CONFIG["MOZ_SYSTEM_AV1"]:
|
||||||
|
+ CFLAGS += CONFIG['MOZ_SYSTEM_LIBDAV1D_CFLAGS']
|
||||||
|
+ OS_LIBS += CONFIG['MOZ_SYSTEM_LIBDAV1D_LIBS']
|
||||||
|
+ else:
|
||||||
|
+ USE_LIBS += [
|
||||||
|
+ 'dav1d',
|
||||||
|
+ 'media_libdav1d_asm',
|
||||||
|
+ ]
|
||||||
|
USE_LIBS += [
|
||||||
|
- 'dav1d',
|
||||||
|
- 'media_libdav1d_asm',
|
||||||
|
'mozva'
|
||||||
|
]
|
||||||
|
|
||||||
diff --git toolkit/moz.configure toolkit/moz.configure
|
diff --git toolkit/moz.configure toolkit/moz.configure
|
||||||
index 0069865..e806fc8 100644
|
index 0069865..e806fc8 100644
|
||||||
--- toolkit/moz.configure
|
--- toolkit/moz.configure
|
||||||
|
Loading…
Reference in New Issue
Block a user