me
/
guix
Archived
1
0
Fork 0

gnu: Add texlive-latex-media9.

* gnu/packages/tex.scm (texlive-latex-media9): New variable.

Signed-off-by: Leo Famulari <leo@famulari.name>
master
Pierre Neidhardt 2018-08-14 10:54:05 +02:00 committed by Leo Famulari
parent b42592db6a
commit 7d50dff34c
No known key found for this signature in database
GPG Key ID: 2646FA30BACA7F08
1 changed files with 40 additions and 0 deletions

View File

@ -4386,3 +4386,43 @@ cross-references, bibliographies, indexes, etc. It is very good for working
with documents of any length in which the usual processing abilities are
required: automatic sectioning and pagination, spell checking and so forth.")
(license license:gpl2+)))
(define-public texlive-latex-media9
(package
(name "texlive-latex-media9")
(version (number->string %texlive-revision))
(source (origin
(method svn-fetch)
(uri (svn-reference
(url (string-append "svn://www.tug.org/texlive/tags/"
%texlive-tag "/Master/texmf-dist/"
"/tex/latex/media9"))
(revision %texlive-revision)))
(file-name (string-append name "-" version "-checkout"))
(sha256
(base32
"01ysky8h8s6q12dxfahkzwhbkc9j5wl50xzcczy0cbjx9f6aj9kv"))))
(build-system trivial-build-system)
(arguments
`(#:modules ((guix build utils))
#:builder
(begin
(use-modules (guix build utils))
(let ((target (string-append (assoc-ref %outputs "out")
"/share/texmf-dist/tex/latex/media9")))
(mkdir-p target)
(copy-recursively (assoc-ref %build-inputs "source") target)
#t))))
(home-page "https://www.ctan.org/pkg/media9")
(synopsis "Multimedia inclusion package with Adobe Reader-9/X compatibility")
(description
"The package provides an interface to embed interactive Flash (SWF) and 3D
objects (Adobe U3D & PRC), as well as video and sound files or streams in the
popular MP4, FLV and MP3 formats into PDF documents with Acrobat-9/X
compatibility. Playback of multimedia files uses the built-in Flash Player of
Adobe Reader and does, therefore, not depend on external plug-ins. Flash Player
supports the efficient H.264 codec for video compression.
The package is based on the RichMedia Annotation, an Adobe addition to the PDF
specification. It replaces the now obsolete @code{movie15} package.")
(license license:lppl)))