aegisub: do not force libiconv, use auto link flags
This fixes build after #4419. It seems to start fine without the flags, CC maint. @AndersonTorres.
This commit is contained in:
parent
98cef5ff67
commit
0ff8281b12
@ -1,6 +1,6 @@
|
|||||||
{ stdenv, fetchurl
|
{ stdenv, fetchurl
|
||||||
, libX11, gettext, wxGTK
|
, libX11, wxGTK
|
||||||
, libiconv, fontconfig, freetype
|
, libiconvOrEmpty, fontconfig, freetype
|
||||||
, mesa
|
, mesa
|
||||||
, libass, fftw, ffms
|
, libass, fftw, ffms
|
||||||
, ffmpeg, pkgconfig, zlib # Undocumented (?) dependencies
|
, ffmpeg, pkgconfig, zlib # Undocumented (?) dependencies
|
||||||
@ -29,19 +29,22 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = with stdenv.lib;
|
buildInputs = with stdenv.lib;
|
||||||
[ intltool libX11 gettext wxGTK libiconv fontconfig freetype mesa libass fftw ffms ffmpeg pkgconfig zlib icu boost boost.lib ]
|
[ pkgconfig intltool libX11 wxGTK fontconfig freetype mesa
|
||||||
++ optional spellChecking hunspell
|
libass fftw ffms ffmpeg zlib icu boost boost.lib
|
||||||
++ optional automationSupport lua
|
]
|
||||||
++ optional openalSupport openal
|
++ libiconvOrEmpty
|
||||||
++ optional alsaSupport alsaLib
|
++ optional spellChecking hunspell
|
||||||
++ optional pulseaudioSupport pulseaudio
|
++ optional automationSupport lua
|
||||||
++ optional portaudioSupport portaudio
|
++ optional openalSupport openal
|
||||||
;
|
++ optional alsaSupport alsaLib
|
||||||
|
++ optional pulseaudioSupport pulseaudio
|
||||||
NIX_LDFLAGS = "-liconv -lavutil -lavformat -lavcodec -lswscale -lz -lm -lGL";
|
++ optional portaudioSupport portaudio
|
||||||
|
;
|
||||||
|
|
||||||
configureFlags = "--with-boost-libdir=${boost.lib}/lib/";
|
configureFlags = "--with-boost-libdir=${boost.lib}/lib/";
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
postInstall = "ln -s $out/bin/aegisub-* $out/bin/aegisub";
|
postInstall = "ln -s $out/bin/aegisub-* $out/bin/aegisub";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user