misc pkgs: Basic sed to get fix pkgconfig and autoreconfHook buildInputs
Only acts on one-line dependency lists.
This commit is contained in:
@@ -29,7 +29,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
buildInputs = [ pkgconfig cmake bluez ffmpeg libao mesa gtk2 glib
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ cmake bluez ffmpeg libao mesa gtk2 glib
|
||||
gettext libpthreadstubs libXrandr libXext readline openal
|
||||
libevdev libXdmcp portaudio libusb libpulseaudio
|
||||
libevdev libXdmcp portaudio libusb libpulseaudio
|
||||
|
||||
@@ -21,7 +21,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
buildInputs = [ gcc pkgconfig cmake bluez ffmpeg libao mesa gtk2 glib pcre
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ gcc cmake bluez ffmpeg libao mesa gtk2 glib pcre
|
||||
gettext libpthreadstubs libXrandr libXext libSM readline openal
|
||||
libevdev libXdmcp portaudio libusb libpulseaudio ];
|
||||
|
||||
|
||||
@@ -14,7 +14,8 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
buildInputs = [ SDL SDL_net SDL_sound libpng mesa autoreconfHook ];
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
buildInputs = [ SDL SDL_net SDL_sound libpng mesa ];
|
||||
|
||||
desktopItem = makeDesktopItem {
|
||||
name = "dosbox";
|
||||
|
||||
@@ -12,7 +12,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0cm0sq2wri2l9cvab1l0g02za59q7klj0h3p028vr96n6njj4w9v";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig cmake alsaLib boost curl eigen freeimage freetype libarchive mesa SDL2 ];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ cmake alsaLib boost curl eigen freeimage freetype libarchive mesa SDL2 ];
|
||||
|
||||
buildPhase = "cmake . && make";
|
||||
installPhase = ''
|
||||
|
||||
@@ -12,7 +12,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "14k2p324sdr662f49299mv0bw5jmpj1i2iqn0xs5pgf80x6l3mg2";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig gettext gtk2 SDL2 zlib glib openal mesa lua freetype libmpeg2 zip ];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ gettext gtk2 SDL2 zlib glib openal mesa lua freetype libmpeg2 zip ];
|
||||
|
||||
meta = {
|
||||
description = "An accurate, customizable Amiga Emulator";
|
||||
|
||||
@@ -8,7 +8,8 @@ stdenv.mkDerivation {
|
||||
sha256 = "1ha5s6d3y7s9aq9f4zmn9p88109c3mrj36z2w68jhiw5xrxws833";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig gtk2 SDL nasm zlib libpng mesa ];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ gtk2 SDL nasm zlib libpng mesa ];
|
||||
|
||||
# Work around build failures on recent GTK+.
|
||||
# See http://ubuntuforums.org/showthread.php?p=10535837
|
||||
|
||||
@@ -16,7 +16,8 @@ stdenv.mkDerivation rec {
|
||||
substituteInPlace src/mednaffe.c --replace "binpath = NULL" "binpath = g_strdup( \"${mednafen}/bin/mednafen\" )"
|
||||
'';
|
||||
|
||||
buildInputs = [ pkgconfig gtk2 mednafen ];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ gtk2 mednafen ];
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
description = "A GTK based frontend for mednafen";
|
||||
|
||||
@@ -9,7 +9,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "0rmsvfn4zfvbhz6gf1xkb7hnwflv6sbklwjz2xk4dlpj4vcbjxcw";
|
||||
};
|
||||
|
||||
buildInputs = [ boost dash freetype libpng pkgconfig SDL which zlib ];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ boost dash freetype libpng SDL which zlib ];
|
||||
|
||||
buildPhase = ''
|
||||
dash m64p_build.sh PREFIX="$out" COREDIR="$out/lib/" PLUGINDIR="$out/lib/mupen64plus" SHAREDIR="$out/share/mupen64plus"
|
||||
|
||||
@@ -32,7 +32,8 @@ stdenv.mkDerivation rec {
|
||||
rev = "v${version}";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig ffmpeg mesa freetype libxml2 coreutils python34 which SDL ]
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ ffmpeg mesa freetype libxml2 coreutils python34 which SDL ]
|
||||
++ optional enableNvidiaCgToolkit nvidia_cg_toolkit
|
||||
++ optionals stdenv.isLinux [ udev alsaLib libX11 libXext libXxf86vm libXdmcp libv4l libpulseaudio ];
|
||||
|
||||
|
||||
@@ -9,7 +9,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "9f7c5d2d0fa3fe753611cf94e8879b73b8bb3c0eab97cdbcb6ab7376efa78dc3";
|
||||
};
|
||||
|
||||
buildInputs = [ nasm SDL zlib libpng ncurses mesa intltool gtk2 pkgconfig libxml2 xlibsWrapper libpulseaudio];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ nasm SDL zlib libpng ncurses mesa intltool gtk2 libxml2 xlibsWrapper libpulseaudio];
|
||||
|
||||
sourceRoot = "snes9x-${version}-src/gtk";
|
||||
|
||||
|
||||
@@ -11,7 +11,8 @@ stdenv.mkDerivation rec {
|
||||
sha256 = "126jph21b70jlxapzmll8pq36i53lb304hbsiap25160vdqid4n1";
|
||||
};
|
||||
|
||||
buildInputs = [ pkgconfig SDL2 ];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ SDL2 ];
|
||||
|
||||
meta = {
|
||||
description = "An open-source Atari 2600 VCS emulator";
|
||||
|
||||
@@ -10,7 +10,8 @@ stdenv.mkDerivation rec {
|
||||
|
||||
configureFlags = [ "--with-sdl" "--with-sdl-sound" "--with-sdl-gfx" "--with-alsa" ];
|
||||
|
||||
buildInputs = [ pkgconfig gtk2 alsaLib SDL ];
|
||||
nativeBuildInputs = [ pkgconfig ];
|
||||
buildInputs = [ gtk2 alsaLib SDL ];
|
||||
|
||||
hardeningDisable = [ "format" ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user