From 95787bf4eda7728c2f352e37891edd644c610bda Mon Sep 17 00:00:00 2001 From: Leo Prikler Date: Sun, 22 Nov 2020 21:12:34 +0100 Subject: gnu: Update and deprecate gst-transcoder. As of 1.18, gst-transcoder is part of gst-plugins-bad. * gnu/packages/video.scm (gst-transcoder): Move from here... * gnu/packages/gstreamer.scm (gst-transcoder): ... to here. Redefine in terms of gst-plugins-bad and deprecate in favor of it. --- gnu/packages/video.scm | 28 ---------------------------- 1 file changed, 28 deletions(-) (limited to 'gnu/packages/video.scm') diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index c369e9ece2..949b51c568 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -4004,34 +4004,6 @@ (define-public aegisub ; by upstream). See https://github.com/Aegisub/Aegisub/blob/master/LICENCE ; src/MatroskaParser.(c|h) is under bsd-3 with permission from the author -(define-public gst-transcoder - (package - (name "gst-transcoder") - (version "1.12.2") - (source - (origin - (method git-fetch) - (uri (git-reference - (url "https://github.com/pitivi/gst-transcoder") - (commit version))) - (file-name (git-file-name name version)) - (sha256 - (base32 - "0nw1zykqc6c8xs3ri55pm00pwyz93z4y4nd880apfiwj7yv5p3az")))) - (build-system meson-build-system) - (inputs - `(("gobject-introspection" ,gobject-introspection) - ("glib" ,glib) - ("gstreamer" ,gstreamer) - ("gst-plugins-base" ,gst-plugins-base))) - (native-inputs - `(("python" ,python) - ("pkg-config" ,pkg-config))) - (home-page "https://github.com/pitivi/gst-transcoder/") - (synopsis "GStreamer Transcoding API") - (description "GStreamer Transcoding API") - (license license:lgpl2.1))) - (define-public gavl (package (name "gavl") -- cgit v1.2.3 From c412900d3e8c59ad59c994fd65634f9aafae1800 Mon Sep 17 00:00:00 2001 From: Leo Prikler Date: Sun, 22 Nov 2020 14:38:27 +0100 Subject: gnu: Add pitivi. * gnu/packages/video.scm (pitivi): New variable. Signed-off-by: Leo Prikler --- gnu/packages/video.scm | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 67 insertions(+) (limited to 'gnu/packages/video.scm') diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 949b51c568..377b3e54c0 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -4004,6 +4004,73 @@ (define-public aegisub ; by upstream). See https://github.com/Aegisub/Aegisub/blob/master/LICENCE ; src/MatroskaParser.(c|h) is under bsd-3 with permission from the author +(define-public pitivi + ;; Pitivi switched to a non-semantic versioning scheme close before 1.0 + (let ((latest-semver "0.999.0") + (%version "2020.09.2")) + (package + (name "pitivi") + (version (string-append latest-semver "-" %version)) + (source (origin + (method url-fetch) + (uri (string-append "mirror://gnome/sources/" name "/" + (version-major+minor %version) "/" + name "-" %version ".tar.xz")) + (sha256 + (base32 + "0hzvv4wia4rk0kvq16y27imq2qd4q5lg3vx99hdcjdb1x3zqqfg0")))) + (build-system meson-build-system) + (inputs + `(("glib" ,glib) + ("gst-editing-services" ,gst-editing-services) + ("gstreamer" ,gstreamer) + ("gst-plugins-base" ,gst-plugins-base) + ("gst-plugins-good" ,gst-plugins-good) + ("gst-plugins-bad" + ,(gst-plugins/selection gst-plugins-bad + #:plugins '("debugutils" "transcoder") + #:configure-flags '("-Dintrospection=enabled"))) + ("gst-libav" ,gst-libav) + ("gsound" ,gsound) + ("gtk+" ,gtk+) + ("gdk-pixbuf+svg" ,gdk-pixbuf+svg) + ("libpeas" ,libpeas) + ("libnotify" ,libnotify) + ("pango" ,pango) + ("python-gst" ,python-gst) + ("python-numpy" ,python-numpy) + ("python-matplotlib" ,python-matplotlib) + ("python-pycairo" ,python-pycairo) + ("python-pygobject" ,python-pygobject))) + (native-inputs + `(("gettext" ,gettext-minimal) + ("glib:bin" ,glib "bin") + ("itstool" ,itstool) + ("pkg-config" ,pkg-config))) + (arguments + `(#:glib-or-gtk? #t + #:phases + (modify-phases %standard-phases + (add-after 'glib-or-gtk-wrap 'wrap-other-dependencies + (lambda* (#:key outputs #:allow-other-keys) + (let ((prog (string-append (assoc-ref outputs "out") + "/bin/pitivi"))) + (wrap-program prog + `("PYTHONPATH" = (,(getenv "PYTHONPATH"))) + `("GI_TYPELIB_PATH" = (,(getenv "GI_TYPELIB_PATH"))) + ;; We've only added inputs for what Pitivi deems either + ;; necessary or optional. Let the user's packages take + ;; precedence in case they have e.g. the full gst-plugins-bad. + `("GST_PLUGIN_SYSTEM_PATH" suffix + (,(getenv "GST_PLUGIN_SYSTEM_PATH"))))) + #t))))) + (home-page "http://www.pitivi.org") + (synopsis "Video editor based on GStreamer Editing Services") + (description "Pitivi is a video editor built upon the GStreamer Editing +Services. It aims to be an intuitive and flexible application that can appeal +to newbies and professionals alike.") + (license license:lgpl2.1+)))) + (define-public gavl (package (name "gavl") -- cgit v1.2.3 From 5ea79e16f0e6e6aafcce245d44aff55408f285c5 Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Thu, 24 Dec 2020 19:14:58 -0500 Subject: gnu: Add SVT-VP9. * gnu/packages/video.scm (svt-vp9): New variable. --- gnu/packages/video.scm | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) (limited to 'gnu/packages/video.scm') diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 377b3e54c0..b488f010f2 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -4676,6 +4676,40 @@ (define-public svt-av1 (home-page "https://github.com/OpenVisualCloud/SVT-AV1") (license license:bsd-2))) +(define-public svt-vp9 + (package + (name "svt-vp9") + (version "0.3.0") + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/OpenVisualCloud/SVT-VP9") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1ypdiw4cq22llvm8jyszxdq6r1aydkj80dsxjarjn5b7c1f2q3ar")))) + ;; SVT-AV1 only supports 64-bit Intel-compatible CPUs. + (supported-systems '("x86_64-linux")) + (build-system cmake-build-system) + (arguments + `(#:tests? #f ; No test suite + #:phases + (modify-phases %standard-phases + (add-after 'install 'install-documentation + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref %outputs "out")) + (doc (string-append out "/share/doc/" ,name "-" ,version))) + (copy-recursively "../source/Docs" doc) + #t)))))) + (native-inputs + `(("yasm" ,yasm))) + (home-page "https://github.com/OpenVisualCloud/SVT-VP9") + (synopsis "VP9 video encoder") + (description "SVT-VP9 is a VP9 video encoder implementation. It is focused +on supporting video-on-demand and live encoding on Intel Xeon processors.") + (license license:bsd-2))) + (define-public w-scan (package (name "w-scan") -- cgit v1.2.3 From fad9b4bb5f3265a07578430af6caa12103ebbfdf Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Tue, 29 Dec 2020 15:59:12 -0500 Subject: gnu: SVT-AV1: Update URLs. * gnu/packages/video.scm (svt-av1)[source, home-page]: Update URLs. --- 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 b488f010f2..db37ef5219 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -4647,7 +4647,7 @@ (define-public svt-av1 (origin (method git-fetch) (uri (git-reference - (url "https://github.com/OpenVisualCloud/SVT-AV1") + (url "https://github.com/AOMediaCodec/SVT-AV1") (commit (string-append "v" version)))) (file-name (git-file-name name version)) (sha256 @@ -4673,7 +4673,7 @@ (define-public svt-av1 (description "SVT-AV1 is an AV1 codec implementation. The encoder is a work-in-progress, aiming to support video-on-demand and live streaming applications. It only supports Intel-compatible CPUs (x86).") - (home-page "https://github.com/OpenVisualCloud/SVT-AV1") + (home-page "https://github.com/AOMediaCodec/SVT-AV1") (license license:bsd-2))) (define-public svt-vp9 -- cgit v1.2.3 From da2877237ecd0e1c837758ee5e07ab450c827537 Mon Sep 17 00:00:00 2001 From: Leo Famulari Date: Thu, 24 Dec 2020 19:14:10 -0500 Subject: gnu: SVT-AV1: It only supports 64-bit Intel-compatible systems. * gnu/packages/video.scm (svt-av1)[supported-systems]: Remove i686-linux. --- 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 db37ef5219..b99846a3ff 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -4653,8 +4653,8 @@ (define-public svt-av1 (sha256 (base32 "1wzamg89azi1f93wxvdy7silsgklckc754ca066k33drvyacicyw")))) (build-system cmake-build-system) - ;; SVT-AV1 only supports Intel-compatible CPUs. - (supported-systems '("x86_64-linux" "i686-linux")) + ;; SVT-AV1 only supports 64-bit Intel-compatible CPUs. + (supported-systems '("x86_64-linux")) (arguments ;; The test suite tries to download test data and git clone a 3rd-party ;; fork of libaom. Skip it. -- cgit v1.2.3