libopus: add passthru.updateScript
This commit is contained in:
parent
3e6487310e
commit
a7c5d5178e
1 changed files with 13 additions and 5 deletions
|
@ -2,6 +2,7 @@
|
|||
, stdenv
|
||||
, fetchpatch
|
||||
, fetchurl
|
||||
, gitUpdater
|
||||
, meson
|
||||
, python3
|
||||
, ninja
|
||||
|
@ -53,7 +54,13 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
|
||||
doCheck = !stdenv.isi686 && !stdenv.isAarch32; # test_unit_LPC_inv_pred_gain fails
|
||||
|
||||
passthru.tests = {
|
||||
passthru = {
|
||||
updateScript = gitUpdater {
|
||||
url = "https://gitlab.xiph.org/xiph/opus.git";
|
||||
rev-prefix = "v";
|
||||
};
|
||||
|
||||
tests = {
|
||||
inherit ffmpeg-headless;
|
||||
|
||||
pkg-config = testers.hasPkgConfigModules {
|
||||
|
@ -61,6 +68,7 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
moduleNames = [ "opus" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
description = "Open, royalty-free, highly versatile audio codec";
|
||||
|
|
Loading…
Reference in a new issue