treewide: preset windres missing to fix builds on Linux

https://github.com/NixOS/nixpkgs/pull/30484#issuecomment-345899910
This commit is contained in:
Orivej Desh 2017-11-21 04:27:10 +00:00
parent 0b9cd7ad0f
commit 4f73b3162b
4 changed files with 29 additions and 1 deletions

View File

@ -9,10 +9,17 @@ stdenv.mkDerivation rec {
sha256 = "1ny7wv2wxm1av299wvpskall6438wjjpadphmqc7c0h6d0zg5kii"; sha256 = "1ny7wv2wxm1av299wvpskall6438wjjpadphmqc7c0h6d0zg5kii";
}; };
preConfigure = ''
# Build fails on Linux with windres.
export ac_cv_prog_ac_ct_WINDRES=
'';
configureFlags = "--enable-dependency-tracking"; configureFlags = "--enable-dependency-tracking";
buildInputs = [ alsaLib python SDL ]; buildInputs = [ alsaLib python SDL ];
enableParallelBuilding = true;
meta = { meta = {
description = "Music tracker application, free reimplementation of Impulse Tracker"; description = "Music tracker application, free reimplementation of Impulse Tracker";
homepage = http://schismtracker.org/; homepage = http://schismtracker.org/;

View File

@ -12,7 +12,14 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ autoconf automake ]; nativeBuildInputs = [ autoconf automake ];
preConfigure = "./autogen.sh"; preConfigure = ''
./autogen.sh
# Build fails on Linux with windres.
export ac_cv_prog_WINDRES=
'';
enableParallelBuilding = true;
meta = { meta = {
homepage = http://gravit.slowchop.com; homepage = http://gravit.slowchop.com;

View File

@ -28,11 +28,18 @@ in stdenv.mkDerivation rec {
pkgconfig intltool fontconfig libzip zip zlib pkgconfig intltool fontconfig libzip zip zlib
]; ];
preConfigure = ''
# Build fails on Linux with windres.
export ac_cv_prog_ac_ct_WINDRES=
'';
postInstall = '' postInstall = ''
mkdir -p "$out/share/" mkdir -p "$out/share/"
ln -s ${freedink_data}/share/dink "$out/share/" ln -s ${freedink_data}/share/dink "$out/share/"
''; '';
enableParallelBuilding = true;
meta = { meta = {
description = "A free, portable and enhanced version of the Dink Smallwood game engine"; description = "A free, portable and enhanced version of the Dink Smallwood game engine";

View File

@ -11,6 +11,13 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ pkgconfig ]; nativeBuildInputs = [ pkgconfig ];
buildInputs = [ gtk openssl ]; buildInputs = [ gtk openssl ];
preConfigure = ''
# Build fails on Linux with windres.
export ac_cv_prog_WINDRES=
'';
enableParallelBuilding = true;
meta = { meta = {
description = "Mascot Constructive Pilot for X"; description = "Mascot Constructive Pilot for X";
homepage = http://rosegray.sakura.ne.jp/macopix/index-e.html; homepage = http://rosegray.sakura.ne.jp/macopix/index-e.html;