From 15f1d02aad963f9495f8441a0d2140e80ba719b6 Mon Sep 17 00:00:00 2001 From: Gregor Giesen Date: Sat, 24 Jun 2017 15:04:46 -0400 Subject: gnu: Add libmatroska. * gnu/packages/video.scm (libmatroska): New variable. Signed-off-by: Leo Famulari --- gnu/packages/video.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'gnu/packages/video.scm') diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 816fb9dbea..04fce02df2 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -407,6 +407,34 @@ (define-public libdv SMPTE 314M.") (license license:lgpl2.1+))) +(define-public libmatroska + (package + (name "libmatroska") + (version "1.4.7") + (source + (origin + (method url-fetch) + (uri (string-append "https://dl.matroska.org/downloads/" + name "/" name "-" version ".tar.bz2")) + (sha256 + (base32 + "1yi5cnv13nhl27xyqayd5l3sf0j3swfj3apzibv71yg9pariwi26")))) + (build-system gnu-build-system) + (native-inputs + `(("pkg-config" ,pkg-config))) + (inputs + `(("libebml" ,libebml))) + (home-page "https://www.matroska.org") + (synopsis "C++ libary to parse Matroska files (.mkv and .mka)") + (description + "Matroska aims to become the standard of multimedia container formats. +It is based on EBML (Extensible Binary Meta Language), a binary derivative +of XML. EBML enables the Matroska Development Team to gain significant +advantages in terms of future format extensibility, without breaking file +support in old parsers. +libebml is a C++ library to read and write EBML files.") + (license license:lgpl2.1))) + (define-public libva (package (name "libva") -- cgit v1.2.3 From 2973ebf504f4d958a8db40b09b210b237060fc92 Mon Sep 17 00:00:00 2001 From: Gregor Giesen Date: Sat, 24 Jun 2017 15:04:20 -0400 Subject: gnu: Add mkvtoolnix. * gnu/packages/video.scm (mkvtoolnix): New variable. Signed-off-by: Leo Famulari --- gnu/packages/video.scm | 92 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) (limited to 'gnu/packages/video.scm') diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 04fce02df2..4ba8f3f5ed 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -20,6 +20,7 @@ ;;; Copyright © 2017 Thomas Danckaert ;;; Copyright © 2017 Ethan R. Jones ;;; Copyright © 2017 Clément Lassieur +;;; Copyright © 2017 Gregor Giesen ;;; ;;; This file is part of GNU Guix. ;;; @@ -57,14 +58,18 @@ (define-module (gnu packages video) #:use-module (gnu packages avahi) #:use-module (gnu packages base) #:use-module (gnu packages bison) + #:use-module (gnu packages boost) #:use-module (gnu packages cdrom) + #:use-module (gnu packages check) #:use-module (gnu packages cmake) #:use-module (gnu packages compression) #:use-module (gnu packages cpp) #:use-module (gnu packages curl) #:use-module (gnu packages databases) #:use-module (gnu packages dejagnu) + #:use-module (gnu packages docbook) #:use-module (gnu packages elf) + #:use-module (gnu packages file) #:use-module (gnu packages flex) #:use-module (gnu packages fontutils) #:use-module (gnu packages freedesktop) @@ -93,7 +98,10 @@ (define-module (gnu packages video) #:use-module (gnu packages pulseaudio) #:use-module (gnu packages python) #:use-module (gnu packages qt) + #:use-module (gnu packages ruby) #:use-module (gnu packages sdl) + #:use-module (gnu packages serialization) + #:use-module (gnu packages shells) #:use-module (gnu packages ssh) #:use-module (gnu packages texinfo) #:use-module (gnu packages textutils) @@ -272,6 +280,90 @@ (define-public libx264 "file://extras/cl.h" "See extras/cl.h in the distribution."))))) +(define-public mkvtoolnix + (package + (name "mkvtoolnix") + (version "13.0.0") + (source + (origin + (method url-fetch) + (uri (string-append "https://mkvtoolnix.download/sources/" + name "-" version ".tar.xz")) + (sha256 + (base32 + "0hknnnnx9661igm1r73dc7aqxnnrl5a8yvyvr1nhd9ymn2klwpl5")) + (modules '((guix build utils))) + (snippet + '(begin + ;; Delete bundled libraries. + (for-each delete-file-recursively + '("lib/libebml" + "lib/libmatroska" + "lib/nlohmann-json" + "lib/pugixml" + "lib/utf8-cpp")))))) + (build-system gnu-build-system) + (inputs + `(("boost" ,boost) + ("bzip2" ,bzip2) + ("libebml" ,libebml) + ("flac" ,flac) + ("file" ,file) + ("libmatroska" ,libmatroska) + ("libogg" ,libogg) + ("libvorbis" ,libvorbis) + ("lzo" ,lzo) + ("pugixml" ,pugixml) + ("qt" ,qt) + ("utfcpp" ,utfcpp) + ("zlib" ,zlib))) + (native-inputs + `(("docbook-xsl" ,docbook-xsl) + ("gettext" ,gettext-minimal) + ("googletest" ,googletest) + ("libxslt" ,libxslt) + ("nlohmann-json-cpp" ,nlohmann-json-cpp) + ("perl" ,perl) + ("pkg-config" ,pkg-config) + ("po4a" ,po4a) + ("ruby" ,ruby))) + (arguments + `(#:configure-flags + (list (string-append "--with-boost=" + (assoc-ref %build-inputs "boost")) + (string-append "--with-docbook-xsl-root=" + (assoc-ref %build-inputs "docbook-xsl") + "/xml/xsl/docbook-xsl-" + ,(package-version docbook-xsl)) + (string-append "--with-extra-includes=" + (assoc-ref %build-inputs "nlohmann-json-cpp") + "/include/nlohmann")) + #:phases + (modify-phases %standard-phases + (add-before 'configure 'add-googletest + (lambda _ + (symlink + (string-append (assoc-ref %build-inputs "googletest") + "/include/gtest") "lib/gtest") + #t)) + (replace 'build + (lambda _ + (let ((-j (list "-j" (number->string (parallel-job-count))))) + (zero? (apply system* "rake" -j))))) + (replace 'check + (lambda _ + (zero? (system* "rake" "tests/unit")))) + (replace 'install + (lambda _ + (zero? (system* "rake" "install"))))))) + (home-page "https://mkvtoolnix.download") + (synopsis "Tools to create, alter and inspect Matroska files") + (description + "MKVToolNix provides tools for getting information about Matroska files +(@code{mkvinfo}), extracting tracks/data from Matroska files (@code{mkvextract}) +and creating Matroska files from other media files (@code{mkvmerge}).") + (license license:gpl2))) + (define-public x265 (package (name "x265") -- cgit v1.2.3 From 96dcaa0ca9fd29a68c34e9d28852e9ece2141ba8 Mon Sep 17 00:00:00 2001 From: Alex Vong Date: Fri, 7 Jul 2017 07:17:47 +0800 Subject: gnu: youtube-dl: Update to 2017.07.02. * gnu/packages/video.scm (youtube-dl): Update to 2017.07.02. Signed-off-by: Tobias Geerinckx-Rice --- gnu/packages/video.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/video.scm') diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 4ba8f3f5ed..a98a1aa3c6 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -1121,7 +1121,7 @@ (define-public libvpx (define-public youtube-dl (package (name "youtube-dl") - (version "2017.06.23") + (version "2017.07.02") (source (origin (method url-fetch) (uri (string-append "https://yt-dl.org/downloads/" @@ -1129,7 +1129,7 @@ (define-public youtube-dl version ".tar.gz")) (sha256 (base32 - "09x11k69imfx6j2dj3p8bckk8f59q276hy65q5qr8qc41s80j8b3")))) + "0s01l97x641f46dymy29nyqh70mbq2jf7w4845p39g6x6b4i32sv")))) (build-system python-build-system) (arguments ;; The problem here is that the directory for the man page and completion -- cgit v1.2.3 From e2155f58c0b670f495da4a3a0308d5054cf060b0 Mon Sep 17 00:00:00 2001 From: Feng Shu Date: Sat, 8 Jul 2017 19:43:13 +0800 Subject: gnu: you-get: Update to 0.4.775. * gnu/packages/video.scm (you-get): Update to 0.4.775. Signed-off-by: Ben Woodcroft --- gnu/packages/video.scm | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'gnu/packages/video.scm') diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index a98a1aa3c6..b90534b4cd 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -1238,15 +1238,16 @@ (define-public youtube-dl-gui (define-public you-get (package (name "you-get") - (version "0.4.715") + (version "0.4.775") (source (origin (method url-fetch) (uri (string-append - "https://github.com/soimort/you-get/releases/download/v" - version "/you-get-" version ".tar.gz")) + "https://github.com/soimort/you-get/archive/v" + version ".tar.gz")) + (file-name (string-append name "-" version ".tar.gz")) (sha256 (base32 - "043122hfh56fbbszp1kwd1f65asgyn60j1ijday93hf2dkhvbrnh")))) + "1pjjv42c9bysnj8s3c6v0g6b00lr7b21y8ypibnzd6z0jxlsq7sz")))) (build-system python-build-system) (arguments ;; no tests -- cgit v1.2.3 From efd5a841e59ce12d43bda9aee7c3b1c0640a97d1 Mon Sep 17 00:00:00 2001 From: Tobias Geerinckx-Rice Date: Sun, 9 Jul 2017 15:58:11 +0200 Subject: gnu: youtube-dl: Update to 2017.07.09. * gnu/packages/video.scm (youtube-dl): Update to 2017.07.09. --- gnu/packages/video.scm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gnu/packages/video.scm') diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index b90534b4cd..5338d375ee 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -1121,7 +1121,7 @@ (define-public libvpx (define-public youtube-dl (package (name "youtube-dl") - (version "2017.07.02") + (version "2017.07.09") (source (origin (method url-fetch) (uri (string-append "https://yt-dl.org/downloads/" @@ -1129,7 +1129,7 @@ (define-public youtube-dl version ".tar.gz")) (sha256 (base32 - "0s01l97x641f46dymy29nyqh70mbq2jf7w4845p39g6x6b4i32sv")))) + "0phrfby2nk5y5x5173bbg3jcr2ajk849al3zji5y39z39dj36ba2")))) (build-system python-build-system) (arguments ;; The problem here is that the directory for the man page and completion -- cgit v1.2.3