treewide: add back missing libGL and libX11 for packages depending on SDL2 (#396612)
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
zenity,
|
||||
luajit_2_1,
|
||||
libGL,
|
||||
libX11,
|
||||
|
||||
builderArgs,
|
||||
}:
|
||||
@@ -56,6 +57,8 @@ buildDubPackage (
|
||||
dbus
|
||||
freetype
|
||||
SDL2
|
||||
libGL
|
||||
libX11
|
||||
];
|
||||
|
||||
dontUseCmakeConfigure = true;
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
SDL2,
|
||||
libGL,
|
||||
cmake,
|
||||
makeWrapper,
|
||||
}:
|
||||
@@ -25,6 +26,7 @@ stdenv.mkDerivation {
|
||||
];
|
||||
buildInputs = [
|
||||
SDL2
|
||||
libGL
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
SDL2,
|
||||
libpng,
|
||||
libjpeg,
|
||||
libX11,
|
||||
glew,
|
||||
openal,
|
||||
scons,
|
||||
@@ -49,6 +50,7 @@ stdenv.mkDerivation rec {
|
||||
SDL2
|
||||
libpng
|
||||
libjpeg
|
||||
libX11
|
||||
glew
|
||||
openal
|
||||
libmad
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
libvorbis,
|
||||
openal,
|
||||
SDL2,
|
||||
libGL,
|
||||
zlib,
|
||||
versionCheckHook,
|
||||
gitUpdater,
|
||||
@@ -28,6 +29,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
|
||||
nativeBuildInputs = [ cmake ];
|
||||
buildInputs = [
|
||||
libGL
|
||||
libopenmpt
|
||||
libvorbis
|
||||
openal
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
SDL2,
|
||||
libGL,
|
||||
cmake,
|
||||
makeWrapper,
|
||||
unstableGitUpdater,
|
||||
@@ -26,6 +27,7 @@ stdenv.mkDerivation rec {
|
||||
];
|
||||
buildInputs = [
|
||||
SDL2
|
||||
libGL
|
||||
];
|
||||
|
||||
installPhase = ''
|
||||
|
||||
@@ -7,6 +7,7 @@
|
||||
libGL,
|
||||
libpng,
|
||||
libjpeg,
|
||||
libX11,
|
||||
SDL2_ttf,
|
||||
libvorbis,
|
||||
gettext,
|
||||
@@ -37,6 +38,7 @@ stdenv.mkDerivation rec {
|
||||
libjpeg
|
||||
SDL2_ttf
|
||||
libvorbis
|
||||
libX11
|
||||
gettext
|
||||
physfs
|
||||
];
|
||||
|
||||
@@ -79,6 +79,7 @@ stdenv.mkDerivation rec {
|
||||
physfs
|
||||
openal
|
||||
gamenetworkingsockets
|
||||
xorg.libX11
|
||||
];
|
||||
# TODO(@sternenseemann): set proper rpath via cmake, so we don't need autoPatchelfHook
|
||||
runtimeDependencies = [ xorg.libX11 ];
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
libpng,
|
||||
libsigcxx,
|
||||
libvorbis,
|
||||
libX11,
|
||||
lua5_2,
|
||||
libgbm,
|
||||
SDL2,
|
||||
@@ -49,6 +50,7 @@ stdenv.mkDerivation rec {
|
||||
libpng
|
||||
libsigcxx
|
||||
libvorbis
|
||||
libX11
|
||||
lua5_2
|
||||
libgbm
|
||||
SDL2
|
||||
|
||||
@@ -11,8 +11,10 @@
|
||||
curl,
|
||||
SDL2,
|
||||
openalSoft,
|
||||
libGL,
|
||||
libogg,
|
||||
libvorbis,
|
||||
libX11,
|
||||
libXi,
|
||||
wayland,
|
||||
wayland-protocols,
|
||||
@@ -61,8 +63,10 @@ stdenv.mkDerivation (finalAttrs: rec {
|
||||
libjpeg
|
||||
curl
|
||||
SDL2
|
||||
libGL
|
||||
libogg
|
||||
libvorbis
|
||||
libX11
|
||||
ffmpeg
|
||||
openalSoft
|
||||
]
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
autoPatchelfHook,
|
||||
ncurses,
|
||||
SDL2,
|
||||
libX11,
|
||||
alsa-lib,
|
||||
}:
|
||||
|
||||
@@ -45,6 +46,7 @@ stdenv.mkDerivation rec {
|
||||
autoPatchelfHook
|
||||
pkg-config
|
||||
SDL2
|
||||
libX11
|
||||
perl
|
||||
unzip
|
||||
]; # SDL2 for `sdl2-config`.
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
SDL2,
|
||||
SDL2_image,
|
||||
libvorbis,
|
||||
libX11,
|
||||
bullet,
|
||||
curl,
|
||||
gettext,
|
||||
@@ -49,6 +50,7 @@ let
|
||||
SDL2
|
||||
SDL2_image
|
||||
libvorbis
|
||||
libX11
|
||||
bullet
|
||||
curl
|
||||
gettext
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
git,
|
||||
SDL2,
|
||||
SDL2_ttf,
|
||||
libX11,
|
||||
freetype,
|
||||
harfbuzz,
|
||||
ffmpeg,
|
||||
@@ -65,6 +66,7 @@ stdenv.mkDerivation {
|
||||
|
||||
buildInputs = [
|
||||
SDL2
|
||||
libX11
|
||||
SDL2_ttf
|
||||
freetype
|
||||
harfbuzz
|
||||
|
||||
@@ -4,9 +4,11 @@
|
||||
fetchFromGitHub,
|
||||
cmake,
|
||||
pkg-config,
|
||||
libGL,
|
||||
libpng,
|
||||
libtiff,
|
||||
libjpeg,
|
||||
libX11,
|
||||
SDL2,
|
||||
gdal,
|
||||
octave,
|
||||
@@ -39,9 +41,11 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
libGL
|
||||
libpng
|
||||
libtiff
|
||||
libjpeg
|
||||
libX11
|
||||
SDL2
|
||||
gdal
|
||||
octave
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
stdenv,
|
||||
fetchFromGitHub,
|
||||
SDL2,
|
||||
libGL,
|
||||
IOKit,
|
||||
Foundation,
|
||||
OpenGL,
|
||||
@@ -34,6 +35,7 @@ stdenv.mkDerivation rec {
|
||||
buildInputs =
|
||||
[
|
||||
SDL2
|
||||
libGL
|
||||
]
|
||||
++ lib.optionals stdenv.hostPlatform.isDarwin [
|
||||
IOKit
|
||||
|
||||
@@ -10,6 +10,7 @@
|
||||
SDL2_image,
|
||||
SDL2_mixer,
|
||||
SDL2_ttf,
|
||||
libX11,
|
||||
freetype,
|
||||
zlib,
|
||||
debug,
|
||||
@@ -31,6 +32,7 @@ let
|
||||
SDL2_image
|
||||
SDL2_mixer
|
||||
SDL2_ttf
|
||||
libX11
|
||||
freetype
|
||||
];
|
||||
|
||||
|
||||
@@ -8,6 +8,7 @@
|
||||
libmpg123,
|
||||
libopus,
|
||||
libvorbis,
|
||||
libX11,
|
||||
makeWrapper,
|
||||
meson,
|
||||
moltenvk,
|
||||
@@ -48,6 +49,7 @@ stdenv.mkDerivation (finalAttrs: {
|
||||
libmpg123
|
||||
libopus
|
||||
libvorbis
|
||||
libX11
|
||||
opusfile
|
||||
vulkan-loader
|
||||
]
|
||||
|
||||
@@ -13,6 +13,7 @@
|
||||
libpng,
|
||||
SDL2,
|
||||
libGL,
|
||||
libX11,
|
||||
openal,
|
||||
zlib,
|
||||
}:
|
||||
@@ -52,6 +53,7 @@ stdenv.mkDerivation {
|
||||
libjpeg
|
||||
SDL2
|
||||
libGL
|
||||
libX11
|
||||
openal
|
||||
zlib
|
||||
libpng
|
||||
|
||||
Reference in New Issue
Block a user