From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:49619) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gN96U-0003vi-1d for guix-patches@gnu.org; Wed, 14 Nov 2018 23:18:07 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gN96R-00089Q-N7 for guix-patches@gnu.org; Wed, 14 Nov 2018 23:18:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:48550) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1gN96R-00089H-JD for guix-patches@gnu.org; Wed, 14 Nov 2018 23:18:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1gN96R-0006rO-Dc for guix-patches@gnu.org; Wed, 14 Nov 2018 23:18:03 -0500 Subject: [bug#33391] [PATCH 4/4] gnu: Add OpenShot. Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:49515) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1gN969-0003ud-7d for guix-patches@gnu.org; Wed, 14 Nov 2018 23:17:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1gN967-0007z9-O8 for guix-patches@gnu.org; Wed, 14 Nov 2018 23:17:45 -0500 Received: from mail.onyx.syn-alias.com ([206.152.134.66]:19499 helo=smtp.centurylink.net) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1gN967-0007sN-Ij for guix-patches@gnu.org; Wed, 14 Nov 2018 23:17:43 -0500 From: ericbavier@centurylink.net Date: Wed, 14 Nov 2018 22:17:15 -0600 Message-Id: <20181115041715.15993-5-ericbavier@centurylink.net> In-Reply-To: <20181115041715.15993-1-ericbavier@centurylink.net> References: <20181115041715.15993-1-ericbavier@centurylink.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 33391@debbugs.gnu.org Cc: Eric Bavier From: Eric Bavier * 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