all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ericbavier@centurylink.net
To: 33391@debbugs.gnu.org
Cc: Eric Bavier <bavier@member.fsf.org>
Subject: [bug#33391] [PATCH 4/4] gnu: Add OpenShot.
Date: Wed, 14 Nov 2018 22:17:15 -0600	[thread overview]
Message-ID: <20181115041715.15993-5-ericbavier@centurylink.net> (raw)
In-Reply-To: <20181115041715.15993-1-ericbavier@centurylink.net>

From: Eric Bavier <bavier@member.fsf.org>

* gnu/packages/video.scm (openshot-qt): New variable.
---
 gnu/packages/video.scm | 46 ++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 46 insertions(+)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 31684dd2f..b634394d0 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -3139,3 +3139,49 @@ create smoother and stable videos.")
 editing library with a multi-threaded and feature rich video editing
 API.  It includes bindings for Python, Ruby, and other languages.")
     (license license:lgpl3+)))
+
+(define-public openshot
+  (package
+    (name "openshot")
+    (version "2.4.3")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/OpenShot/openshot-qt")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1qdw1mli4y9qhrnllnkaf6ydgw5vfvdb90chs4i679k0x0jyb9a2"))))
+    (build-system python-build-system)
+    (inputs
+     `(("ffmpeg" ,ffmpeg)
+       ("libopenshot" ,libopenshot)
+       ("python" ,python)
+       ("python-pyqt" ,python-pyqt)
+       ("python-pyzmq" ,python-pyzmq)
+       ("python-requests" ,python-requests)
+       ("qtsvg" ,qtsvg)))
+    (arguments
+     `(#:tests? #f                      ;no tests
+       #:phases (modify-phases %standard-phases
+                  (delete 'build)       ;install phase does all the work
+                  (add-before 'install 'set-tmp-home
+                    (lambda _
+                      ;; src/classes/info.py "needs" to create several
+                      ;; directories in $HOME when loaded during build
+                      (setenv "HOME" "/tmp")
+                      #t))
+                  (add-after 'install 'wrap-program
+                    (lambda* (#:key inputs outputs #:allow-other-keys)
+                      (wrap-program (string-append (assoc-ref outputs "out")
+                                                   "/bin/openshot-qt")
+                        `("QT_PLUGIN_PATH" prefix
+                          ,(list (string-append (assoc-ref inputs "qtsvg")
+                                                "/lib/qt5/plugins/")))))))))
+    (home-page "https://openshot.org")
+    (synopsis "Video editor")
+    (description "OpenShot takes your videos, photos, and music files and
+helps you create the film you have always dreamed of.  Easily add sub-titles,
+transitions, and effects and then export your film to many common formats.")
+    (license license:gpl3+)))
-- 
2.19.1

  parent reply	other threads:[~2018-11-15  4:18 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-11-15  4:17 [bug#33392] [PATCH 0/4] Add OpenShot ericbavier
2018-11-15  4:17 ` [bug#33390] [PATCH 1/4] qtwebkit: Fix pri install directory ericbavier
2018-11-19 22:22   ` Christopher Baines
2018-11-20  4:22     ` Eric Bavier
2018-11-20 17:48       ` Christopher Baines
2018-11-27  2:04       ` bug#33390: " Eric Bavier
2018-11-15  4:17 ` [bug#33392] [PATCH 2/4] gnu: Add libopenshot-audio ericbavier
2018-11-27  2:05   ` bug#33392: " Eric Bavier
2018-11-15  4:17 ` [bug#33392] [PATCH 3/4] gnu: Add libopenshot ericbavier
2018-11-27  2:07   ` Eric Bavier
2018-11-15  4:17 ` ericbavier [this message]
2018-11-27  2:08   ` bug#33391: [PATCH 4/4] gnu: Add OpenShot Eric Bavier
2018-11-27  2:09 ` [bug#33392] closing: [PATCH 0/4] " Eric Bavier

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20181115041715.15993-5-ericbavier@centurylink.net \
    --to=ericbavier@centurylink.net \
    --cc=33391@debbugs.gnu.org \
    --cc=bavier@member.fsf.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.