From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id QMI1BBs8f2G6iwAAgWs5BA (envelope-from ) for ; Mon, 01 Nov 2021 02:00:11 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id 2NaSOxo8f2GnGAAAB5/wlQ (envelope-from ) for ; Mon, 01 Nov 2021 01:00: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 98D0E32C7F for ; Mon, 1 Nov 2021 02:00:10 +0100 (CET) Received: from localhost ([::1]:51370 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mhLgH-0001RP-Kq for larch@yhetil.org; Sun, 31 Oct 2021 21:00:09 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40440) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mhLgA-0001R9-W5 for guix-patches@gnu.org; Sun, 31 Oct 2021 21:00:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50035) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mhLgA-0000RW-Hb for guix-patches@gnu.org; Sun, 31 Oct 2021 21:00:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mhLgA-0001C4-Fv for guix-patches@gnu.org; Sun, 31 Oct 2021 21:00:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#51534] [PATCH] gnu: Add smplayer. Resent-From: Attila Lendvai Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 01 Nov 2021 01:00:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 51534 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51534@debbugs.gnu.org Cc: Attila Lendvai X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16357283984547 (code B ref -1); Mon, 01 Nov 2021 01:00:02 +0000 Received: (at submit) by debbugs.gnu.org; 1 Nov 2021 00:59:58 +0000 Received: from localhost ([127.0.0.1]:33348 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mhLg6-0001BH-4P for submit@debbugs.gnu.org; Sun, 31 Oct 2021 20:59:58 -0400 Received: from lists.gnu.org ([209.51.188.17]:53024) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mhLg3-0001B9-P2 for submit@debbugs.gnu.org; Sun, 31 Oct 2021 20:59:56 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:40432) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mhLg3-0001Qb-HU for guix-patches@gnu.org; Sun, 31 Oct 2021 20:59:55 -0400 Received: from mail-wr1-x432.google.com ([2a00:1450:4864:20::432]:36749) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mhLg1-0000Pt-7j for guix-patches@gnu.org; Sun, 31 Oct 2021 20:59:55 -0400 Received: by mail-wr1-x432.google.com with SMTP id s13so18730021wrb.3 for ; Sun, 31 Oct 2021 17:59:52 -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=GOvF/TRfgMLyuvfAwKSTqed9Oe6OyoY6ya+ViCvyZFo=; b=mcC/ot3OOh5CA81hl74obze10c+jPofpHFF8QkBdP9GTCweAKMoAe1z2Z158HOJ5KL wOjn48KgvwrGuVSlHh4onkx1kDltjwgmptYxfQaDRNXCwa8xCdNubSLNPREO+EmeQKv4 CSmYBthTuJJXq6qhM13rGasMOUBOeymR+YOq99wyginMStvePs1gXqw65Wq2jO+W1JAo F90v1Ny4tGd/D8LArbtF7PbY35HuXr46jpiViQNRNG6NLBgwfIgI9bsqRfXqx+6A+mZF PAx3mLJ3KDVCbpA3SG16/eaj7cVDNY11GhdJ2TC+rK0Lo+ZzVODWj/n1T4aGf8GM7tzU s0Jw== 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=GOvF/TRfgMLyuvfAwKSTqed9Oe6OyoY6ya+ViCvyZFo=; b=XdwK6ZUUCMSeOw5s/4VW0IBr83kK0mzfjEN+WEMqHmLCWDGDqPN68m3QeCT0jXvP+j ccK0ShJ61HKdQNINYhcqb0BuSbifC4k6SuSXpUE+Sd1PnsaC3WvK5iGqOBzYFmAlSS+W 6e05AhYF9ZLDQ1qEn3VBcV6rOYYcLK8cSMrc45IhurnTKO6Q8gnd+LJEmq+9J9cDfKOd UjC6V03kAlN4OYbJ5TJJvcYlZBJIYemy0xI/bEFBkOh/oLGlIozCbf9q9/eqRj5znvDm t5p/ZO3gm/IQVFiA9DzO0KHWeJFPEVCJzfgTx2vq7Mhw0nQngGwUofDlUKvL8mN61ojJ n1Dw== X-Gm-Message-State: AOAM531bdLKXdcty0UE04JA/T6SLqtG+mRmn6VFycWgMEASDaLU5eoIv MVEHnDKsW30huB3/DwcexVGpkTUlNyg= X-Google-Smtp-Source: ABdhPJyDfAEcLfh/CCNEGTqSczh99F/iwD026NUbEAC0P2DtfQ8vIhrOp6/qRyLmklg7yF/dMJd5IA== X-Received: by 2002:a05:6000:156e:: with SMTP id 14mr34412195wrz.358.1635728390517; Sun, 31 Oct 2021 17:59:50 -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 e18sm10921188wrs.48.2021.10.31.17.59.49 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sun, 31 Oct 2021 17:59:50 -0700 (PDT) From: Attila Lendvai Date: Mon, 1 Nov 2021 01:59:36 +0100 Message-Id: <20211101005935.8731-1-attila@lendvai.name> X-Mailer: git-send-email 2.33.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::432; envelope-from=attila.lendvai@gmail.com; helo=mail-wr1-x432.google.com X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.248, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.248, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_PDS_PRO_TLD=0.01 autolearn=no autolearn_force=no X-Spam_action: no action 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=1635728410; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=GOvF/TRfgMLyuvfAwKSTqed9Oe6OyoY6ya+ViCvyZFo=; b=Tsm2saQ80haYH5WNqpy0F84GOms18wYxwMv6loVKsoekWgQMMoKyAVOIfoaS9vG5Wy//Ra JEVCMAJr7/ai3nkhN2wzG01xccc4LDtKQaO6tI7GFlMRkPJ7vJOA5Bvzbf9Ro2gI+JsrqZ ZyMNd+QfM9f5P7kGOYk9NXBgC3Sgy2Wg3qMDaxmHH1Dmj7vS84NrymUNas07zxbcMvIvwr WTHATSTrDvBwU6yzlTpVbBCv1Kk8P5n0AlFiAb+wGcn9ZYeqnsjUw4zeJ+6xVuS+cqkeLw DKB6/6uMenbSV3b+KBP7h13EVqRfTF6VGDgrgy4Y2ciinNj28EfmHOaSXtArpA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1635728410; a=rsa-sha256; cv=none; b=SQXRuSvEBrjbFKVfsnGHv8AIBJD46Gj8z7VN/VHStfyKqSLUF5gdTEPImzYn71os4lETdA Nr0cRJhjcj+wSxKcGZH+av97P1EIh1SWQbiXwSiBiyeRAAHtscoMpFKIRhu++GG75Gb3+v 3kZl0TaSsI4LaLTbDYjp6XVRV2HnYIK1FxY83ct67AczyeXKbdQ+A1ZQ6OHBiwFlAayDU6 AUZxNjF2xiNGB+zZTbPHPDqinQoD9FUQqYjIE51HYTKSKhUsAOsYDqO0OsfRedV+3WkZdu ax5+JzK9izz2SKbV+T77WnEUUrn1EvClSKJiT56xV+eTWDpuVtJacRSXm73Yqg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b="mcC/ot3O"; 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="mcC/ot3O"; 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: 98D0E32C7F X-Spam-Score: 5.08 X-Migadu-Scanner: scn0.migadu.com X-TUID: ukrmATln7+bh * gnu/packages/video.scm (smplayer): New variable. --- gnu/packages/video.scm | 60 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 245007f294..ecd5ab8728 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:gpl3+))) + (define-public mpv (package (name "mpv") -- 2.33.0