From patchwork Mon Nov 1 01:04:12 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Attila Lendvai X-Patchwork-Id: 34192 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5DFC527BBE3; Mon, 1 Nov 2021 01:06:14 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id E6E9827BBE1 for ; Mon, 1 Nov 2021 01:06:13 +0000 (GMT) Received: from localhost ([::1]:55146 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mhLm9-0004E8-1f for patchwork@mira.cbaines.net; Sun, 31 Oct 2021 21:06:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41352) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mhLly-0004Dt-KX for guix-patches@gnu.org; Sun, 31 Oct 2021 21:06:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50040) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mhLly-0001K0-9E for guix-patches@gnu.org; Sun, 31 Oct 2021 21:06:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mhLlx-0001Ls-Vm for guix-patches@gnu.org; Sun, 31 Oct 2021 21:06:01 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51534] [PATCH v2] gnu: Add smplayer. References: <20211101005935.8731-1-attila@lendvai.name> In-Reply-To: <20211101005935.8731-1-attila@lendvai.name> Resent-From: Attila Lendvai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 01 Nov 2021 01:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51534 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51534@debbugs.gnu.org Cc: Attila Lendvai Received: via spool by 51534-submit@debbugs.gnu.org id=B51534.16357287475174 (code B ref 51534); Mon, 01 Nov 2021 01:06:01 +0000 Received: (at 51534) by debbugs.gnu.org; 1 Nov 2021 01:05:47 +0000 Received: from localhost ([127.0.0.1]:33353 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mhLli-0001LO-TT for submit@debbugs.gnu.org; Sun, 31 Oct 2021 21:05:47 -0400 Received: from mail-wr1-f42.google.com ([209.85.221.42]:36403) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mhLlg-0001LB-Tq for 51534@debbugs.gnu.org; Sun, 31 Oct 2021 21:05:46 -0400 Received: by mail-wr1-f42.google.com with SMTP id s13so18744454wrb.3 for <51534@debbugs.gnu.org>; Sun, 31 Oct 2021 18:05:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=sender:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=ECxynfLL1b7kuxq342GCn1m+8vGPhE2IqD5xWn7pVno=; b=YSCDNNiEx7/hW/771cClvH9DNkVxDJHQDw545yuYOOA+psezdJObVjFzo4M/76aHTX myrlVpPLng16Mgg41gpcEY9c7zlVpCQ6mgEKoeGKPbTvkfnR3GlV2/yLg2sKexu6GkcO Vj4QQJkKEGZwsdriG6yEx7kk/I1Edq/3AHPjL7atDaXrX3AFKU+tmXsrHlwCSj7rwmr3 Cov7iqGt2tPM8OZzT2m0JXHegzhpG6gQuCaOOC6amJnmoX4Gzqv5mPXMm+sMkycM9DeW 63umI0VhtUvEkeR6ZL67owjGjyLDBPXkKEml4KILG7fh6rqRSkqaCe00Hf4ePGeJpPLj UNug== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:sender:from:to:cc:subject:date:message-id :mime-version:content-transfer-encoding; bh=ECxynfLL1b7kuxq342GCn1m+8vGPhE2IqD5xWn7pVno=; b=TxVKcjp4R30QZgosO+LZ+2mjNL3r5KJxL066h6XrGlv7W/wn7I8GKQOTODDuD5bhLM ZCofxvGtmS4SVzDS3kusBiO+1UnUqd8141NKYb8GGQDgkbjJLHXDvLLX+u0x4MKv6/SO D0wgoSONjUgJ1W/eXysTO5xtQiiBdw04i7k6u45MqREkS9jC2JPiIg1xGEohQjrcpeBo P3q2ggw32SZUIxLXuYOlCrlwvB9Nk5XDdfVdqi9hWBYAfoDEbqDkGfZLoXNCdArIOWUX 6R/llp6EuQz8ZO19IQwGZxOnTVIjQTlCDAEFKERfA+YcMzdBOL8dofKFhn02cuX7hQUx 3BkA== X-Gm-Message-State: AOAM5321U2pBlSS4MCTb94qKY18d5P64bl35aPI9k+xjtwrmri+pKaYw BnwHT5b+WcLQoHr8p+tpP0cNQ38nb/g= X-Google-Smtp-Source: ABdhPJzG0QfKqpBEfm2VxuzrwRp6+6CHEcG2p8/kxR5dtyP6e476tC4ZIK9HM5bHnzUx/+wUoarw8g== X-Received: by 2002:adf:e50b:: with SMTP id j11mr26811495wrm.430.1635728739036; Sun, 31 Oct 2021 18:05:39 -0700 (PDT) Received: from lelap.lan (catv-89-132-208-37.catv.broadband.hu. [89.132.208.37]) by smtp.gmail.com with ESMTPSA id a9sm8854364wrt.66.2021.10.31.18.05.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 Oct 2021 18:05:38 -0700 (PDT) From: Attila Lendvai Date: Mon, 1 Nov 2021 02:04:12 +0100 Message-Id: <20211101010411.10306-1-attila@lendvai.name> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches * gnu/packages/video.scm (smplayer): New variable. --- i forgot to double check the licence, it's gpl2+, not gpl3+. otherwise, it's the same as the previous patch. gnu/packages/video.scm | 60 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 245007f294..2915f85352 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -2092,6 +2092,66 @@ (define-public mplayer SVCD, DVD, 3ivx, DivX 3/4/5, WMV and H.264 movies.") (license license:gpl2))) +(define-public smplayer + (package + (name "smplayer") + (version "21.10.0") + (source (origin + (method url-fetch) + (uri (string-append + "mirror://sourceforge/smplayer/SMPlayer/" version + "/smplayer-" version ".tar.bz2")) + (sha256 + (base32 + "12nvcl0cfix1xay9hfi7856vg4lpv8y5b0a22212bsjbvl5g22rc")))) + (build-system gnu-build-system) + (native-inputs + `(("qttools" ,qttools))) + (inputs + `(("qtbase" ,qtbase-5) + ("zlib" ,zlib) + ("mplayer" ,mplayer))) + (arguments + `(#:modules (,@%gnu-build-system-modules + (srfi srfi-26)) + #:tests? #false ; no tests + #:make-flags (list (string-append "PREFIX=" (assoc-ref %outputs "out")) + (string-append "CC=" ,(cc-for-target)) + ;; A KLUDGE to turn off invoking lrelease on the + ;; project for now, because it fails consistently + ;; with "WARNING: Could not find qmake spec + ;; 'default'". See below. + "LRELEASE=true") + #:phases + (modify-phases %standard-phases + (delete 'configure) + ;; Due to the above, we must run lrelease separately on each .ts file + ;; (as opposed to running `lrelease-pro smplayer.pro` for the entire + ;; project, as the Makefile does normally without the above kludge). + (add-after 'build 'compile-ts-files + (lambda _ + (for-each (cut invoke "lrelease" <>) + (find-files "./" "\\.ts$"))))))) + (home-page "https://www.smplayer.info") + (synopsis "Complete front-end for MPlayer, a media player") + (description "SMPlayer is a free media player for Windows and Linux +with built-in codecs that can play virtually all video and audio formats. +It doesn't need any external codecs. Just install SMPlayer and you'll be +able to play all formats without the hassle to find and install codec packs. + +One of the most interesting features of SMPlayer: it remembers the +settings of all files you play. So you start to watch a movie but you have +to leave... don't worry, when you open that movie again it will be resumed +at the same point you left it, and with the same settings: audio track, +subtitles, volume... + +SMPlayer is a graphical user interface (GUI) for the award-winning +MPlayer, which is capable of playing almost all known video and audio +formats. But apart from providing access for the most common and useful +options of MPlayer, SMPlayer adds other interesting features like the +possibility to play Youtube videos or download subtitles.") + (license license:gpl2+))) + (define-public mpv (package (name "mpv")