libGL: Add meta.pkgConfigModules
and test
This commit is contained in:
parent
c8a7454a9a
commit
5855bcd789
1 changed files with 9 additions and 3 deletions
|
@ -1,8 +1,10 @@
|
|||
{ stdenv
|
||||
, libglvnd, mesa
|
||||
, OpenGL }:
|
||||
, OpenGL
|
||||
, testers
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation {
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
inherit (libglvnd) version;
|
||||
pname = "libGL";
|
||||
outputs = [ "out" "dev" ];
|
||||
|
@ -72,4 +74,8 @@ stdenv.mkDerivation {
|
|||
genPkgConfig glesv1_cm GLESv1_CM
|
||||
genPkgConfig glesv2 GLESv2
|
||||
'';
|
||||
}
|
||||
|
||||
passthru.tests.pkg-config = testers.testMetaPkgConfig finalAttrs.finalPackage;
|
||||
|
||||
meta.pkgConfigModules = [ "gl" "egl" "glesv1_cm" "glesv2" ];
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue