Subject: [PATCH] gnu: openshot: Update to 3.0.0

From: Andy Tai <[email-masked]>
Date: Sat, 24 Dec 2022 14:59:42 -0800

From 6c8b7810ade1a19c1f17afa7295015d8829ea9b5 Mon Sep 17 00:00:00 2001
From: Andy Tai <[email-masked]>
Date: Sat, 24 Dec 2022 14:41:29 -0800
Subject: [PATCH 2/2] gnu: openshot: Update to 3.0.0

gnu/packages/video.scm (libopenshot): Update to 0.3.0
                       (openshot): Update to 3.0.0
---
 gnu/packages/video.scm | 16 ++++++----------
 1 file changed, 6 insertions(+), 10 deletions(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index e32186f5ce..10cd356d60 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -62,6 +62,7 @@
 ;;; Copyright © 2022 Bird <[email-masked]>
 ;;; Copyright © 2022 Jai Vetrivelan <[email-masked]>
 ;;; Copyright © 2022 Chadwain Holness <[email-masked]>
+;;; Copyright © 2022 Andy Tai <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4748,7 +4749,7 @@ (define-public vidstab
 (define-public libopenshot
   (package
     (name "libopenshot")
-    (version "0.2.7")
+    (version "0.3.0")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -4757,7 +4758,7 @@ (define-public libopenshot
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "0i9bsn8gklm1mvj60l3d3xrxdgy8svpxjfqcwsr308j5zjn30pv8"))
+                "0q2899hbaqwh1gxyl9x84l116g82glk0wmr3r1xvfwb107m3mvx9"))
               (modules '((guix build utils)))
               (snippet '(begin
                           ;; Allow overriding of the python installation dir
@@ -4783,6 +4784,7 @@ (define-public libopenshot
            libopenshot-audio
            qtbase-5
            qtmultimedia-5
+           qtsvg-5
            zeromq))
     (arguments
      `(#:configure-flags
@@ -4811,7 +4813,7 @@ (define-public libopenshot
 (define-public openshot
   (package
     (name "openshot")
-    (version "2.6.1")
+    (version "3.0.0")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -4820,7 +4822,7 @@ (define-public openshot
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "0pa8iwl217503bjlqg2zlrw5lxyq5hvxrf5apxrh3843hj1w1myv"))
+                "1az59whx9sga6m8m2c3ndfls5h07r0jn4jipnyxckpxl32vpd147"))
        (modules '((guix build utils)))
        (snippet
         '(begin
@@ -4857,12 +4859,6 @@ (define-public openshot
                           (("fonts") "share/fonts/truetype")
                           (("[A-Za-z_-]+.ttf") "DejaVuSans.ttf")))
                       #t))
-                  ;; https://github.com/OpenShot/openshot-qt/issues/4502
-                  (add-before 'ensure-no-mtimes-pre-1980 'fix-symbolic-link
-                    (lambda _
-                      (delete-file "images/Humanity/actions/custom/razor_line_with_razor.png")
-                      (symlink "../../../../src/timeline/media/images/razor_line_with_razor.png"
-                               "images/Humanity/actions/custom/razor_line_with_razor.png")))
                   (add-before 'install 'set-tmp-home
                     (lambda _
                       ;; src/classes/info.py "needs" to create several
-- 
2.38.1

From b0411026520ae7119e39b2fb0ce58eeaee3eba20 Mon Sep 17 00:00:00 2001
From: Andy Tai <[email-masked]>
Date: Sat, 24 Dec 2022 14:39:15 -0800
Subject: [PATCH 1/2] gnu: libopenshot-audio: Update to 0.3.0

gnu/packages/audio.scm (libopenshot-audio): Update to 0.3.0
---
 gnu/packages/audio.scm | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm
index b1a16ef3d3..5f070787eb 100644
--- a/gnu/packages/audio.scm
+++ b/gnu/packages/audio.scm
@@ -39,6 +39,7 @@
 ;;; Copyright © 2022 Arjan Adriaanse <[email-masked]>
 ;;; Copyright © 2022 Juliana Sims <[email-masked]>
 ;;; Copyright © 2022 Simon Streit <[email-masked]>
+;;; Copyright © 2022 Andy Tai <[email-masked]>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4936,7 +4937,7 @@ (define-public libfdk
 (define-public libopenshot-audio
   (package
     (name "libopenshot-audio")
-    (version "0.2.2")
+    (version "0.3.0")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -4945,7 +4946,7 @@ (define-public libopenshot-audio
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "03dygh85riljk7dpn5a5a0d22a2kz45fs13gzwqgnbzzr1k17p2y"))))
+                "1y3apyn71ysks88bv71knjvk832imnbpbb8mgib3q9b8pvdmjw3g"))))
     (build-system cmake-build-system)
     (inputs
      (list alsa-lib
-- 
2.38.1