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-plateform 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 "Aegisub helps translators create subtitles for video")
114
    (license (list license:bsd-3 ; the package is licensed under the bsd-3, except
115
                   license:mpl1.1 ; for vendor/universalchardet under the mpl1.1
116
                   license:expat)))) ; and src/gl that is under a license similar
117
   ; the the Expat license, with a rewording (Software -> Materials). (called MIT
118
   ; by upstream). See https://github.com/Aegisub/Aegisub/blob/master/LICENCE
119
   ; src/MatroskaParser.(c|h) is under bsd-3 with permission from the author
120
121
(define-public gssdp
122
  (package
123
    (name "gssdp")
124
    (version "1.0.2")
125
    (source (origin
126
              (method url-fetch)
127
              (uri (string-append "https://download.gnome.org/sources/gssdp/"
128
                                  (version-major+minor version) "/gssdp-"
129
                                  version ".tar.xz"))
130
              (sha256
131
               (base32
132
                "1p1m2m3ndzr2whipqw4vfb6s6ia0g7rnzzc4pnq8b8g1qw4prqd1"))))
133
    (build-system gnu-build-system)
134
    (home-page "")
135
    (inputs
136
     `(("util-linux" ,util-linux)
137
       ("glib" ,glib)
138
       ("libsoup" ,libsoup)))
139
    (native-inputs
140
     `(("gobject-introspection" ,gobject-introspection)
141
       ("pkg-config" ,pkg-config)
142
       ("vala" ,vala)))
143
    (synopsis "")
144
    (description "")
145
    (license license:lgpl2.0)))
146
147
(define-public gupnp
148
  (package
149
    (name "gupnp")
150
    (version "1.0.2")
151
    (source (origin
152
              (method url-fetch)
153
              (uri (string-append "https://download.gnome.org/sources/gupnp/"
154
                                  (version-major+minor version) "/gupnp-"
155
                                  version ".tar.xz"))
156
              (sha256
157
               (base32
158
                "043nqxlj030a3wvd6x4c9z8fjarjjjsl2pjarl0nn70ig6kzswsi"))))
159
    (build-system gnu-build-system)
160
    (inputs
161
     `(("util-linux" ,util-linux)
162
       ("glib" ,glib)
163
       ("gssdp" ,gssdp)
164
       ("libsoup" ,libsoup)
165
       ("libxml" ,libxml2)))
166
    (native-inputs
167
     `(("gobject-introspection" ,gobject-introspection)
168
       ("pkg-config" ,pkg-config)
169
       ("vala" ,vala)))
170
    (home-page "")
171
    (synopsis "")
172
    (description "")
173
    (license license:lgpl2.0)))
174
175
(define-public gupnp-av
176
  (package
177
    (name "gupnp-av")
178
    (version "0.12.9")
179
    (source (origin
180
              (method url-fetch)
181
              (uri (string-append "https://download.gnome.org/sources/gupnp-av/"
182
                                  (version-major+minor version) "/gupnp-av-"
183
                                  version ".tar.xz"))
184
              (sha256
185
               (base32
186
                "0iylhn722rlmnzrmwx452a9ag42v8nk9mrcfdjv9f6ka4m4n9ib2"))))
187
    (build-system gnu-build-system)
188
    (inputs
189
     `(("gssdp" ,gssdp)
190
       ("gupnp" ,gupnp)
191
       ("glib" ,glib)
192
       ("libsoup" ,libsoup)
193
       ("libxml" ,libxml2)
194
       ("util-linux" ,util-linux)))
195
    (native-inputs
196
     `(("gobject-introspection" ,gobject-introspection)
197
       ("pkg-config" ,pkg-config)
198
       ("vala" ,vala)))
199
    (home-page "")
200
    (synopsis "")
201
    (description "")
202
    (license license:lgpl2.0)))
203
204
(define-public gupnp-dlna
205
  (package
206
    (name "gupnp-dlna")
207
    (version "0.10.5")
208
    (source (origin
209
              (method url-fetch)
210
              (uri (string-append "https://download.gnome.org/sources/gupnp-dlna/"
211
                                  (version-major+minor version) "/gupnp-dlna-"
212
                                  version ".tar.xz"))
213
              (sha256
214
               (base32
215
                "0spzd2saax7w776p5laixdam6d7smyynr9qszhbmq7f14y13cghj"))))
216
    (build-system gnu-build-system)
217
    (inputs
218
     `(("gssdp" ,gssdp)
219
       ("gupnp" ,gupnp)
220
       ("glib" ,glib)
221
       ("libsoup" ,libsoup)
222
       ("libxml" ,libxml2)
223
       ("util-linux" ,util-linux)))
224
    (native-inputs
225
     `(("gobject-introspection" ,gobject-introspection)
226
       ("pkg-config" ,pkg-config)
227
       ("vala" ,vala)))
228
    (home-page "")
229
    (synopsis "")
230
    (description "")
231
    (license license:lgpl2.0)))
232
233
(define-public gupnp-tools
234
  (package
235
    (name "gupnp-tools")
236
    (version "0.8.13")
237
    (source (origin
238
              (method url-fetch)
239
              (uri (string-append "https://download.gnome.org/sources/gupnp-tools/"
240
                                  (version-major+minor version) "/gupnp-tools-"
241
                                  version ".tar.xz"))
242
              (sha256
243
               (base32
244
                "1vbr4iqi7nl7kq982agd3liw10gx67s95idd0pjy5h1jsnwyqgda"))))
245
    (build-system glib-or-gtk-build-system)
246
    (inputs
247
     `(("gssdp" ,gssdp)
248
       ("gupnp" ,gupnp)
249
       ("gupnp-av" ,gupnp-av)
250
       ("gtk3" ,gtk+)
251
       ("gtksourceview" ,gtksourceview)
252
       ("libsoup" ,libsoup)
253
       ("libxml" ,libxml2)
254
       ("util-linux" ,util-linux)))
255
    (native-inputs
256
     `(("gobject-introspection" ,gobject-introspection)
257
       ("pkg-config" ,pkg-config)
258
       ("vala" ,vala)))
259
    (home-page "")
260
    (synopsis "")
261
    (description "")
262
    (license license:lgpl2.0)))
263