video.scm
1 | ;;; GNU Guix --- Functional package management for GNU |
2 | ;;; Copyright © 2017 Julien Lepiller <julien@lepiller.eu> |
3 | ;;; |
4 | ;;; This file is part of GNU Guix. |
5 | ;;; |
6 | ;;; GNU Guix is free software; you can redistribute it and/or modify it |
7 | ;;; under the terms of the GNU General Public License as published by |
8 | ;;; the Free Software Foundation; either version 3 of the License, or (at |
9 | ;;; your option) any later version. |
10 | ;;; |
11 | ;;; GNU Guix is distributed in the hope that it will be useful, but |
12 | ;;; WITHOUT ANY WARRANTY; without even the implied warranty of |
13 | ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
14 | ;;; GNU General Public License for more details. |
15 | ;;; |
16 | ;;; You should have received a copy of the GNU General Public License |
17 | ;;; along with GNU Guix. If not, see <http://www.gnu.org/licenses/>. |
18 | |
19 | (define-module (more packages video) |
20 | #:use-module (guix packages) |
21 | #:use-module (guix download) |
22 | #:use-module (guix build-system gnu) |
23 | #:use-module (guix build-system glib-or-gtk) |
24 | #:use-module (guix utils) |
25 | #:use-module ((guix licenses) #:prefix license:) |
26 | #:use-module (gnu packages) |
27 | #:use-module (gnu packages algebra) |
28 | #:use-module (gnu packages boost) |
29 | #:use-module (gnu packages compression) |
30 | #:use-module (gnu packages fontutils) |
31 | #:use-module (gnu packages freedesktop) |
32 | #:use-module (gnu packages gl) |
33 | #:use-module (gnu packages glib) |
34 | #:use-module (gnu packages gnome) |
35 | #:use-module (gnu packages gtk) |
36 | #:use-module (gnu packages libreoffice) ; hunspell |
37 | #:use-module (gnu packages linux) |
38 | #:use-module (gnu packages pkg-config) |
39 | #:use-module (gnu packages pulseaudio) |
40 | #:use-module (gnu packages video) |
41 | #:use-module (gnu packages wxwidgets) |
42 | #:use-module (gnu packages xml) |
43 | #:use-module (gnu packages xorg)) |
44 | |
45 | (define-public aegisub |
46 | (package |
47 | (name "aegisub-wip") |
48 | (version "3.2.2") |
49 | (source (origin |
50 | (method url-fetch) |
51 | (uri (string-append |
52 | "http://ftp.aegisub.org/pub/archives/releases/source/" |
53 | name "-" version ".tar.xz")) |
54 | (sha256 |
55 | (base32 |
56 | "11b83qazc8h0iidyj1rprnnjdivj1lpphvpa08y53n42bfa36pn5")))) |
57 | (build-system gnu-build-system) |
58 | (arguments |
59 | `(#:configure-flags |
60 | (list "--disable-update-checker" |
61 | "--without-portaudio" |
62 | "--without-openal" |
63 | "--without-oss") |
64 | ;; tests require busted, a lua package we don't have yet |
65 | #:tests? #f |
66 | #:phases |
67 | (modify-phases %standard-phases |
68 | (add-before 'configure 'fix-ldflags |
69 | (lambda _ |
70 | (setenv "LDFLAGS" "-pthread")))))) |
71 | (inputs |
72 | `(("boost" ,boost) |
73 | ("desktop-file-utils" ,desktop-file-utils) |
74 | ("ffms2" ,ffms2) |
75 | ("fftw" ,fftw) |
76 | ("hunspell" ,hunspell) |
77 | ("mesa" ,mesa) |
78 | ("libass" ,libass) |
79 | ("alsa-lib" ,alsa-lib) |
80 | ("pulseaudio" ,pulseaudio) |
81 | ("libx11" ,libx11) |
82 | ("freetype" ,freetype) |
83 | ("wxwidgets-gtk2" ,wxwidgets-gtk2))) |
84 | (native-inputs |
85 | `(("intltool" ,intltool) |
86 | ("pkg-config" ,pkg-config))) |
87 | (home-page "http://www.aegisub.org/") |
88 | (synopsis "Subtitle engine") |
89 | (description |
90 | "Aegisub is a tool for creating and modifying subtitles. Aegisub makes |
91 | it quick and easy to time subtitles to audio, and features many powerful |
92 | tools for styling them, including a built-in real-time video preview.") |
93 | (license (list license:bsd-3 ; the package is licensed under the bsd-3, except |
94 | license:mpl1.1 ; for vendor/universalchardet under the mpl1.1 |
95 | license:expat)))) ; and src/gl that is under a license similar |
96 | ; the the Expat license, with a rewording (Software -> Materials). (called MIT |
97 | ; by upstream). See https://github.com/Aegisub/Aegisub/blob/master/LICENCE |
98 | ; src/MatroskaParser.(c|h) is under bsd-3 with permission from the author |
99 | |
100 | (define-public gupnp-tools |
101 | (package |
102 | (name "gupnp-tools") |
103 | (version "0.8.13") |
104 | (source (origin |
105 | (method url-fetch) |
106 | (uri (string-append "https://download.gnome.org/sources/gupnp-tools/" |
107 | (version-major+minor version) "/gupnp-tools-" |
108 | version ".tar.xz")) |
109 | (sha256 |
110 | (base32 |
111 | "1vbr4iqi7nl7kq982agd3liw10gx67s95idd0pjy5h1jsnwyqgda")))) |
112 | (build-system glib-or-gtk-build-system) |
113 | (inputs |
114 | `(("gssdp" ,gssdp) |
115 | ("gupnp" ,gupnp) |
116 | ("gupnp-av" ,gupnp-av) |
117 | ("gtk3" ,gtk+) |
118 | ("gtksourceview" ,gtksourceview) |
119 | ("libsoup" ,libsoup) |
120 | ("libxml" ,libxml2) |
121 | ("util-linux" ,util-linux))) |
122 | (native-inputs |
123 | `(("gobject-introspection" ,gobject-introspection) |
124 | ("pkg-config" ,pkg-config) |
125 | ("vala" ,vala))) |
126 | (home-page "") |
127 | (synopsis "") |
128 | (description "") |
129 | (license license:lgpl2.0))) |
130 |