From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id uGbsJp+yhWCRDgAAgWs5BA (envelope-from ) for ; Sun, 25 Apr 2021 20:19:11 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id eFpvIp+yhWCYYAAAbx9fmQ (envelope-from ) for ; Sun, 25 Apr 2021 18:19:11 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 2287D232B0 for ; Sun, 25 Apr 2021 20:19:11 +0200 (CEST) Received: from localhost ([::1]:37920 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lajLa-0000hf-9e for larch@yhetil.org; Sun, 25 Apr 2021 14:19:10 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:48838) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lajLT-0000hQ-6b for guix-patches@gnu.org; Sun, 25 Apr 2021 14:19:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:60421) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lajLS-0000Rc-Ue for guix-patches@gnu.org; Sun, 25 Apr 2021 14:19:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lajLS-0003ZL-QR for guix-patches@gnu.org; Sun, 25 Apr 2021 14:19:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#48020] [PATCH 4/4] gnu: Add shotcut. Resent-From: Vinicius Monego Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 25 Apr 2021 18:19:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 48020 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 48020@debbugs.gnu.org Cc: Vinicius Monego Received: via spool by 48020-submit@debbugs.gnu.org id=B48020.161937468413611 (code B ref 48020); Sun, 25 Apr 2021 18:19:02 +0000 Received: (at 48020) by debbugs.gnu.org; 25 Apr 2021 18:18:04 +0000 Received: from localhost ([127.0.0.1]:43733 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lajKW-0003XN-7n for submit@debbugs.gnu.org; Sun, 25 Apr 2021 14:18:04 -0400 Received: from mout01.posteo.de ([185.67.36.65]:60499) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lajKS-0003WK-Q9 for 48020@debbugs.gnu.org; Sun, 25 Apr 2021 14:18:01 -0400 Received: from submission (posteo.de [89.146.220.130]) by mout01.posteo.de (Postfix) with ESMTPS id 4DCF6240026 for <48020@debbugs.gnu.org>; Sun, 25 Apr 2021 20:17:55 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1619374675; bh=H2ntb+T33Vnj4QD2NowA5m4Z1QFa1dP8Jo2RhfDu/6Y=; h=From:To:Cc:Subject:Date:From; b=ou+7GIK61GtrbWIxEetbMcE1PDM3CVogOP0MfPfLkSkQuIP9LTK2VgEx2370JeWFw Ot96romFq06yI0F9i7mzsJ7j/+6bscF7ZRDz7dTz4M7amPdaoISL9H+e6bMDZ3ryPZ qLnW907bBop5dtbnBOHrZtV0kpgeuuR2G8hx1zzPKpep7cGRx8X7mZO0AjdT7dX6b4 xJBrqxO/eYcEZH7TwG7V9gGjvistlOTeQ3nd8/bmHDmKBYKlYi9HA63Bb69eqtHZqJ Dtj3TDRGe5FuNUi9g/J3nFzdHiYl1Kjd62Jf9bfLf9eVT1lfsCPY6K7AIa//08THYB aXgQPlham1ZVQ== Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4FSx8f0FTHz9rxN; Sun, 25 Apr 2021 20:17:53 +0200 (CEST) From: Vinicius Monego Date: Sun, 25 Apr 2021 18:17:24 +0000 Message-Id: <20210425181724.167792-3-monego@posteo.net> In-Reply-To: <20210425181724.167792-1-monego@posteo.net> References: <20210425181724.167792-1-monego@posteo.net> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1619374751; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=MVuX2H7bcsO5tafOmnF9rG1gdTjthLVlgknjQ77vncY=; b=i/wA7QdIMC51gapGL5QrIcuAnpLbC6mJ3R8bUEx4mO50EgbxsC5eacfJ6PaoJXWyraoEff fCXC+HMbqAOQT9FAWvF8karh8iMzFpoCO7hWsyK57lzNDdR9Cfb/pnlsETq4ZQS4WzMIU4 NXGvDQJb/OZ0t4QqTPQTHc7Z9RkKp4x81WOHuNJEaM7KBOHJNQL6gUnc3Fm+euxuLsIqXx VUZ4St02rlpNWliJ7NRiBa3lZeuDhF89UQ8+zaHH0uB9MB1M4OJ/PaLacf1DBWaYDiK9SF EPQxW8UGSaRmJUV00MoOZ0h+prewmETv/IvRZOdTpnterWlWlpQlV1CLGkAOng== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1619374751; a=rsa-sha256; cv=none; b=tgyEs2v72NAtRZMz9xSis9NIq0iEwC0V2MuYex2aaoqMLN5m7ny3zR+lnb+GpqP9cS9X0W hHmyKvPEvleOxSvWHcqimNjcfq4AfD99hE5aunHtHw4KJixhPxrIsas0qawUgOAruLr5w7 po74gHp5sQodI2csq7mbfXCjeO1NhH5K2wAQk1JzXVRjtLKOZSGFIsGNXp0C/ReJJW7ewE jcK69Ve+KQqKcobzKXheIwXut+pXKFcnq1pOxItetFqDHyVE0VyQwxdSzMQxSad1hlyRZL jWEnf/GGivnYheQnARiG+3vxaSO8i5vc65SvqkMo8HwNDl0bxfNxUo9iMHjlJQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=ou+7GIK6; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.65 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=posteo.net header.s=2017 header.b=ou+7GIK6; dmarc=fail reason="SPF not aligned (strict)" header.from=posteo.net (policy=none); spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 2287D232B0 X-Spam-Score: 3.65 X-Migadu-Scanner: scn0.migadu.com X-TUID: +/GnWoVTpSbn * gnu/packages/video.scm (shotcut): New variable. --- gnu/packages/video.scm | 77 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 77 insertions(+) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index e0d5e30a13..d702fc27bd 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -85,6 +85,7 @@ #:use-module (guix build-system meson) #:use-module (guix build-system perl) #:use-module (guix build-system python) + #:use-module (guix build-system qt) #:use-module (guix build-system waf) #:use-module (guix build-system trivial) #:use-module (gnu packages) @@ -4572,6 +4573,82 @@ 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+))) +(define-public shotcut + (package + (name "shotcut") + (version "21.03.21") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/mltframework/shotcut") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0jb488vynn0vmq22z51bg4hb4617732nva9rg52lzl89v5n8gmsi")))) + (build-system qt-build-system) + (arguments + `(#:tests? #f ;there are no tests + #:phases + (modify-phases %standard-phases + (replace 'configure + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out"))) + (invoke "qmake" + (string-append "PREFIX=" out) + "QMAKE_LRELEASE=lrelease" + "QMAKE_LUPDATE=lupdate" + "shotcut.pro")))) + (add-after 'install 'wrap-executable + (lambda* (#:key inputs outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (frei0r (assoc-ref inputs "frei0r-plugins")) + (ffmpeg (assoc-ref inputs "ffmpeg")) + (jack (assoc-ref inputs "jack")) + (sdl2 (assoc-ref inputs "sdl2"))) + (wrap-program (string-append out "/bin/shotcut") + `("PATH" ":" prefix + ,(list (string-append ffmpeg "/bin"))) + `("LD_LIBRARY_PATH" ":" prefix + ,(list (string-append jack "/lib" ":" sdl2 "/lib"))) + `("FREI0R_PATH" ":" = + (,(string-append frei0r "/lib/frei0r-1/"))) + `("MLT_PREFIX" ":" = + (,(assoc-ref inputs "mlt"))))) + #t))))) + (native-inputs + `(("pkg-config" ,pkg-config) + ("python" ,python-wrapper) + ("qmake" ,qttools))) + (inputs + `(("ffmpeg" ,ffmpeg) + ("frei0r-plugins" ,frei0r-plugins) + ("jack" ,jack-1) + ("ladspa" ,ladspa) + ("lame" ,lame) + ("libvpx" ,libvpx) + ("libx264" ,libx264) + ("mlt" ,mlt) + ("pulseaudio" ,pulseaudio) + ("qtbase" ,qtbase) + ("qtdeclarative" ,qtdeclarative) + ("qtgraphicaleffects" ,qtgraphicaleffects) + ("qtmultimedia" ,qtmultimedia) + ("qtquickcontrols" ,qtquickcontrols) + ("qtquickcontrols2" ,qtquickcontrols2) + ("qtsvg" ,qtsvg) + ("qtwebkit" ,qtwebkit) + ("qtwebsockets" ,qtwebsockets) + ("qtx11extras" ,qtx11extras) + ("sdl2" ,sdl2))) + (home-page "https://www.shotcut.org/") + (synopsis "Video editor built on the MLT framework") + (description + "Shotcut is a video editor built on the MLT framework. Features include +a wide range of formats through @code{ffmpeg}, 4k resolution support, webcam +and audio capture, network stream playback, and many more.") + (license license:gpl3+))) + (define-public dav1d (package (name "dav1d") -- 2.31.1