>From 250a1c91ad1644ce998518eab77460869fab49ac Mon Sep 17 00:00:00 2001 From: Julien Lepiller Date: Sun, 23 Oct 2016 22:01:00 +0200 Subject: [PATCH 4/4] gnu: Add aegisub. * gnu/packages/video.scm (aegisub): New variable. --- gnu/packages/video.scm | 49 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index d6da6c0..cc70e3d 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -88,6 +88,10 @@ #:use-module (gnu packages xiph) #:use-module (gnu packages xml) #:use-module (gnu packages xorg) + #:use-module (gnu packages wxwidgets) + #:use-module (gnu packages boost) + #:use-module (gnu packages gnome) + #:use-module (gnu packages libreoffice) ; hunspell #:use-module (gnu packages assembly) #:use-module (gnu packages zip)) @@ -612,6 +616,51 @@ programmers to access a standard API to open and decompress media files") ; sources are distributed under a different license that the binary. ; see https://github.com/FFMS/ffms2/blob/master/COPYING +(define-public aegisub + (package + (name "aegisub") + (version "3.2.2") + (home-page "http://www.aegisub.org/") + (source (origin + (method url-fetch) + (uri (string-append + "http://ftp.aegisub.org/pub/archives/releases/source/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "11b83qazc8h0iidyj1rprnnjdivj1lpphvpa08y53n42bfa36pn5")))) + (build-system gnu-build-system) + (arguments + `(#:configure-flags + (list "--disable-update-checker" + "--without-portaudio" + "--without-openal" + "--without-oss") + ;#:test-target "test")) ;; requires busted, a lua package we don't have yet + #:tests? #f)) + (inputs `(("boost" ,boost) + ("desktop-file-utils" ,desktop-file-utils) + ("ffms2" ,ffms2) + ("fftw" ,fftw) + ("hunspell" ,hunspell) + ("mesa" ,mesa) + ("libass" ,libass) + ("alsa-lib" ,alsa-lib) + ("pulseaudio$" ,pulseaudio) + ("libx11" ,libx11) + ("freetype" ,freetype) + ("wxwidgets-gtk2" ,wxwidgets-gtk2))) + (native-inputs `(("intltool" ,intltool) + ("pkg-config" ,pkg-config))) + (synopsis "Subtitle engine") + (description "Aegisub helps translators create subtitles for video") + (license (list license:bsd-3 ; the package is licensed under the bsd-3, except + license:mpl1.1 ; for vendor/universalchardet under the mpl1.1 + license:expat)))) ; and src/gl that is under a license similar + ; the the Expat license, with a rewording (Software -> Materials). (called MIT + ; by upstream). See https://github.com/Aegisub/Aegisub/blob/master/LICENCE + ; src/MatroskaParser.(c|h) is under bsd-3 with permission from the author + (define-public vlc (package (name "vlc") -- 2.10.1