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.

authored by AndersonTorres and committed by Vladimír Čunát 64948222 b56e41ae

+12 -9
+11 -8
pkgs/applications/video/aegisub/default.nix
··· 4 4 , mesa 5 5 , libass, fftw, ffms 6 6 , ffmpeg, pkgconfig, zlib # Undocumented (?) dependencies 7 + , icu, boost, intltool # New dependencies 7 8 , spellChecking ? true, hunspell ? null 8 9 , automationSupport ? true, lua ? null 9 10 , openalSupport ? false, openal ? null ··· 28 29 sha256 = "0n2y5cggayr8246p2cvrz0ajlhhvmzcgsp7nljnm21jypk15pspg"; 29 30 }; 30 31 32 + nativeBuildInputs = [ intltool ]; 33 + 31 34 buildInputs = with stdenv.lib; 32 - [ libX11 gettext wxGTK libiconv fontconfig freetype mesa libass fftw ffms ffmpeg pkgconfig zlib ] 35 + [ libX11 gettext wxGTK libiconv fontconfig freetype mesa libass fftw ffms ffmpeg pkgconfig zlib icu boost ] 33 36 ++ optional spellChecking hunspell 34 37 ++ optional automationSupport lua 35 38 ++ optional openalSupport openal ··· 38 41 ++ optional portaudioSupport portaudio 39 42 ; 40 43 41 - NIX_LDFLAGS = "-liconv -lavutil -lavformat -lavcodec -lswscale -lz -lm"; 44 + NIX_LDFLAGS = "-liconv -lavutil -lavformat -lavcodec -lswscale -lz -lm -lGL"; 42 45 43 - preConfigure = "cd aegisub"; 46 + configureFlags = "--with-boost-libdir=${boost}/lib/"; 44 47 45 - postInstall = "ln -s $out/bin/aegisub-3.0 $out/bin/aegisub"; 48 + postInstall = "ln -s $out/bin/aegisub-* $out/bin/aegisub"; 46 49 47 - meta = { 50 + meta = with stdenv.lib; { 48 51 description = "An advanced subtitle editor"; 49 52 longDescription = '' 50 53 Aegisub is a free, cross-platform open source tool for creating and ··· 53 56 built-in real-time video preview. 54 57 ''; 55 58 homepage = http://www.aegisub.org/; 56 - license = stdenv.lib.licenses.bsd3; 59 + license = licenses.bsd3; 57 60 # The Aegisub sources are itself BSD/ISC, 58 61 # but they are linked against GPL'd softwares 59 62 # - so the resulting program will be GPL 60 - maintainers = [ stdenv.lib.maintainers.AndersonTorres ]; 61 - platforms = stdenv.lib.platforms.linux; 63 + maintainers = [ maintainers.AndersonTorres ]; 64 + platforms = platforms.linux; 62 65 63 66 }; 64 67 }
+1 -1
pkgs/top-level/all-packages.nix
··· 426 426 aefs = callPackage ../tools/filesystems/aefs { }; 427 427 428 428 aegisub = callPackage ../applications/video/aegisub { 429 - wxGTK = wxGTK29; 429 + wxGTK = wxGTK30; 430 430 lua = lua5_1; 431 431 }; 432 432