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,12 +54,19 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
|
||||
doCheck = !stdenv.isi686 && !stdenv.isAarch32; # test_unit_LPC_inv_pred_gain fails
|
||||
|
||||
passthru.tests = {
|
||||
inherit ffmpeg-headless;
|
||||
passthru = {
|
||||
updateScript = gitUpdater {
|
||||
url = "https://gitlab.xiph.org/xiph/opus.git";
|
||||
rev-prefix = "v";
|
||||
};
|
||||
|
||||
pkg-config = testers.hasPkgConfigModules {
|
||||
package = finalAttrs.finalPackage;
|
||||
moduleNames = [ "opus" ];
|
||||
tests = {
|
||||
inherit ffmpeg-headless;
|
||||
|
||||
pkg-config = testers.hasPkgConfigModules {
|
||||
package = finalAttrs.finalPackage;
|
||||
moduleNames = [ "opus" ];
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue