forked from mirrors/nixpkgs
Aegisub: update to 3.1.3 (close #2550)
New dependencies: icu, intltool, boost (default = 1.55), wxGTK 3.0 Fixes a bug on Boost detection @vcunat: minor refactoring.
This commit is contained in:
parent
b56e41aebe
commit
64948222ba
|
@ -4,6 +4,7 @@
|
|||
, mesa
|
||||
, libass, fftw, ffms
|
||||
, ffmpeg, pkgconfig, zlib # Undocumented (?) dependencies
|
||||
, icu, boost, intltool # New dependencies
|
||||
, spellChecking ? true, hunspell ? null
|
||||
, automationSupport ? true, lua ? null
|
||||
, openalSupport ? false, openal ? null
|
||||
|
@ -28,8 +29,10 @@ stdenv.mkDerivation rec {
|
|||
sha256 = "0n2y5cggayr8246p2cvrz0ajlhhvmzcgsp7nljnm21jypk15pspg";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ intltool ];
|
||||
|
||||
buildInputs = with stdenv.lib;
|
||||
[ libX11 gettext wxGTK libiconv fontconfig freetype mesa libass fftw ffms ffmpeg pkgconfig zlib ]
|
||||
[ libX11 gettext wxGTK libiconv fontconfig freetype mesa libass fftw ffms ffmpeg pkgconfig zlib icu boost ]
|
||||
++ optional spellChecking hunspell
|
||||
++ optional automationSupport lua
|
||||
++ optional openalSupport openal
|
||||
|
@ -38,13 +41,13 @@ stdenv.mkDerivation rec {
|
|||
++ optional portaudioSupport portaudio
|
||||
;
|
||||
|
||||
NIX_LDFLAGS = "-liconv -lavutil -lavformat -lavcodec -lswscale -lz -lm";
|
||||
NIX_LDFLAGS = "-liconv -lavutil -lavformat -lavcodec -lswscale -lz -lm -lGL";
|
||||
|
||||
preConfigure = "cd aegisub";
|
||||
configureFlags = "--with-boost-libdir=${boost}/lib/";
|
||||
|
||||
postInstall = "ln -s $out/bin/aegisub-3.0 $out/bin/aegisub";
|
||||
postInstall = "ln -s $out/bin/aegisub-* $out/bin/aegisub";
|
||||
|
||||
meta = {
|
||||
meta = with stdenv.lib; {
|
||||
description = "An advanced subtitle editor";
|
||||
longDescription = ''
|
||||
Aegisub is a free, cross-platform open source tool for creating and
|
||||
|
@ -53,12 +56,12 @@ stdenv.mkDerivation rec {
|
|||
built-in real-time video preview.
|
||||
'';
|
||||
homepage = http://www.aegisub.org/;
|
||||
license = stdenv.lib.licenses.bsd3;
|
||||
license = licenses.bsd3;
|
||||
# The Aegisub sources are itself BSD/ISC,
|
||||
# but they are linked against GPL'd softwares
|
||||
# - so the resulting program will be GPL
|
||||
maintainers = [ stdenv.lib.maintainers.AndersonTorres ];
|
||||
platforms = stdenv.lib.platforms.linux;
|
||||
maintainers = [ maintainers.AndersonTorres ];
|
||||
platforms = platforms.linux;
|
||||
|
||||
};
|
||||
}
|
||||
|
|
|
@ -426,7 +426,7 @@ let
|
|||
aefs = callPackage ../tools/filesystems/aefs { };
|
||||
|
||||
aegisub = callPackage ../applications/video/aegisub {
|
||||
wxGTK = wxGTK29;
|
||||
wxGTK = wxGTK30;
|
||||
lua = lua5_1;
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue