mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
vdr-xinelinboutput: fix pkg-config for opengl
Up to including nixos-19.09 configure fall back and included right libraries. Since nixos-20.03 pkg-config returns a valid value for opengl, but opengl misses glx symbols.
This commit is contained in:
parent
d96bd3394b
commit
d315b3d267
1 changed files with 8 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
{ stdenv, fetchurl, lib, vdr
|
||||
, libav, libcap, libvdpau
|
||||
, xineLib, libjpeg, libextractor, mesa, libGLU
|
||||
, xineLib, libjpeg, libextractor, libglvnd, libGLU
|
||||
, libX11, libXext, libXrender, libXrandr
|
||||
, makeWrapper
|
||||
}: let
|
||||
|
@ -16,6 +16,12 @@
|
|||
sha256 = "1phrxpaz8li7z0qy241spawalhcmwkv5hh3gdijbv4h7mm899yba";
|
||||
};
|
||||
|
||||
postPatch = ''
|
||||
# pkg-config is called with opengl, which do not contain needed glx symbols
|
||||
substituteInPlace configure \
|
||||
--replace "X11 opengl" "X11 gl"
|
||||
'';
|
||||
|
||||
# configure don't accept argument --prefix
|
||||
dontAddPrefix = true;
|
||||
|
||||
|
@ -40,13 +46,13 @@
|
|||
libcap
|
||||
libextractor
|
||||
libjpeg
|
||||
libglvnd
|
||||
libGLU
|
||||
libvdpau
|
||||
libXext
|
||||
libXrandr
|
||||
libXrender
|
||||
libX11
|
||||
mesa
|
||||
vdr
|
||||
xineLib
|
||||
];
|
||||
|
|
Loading…
Reference in a new issue