guix-more/more/packages/video.scm

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 (more 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 ffms2
46
  (package
47
   (name "ffms2")
48
   (version "2.23")
49
   (home-page "https://github.com/FFMS/ffms2/")
50
   (source (origin
51
             (method url-fetch)
52
             (uri (string-append home-page "archive/" version ".tar.gz"))
53
             (sha256
54
              (base32
55
               "1vbkab8vrplxz5xgag8ggzkwp4f7nf285pd0l2a7zy66n6i2m6xh"))))
56
   (build-system gnu-build-system)
57
   (arguments
58
    '(#:configure-flags
59
      (list "--enable-avresample")))
60
   (inputs
61
    `(("zlib" ,zlib)))
62
   (propagated-inputs
63
    `(("ffmpeg" ,ffmpeg)))
64
   (native-inputs
65
    `(("pkg-config" ,pkg-config)))
66
   (synopsis "Cross-platform wrapper around ffmpeg/libav")
67
   (description
68
     "FFMpegSource is a wrapper library around ffmpeg/libav that allows
69
programmers to access a standard API to open and decompress media files.")
70
   (license license:gpl2+))); inherits from ffmpeg
71
  ;; sources are distributed under a different license that the binary.
72
  ;; see https://github.com/FFMS/ffms2/blob/master/COPYING
73
74
(define-public aegisub
75
  (package
76
    (name "aegisub-wip")
77
    (version "3.2.2")
78
    (source (origin
79
              (method url-fetch)
80
              (uri (string-append
81
                     "http://ftp.aegisub.org/pub/archives/releases/source/"
82
                     name "-" version ".tar.xz"))
83
              (sha256
84
               (base32
85
                "11b83qazc8h0iidyj1rprnnjdivj1lpphvpa08y53n42bfa36pn5"))))
86
    (build-system gnu-build-system)
87
    (arguments
88
     `(#:configure-flags
89
       (list "--disable-update-checker"
90
             "--without-portaudio"
91
             "--without-openal"
92
             "--without-oss")
93
       ;; tests require busted, a lua package we don't have yet
94
       #:tests? #f))
95
    (inputs
96
     `(("boost" ,boost-fix)
97
       ("desktop-file-utils" ,desktop-file-utils)
98
       ("ffms2" ,ffms2)
99
       ("fftw" ,fftw)
100
       ("hunspell" ,hunspell)
101
       ("mesa" ,mesa)
102
       ("libass" ,libass)
103
       ("alsa-lib" ,alsa-lib)
104
       ("pulseaudio" ,pulseaudio)
105
       ("libx11" ,libx11)
106
       ("freetype" ,freetype)
107
       ("wxwidgets-gtk2" ,wxwidgets-gtk2)))
108
    (native-inputs
109
     `(("intltool" ,intltool)
110
       ("pkg-config" ,pkg-config)))
111
    (home-page "http://www.aegisub.org/")
112
    (synopsis "Subtitle engine")
113
    (description
114
      "Aegisub is a tool for creating and modifying subtitles.  Aegisub makes
115
it quick and easy to time subtitles to audio, and features many powerful
116
tools for styling them, including a built-in real-time video preview.")
117
    (license (list license:bsd-3 ; the package is licensed under the bsd-3, except
118
                   license:mpl1.1 ; for vendor/universalchardet under the mpl1.1
119
                   license:expat)))) ; and src/gl that is under a license similar
120
   ; the the Expat license, with a rewording (Software -> Materials). (called MIT
121
   ; by upstream). See https://github.com/Aegisub/Aegisub/blob/master/LICENCE
122
   ; src/MatroskaParser.(c|h) is under bsd-3 with permission from the author
123
124
(define-public gssdp
125
  (package
126
    (name "gssdp")
127
    (version "1.0.2")
128
    (source (origin
129
              (method url-fetch)
130
              (uri (string-append "https://download.gnome.org/sources/gssdp/"
131
                                  (version-major+minor version) "/gssdp-"
132
                                  version ".tar.xz"))
133
              (sha256
134
               (base32
135
                "1p1m2m3ndzr2whipqw4vfb6s6ia0g7rnzzc4pnq8b8g1qw4prqd1"))))
136
    (build-system gnu-build-system)
137
    (home-page "")
138
    (inputs
139
     `(("util-linux" ,util-linux)
140
       ("glib" ,glib)
141
       ("libsoup" ,libsoup)))
142
    (native-inputs
143
     `(("gobject-introspection" ,gobject-introspection)
144
       ("pkg-config" ,pkg-config)
145
       ("vala" ,vala)))
146
    (synopsis "")
147
    (description "")
148
    (license license:lgpl2.0)))
149
150
(define-public gupnp
151
  (package
152
    (name "gupnp")
153
    (version "1.0.2")
154
    (source (origin
155
              (method url-fetch)
156
              (uri (string-append "https://download.gnome.org/sources/gupnp/"
157
                                  (version-major+minor version) "/gupnp-"
158
                                  version ".tar.xz"))
159
              (sha256
160
               (base32
161
                "043nqxlj030a3wvd6x4c9z8fjarjjjsl2pjarl0nn70ig6kzswsi"))))
162
    (build-system gnu-build-system)
163
    (inputs
164
     `(("util-linux" ,util-linux)
165
       ("glib" ,glib)
166
       ("gssdp" ,gssdp)
167
       ("libsoup" ,libsoup)
168
       ("libxml" ,libxml2)))
169
    (native-inputs
170
     `(("gobject-introspection" ,gobject-introspection)
171
       ("pkg-config" ,pkg-config)
172
       ("vala" ,vala)))
173
    (home-page "")
174
    (synopsis "")
175
    (description "")
176
    (license license:lgpl2.0)))
177
178
(define-public gupnp-av
179
  (package
180
    (name "gupnp-av")
181
    (version "0.12.9")
182
    (source (origin
183
              (method url-fetch)
184
              (uri (string-append "https://download.gnome.org/sources/gupnp-av/"
185
                                  (version-major+minor version) "/gupnp-av-"
186
                                  version ".tar.xz"))
187
              (sha256
188
               (base32
189
                "0iylhn722rlmnzrmwx452a9ag42v8nk9mrcfdjv9f6ka4m4n9ib2"))))
190
    (build-system gnu-build-system)
191
    (inputs
192
     `(("gssdp" ,gssdp)
193
       ("gupnp" ,gupnp)
194
       ("glib" ,glib)
195
       ("libsoup" ,libsoup)
196
       ("libxml" ,libxml2)
197
       ("util-linux" ,util-linux)))
198
    (native-inputs
199
     `(("gobject-introspection" ,gobject-introspection)
200
       ("pkg-config" ,pkg-config)
201
       ("vala" ,vala)))
202
    (home-page "")
203
    (synopsis "")
204
    (description "")
205
    (license license:lgpl2.0)))
206
207
(define-public gupnp-dlna
208
  (package
209
    (name "gupnp-dlna")
210
    (version "0.10.5")
211
    (source (origin
212
              (method url-fetch)
213
              (uri (string-append "https://download.gnome.org/sources/gupnp-dlna/"
214
                                  (version-major+minor version) "/gupnp-dlna-"
215
                                  version ".tar.xz"))
216
              (sha256
217
               (base32
218
                "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
219
    (build-system gnu-build-system)
220
    (inputs
221
     `(("gssdp" ,gssdp)
222
       ("gupnp" ,gupnp)
223
       ("glib" ,glib)
224
       ("libsoup" ,libsoup)
225
       ("libxml" ,libxml2)
226
       ("util-linux" ,util-linux)))
227
    (native-inputs
228
     `(("gobject-introspection" ,gobject-introspection)
229
       ("pkg-config" ,pkg-config)
230
       ("vala" ,vala)))
231
    (home-page "")
232
    (synopsis "")
233
    (description "")
234
    (license license:lgpl2.0)))
235
236
(define-public gupnp-tools
237
  (package
238
    (name "gupnp-tools")
239
    (version "0.8.13")
240
    (source (origin
241
              (method url-fetch)
242
              (uri (string-append "https://download.gnome.org/sources/gupnp-tools/"
243
                                  (version-major+minor version) "/gupnp-tools-"
244
                                  version ".tar.xz"))
245
              (sha256
246
               (base32
247
                "1vbr4iqi7nl7kq982agd3liw10gx67s95idd0pjy5h1jsnwyqgda"))))
248
    (build-system glib-or-gtk-build-system)
249
    (inputs
250
     `(("gssdp" ,gssdp)
251
       ("gupnp" ,gupnp)
252
       ("gupnp-av" ,gupnp-av)
253
       ("gtk3" ,gtk+)
254
       ("gtksourceview" ,gtksourceview)
255
       ("libsoup" ,libsoup)
256
       ("libxml" ,libxml2)
257
       ("util-linux" ,util-linux)))
258
    (native-inputs
259
     `(("gobject-introspection" ,gobject-introspection)
260
       ("pkg-config" ,pkg-config)
261
       ("vala" ,vala)))
262
    (home-page "")
263
    (synopsis "")
264
    (description "")
265
    (license license:lgpl2.0)))
266