From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id oHuHJYI9f2HWjQAAgWs5BA (envelope-from ) for ; Mon, 01 Nov 2021 02:06:10 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id YFYjIYI9f2HCHAAAB5/wlQ (envelope-from ) for ; Mon, 01 Nov 2021 01:06:10 +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 E65C4142DD for ; Mon, 1 Nov 2021 02:06:09 +0100 (CET) Received: from localhost ([::1]:55146 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mhLm5-0004E8-2c for larch@yhetil.org; Sun, 31 Oct 2021 21:06:09 -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 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=1635728770; 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=ECxynfLL1b7kuxq342GCn1m+8vGPhE2IqD5xWn7pVno=; b=oNoH8GXoc5O1VhEd9FfPxTaaQgibLMqMFdI72hihUSN5jrpYCgH8Hv3tytU8z6rl2JfJMp 4s+sEk/lILev2zR7DUCoXS1sTjs6WbaN+kr9hzTGSjarZ/S/TlU3aynUR+unmhlpepnqQ2 cBa42DhR1RW9TBi76xXmPVI0bPoP7iTzbk2uWikwUfi5RNcZ0byp8OwCmfHPbSVgU12A5E qEZnSnQiuSsFWZ2qJbvrj0jxRFMj3VLRDFn2WXpua2MKYhLMZVK5GcEBLO4PngC2pFu9O9 0oiV5ZGOcUVd1rMVk9pcbVkgDYIewrBwRLzNw7XmR+XYIP2/tFbpfsAjH5Af+Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635728770; a=rsa-sha256; cv=none; b=si7g8c6pCzJ8yHItPnVNAP0DTcD4gbM4aMYrM/w6N4VUn8sScwC/Q/tYqb+wMr44O5X7Qk KkFeUF7nPxD+ffE1KnUt+TJgZZMvP2EnRv0avgniiGlCPabRcs97WZ61u3cKG3nBqOzikj somjL2xxryPn/AzLK15Osdnvcf4cStTD6sT7A1mVBJm7ahCyHTSMWDedZIBURFCqnr2FkQ mDtOlIRnNZDX2QGKkvVkxbkUN59HAT4z3zt9vm9gjhDXfp6RGKLMBeuA8H5XONsCeIKUep G2vmtP7UfgLcYLOh/KBi3yzkRfMAqI8PeCvFwiUC45bCYBFwD6TprG3Kl9QF0w== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=YSCDNNiE; dmarc=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-Spam-Score: 5.08 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=YSCDNNiE; dmarc=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: E65C4142DD X-Spam-Score: 5.08 X-Migadu-Scanner: scn0.migadu.com X-TUID: oioHzZwiEtPk * 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") -- 2.33.0