From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp12.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id Uc9wHJgji2NzSgAAbAwnHQ (envelope-from ) for ; Sat, 03 Dec 2022 11:23:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp12.migadu.com with LMTPS id mDNuG5gji2PUUwEAauVa8A (envelope-from ) for ; Sat, 03 Dec 2022 11:23:20 +0100 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 382671C2ED for ; Sat, 3 Dec 2022 11:23:20 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p1Pfj-0000it-N1; Sat, 03 Dec 2022 05:23:03 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p1Pfi-0000ih-Mg for guix-patches@gnu.org; Sat, 03 Dec 2022 05:23:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p1Pfi-0003wW-EC for guix-patches@gnu.org; Sat, 03 Dec 2022 05:23:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p1Pfi-0007d1-5R for guix-patches@gnu.org; Sat, 03 Dec 2022 05:23:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#59801] [PATCH] gnu: Add orf-dl. Resent-From: Liliana Marie Prikler Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 03 Dec 2022 10:23:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 59801 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 59801@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.167006296129300 (code B ref -1); Sat, 03 Dec 2022 10:23:02 +0000 Received: (at submit) by debbugs.gnu.org; 3 Dec 2022 10:22:41 +0000 Received: from localhost ([127.0.0.1]:51522 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1PfM-0007cW-Cy for submit@debbugs.gnu.org; Sat, 03 Dec 2022 05:22:41 -0500 Received: from lists.gnu.org ([209.51.188.17]:60436) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1PfH-0007cQ-6z for submit@debbugs.gnu.org; Sat, 03 Dec 2022 05:22:38 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p1PfG-0000f9-T2 for guix-patches@gnu.org; Sat, 03 Dec 2022 05:22:34 -0500 Received: from mail-ej1-x643.google.com ([2a00:1450:4864:20::643]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p1PfF-0003v4-B1 for guix-patches@gnu.org; Sat, 03 Dec 2022 05:22:34 -0500 Received: by mail-ej1-x643.google.com with SMTP id ud5so16920763ejc.4 for ; Sat, 03 Dec 2022 02:22:32 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:content-transfer-encoding:to:subject:date :from:from:to:cc:subject:date:message-id:reply-to; bh=h3oFMKyIVrd6qUfpJe392V5c5739D1Wo7wDIbOdWN5E=; b=XMwCPAT5puUSghjnnBD/1Ayq0HLzsgDOYIT1V3DG3MYS4+3Q0/Z8B7imBekS+CB0I4 svS/FWgOFaJDh7jZFdbFgiy3rM0ZUXgqs9mlAGsKWrU/DsmL8nUC4wwUXTdYTmneGgR/ 2COcODosNwOX3+PWV5hxjQ0u+UZOcGoGm2DaOLhzYiRbs8qrp1yIAWBVqHLm2Fxu2MaA c7Byo/2CpRGSRxsIW4JryAXvunJLbnzR9eMcXS3MKw4u6QxbyuJlJpHhb56iyiUVTJXq ewhom8VJYGkQ2AQSHVfTdB+LQjNmmhxXb1Fzh5kNK38qkxWTOGSW12KD0mxgMhREfuPW Dwvg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:content-transfer-encoding:to:subject:date :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=h3oFMKyIVrd6qUfpJe392V5c5739D1Wo7wDIbOdWN5E=; b=G36+HCImaRrXi4pcyLQq6FKmOOxOWuYm1ZS1EJJNg/m/dl7tc0FcIvPJ2c9+6yLMPI Eq2qODeyN9sU4AUXTMl0/3kuWCQpRm/eL2fBFl1Vw75W5S4EoSDs3ynhtHfZnQI9j9Eg YMmW7S4+zHNyxPDoUFpK+34t4vbUl73240X4fCK+BQqmpnFztsnmaIrCEGGQSOancvZm 9/bdGJKe0OtcyFZeww2Mxc1LyHoEodcnYmDyvjACXjF5le0SgeoIK//s+cSk2vTRCH+q Q4EjYkZDDd2oK8WJlcGnwn+DRtu4tjOgRdf0bkqIH1RMkM5C7Hd1P5Mbv+MMOvP1k896 3HyQ== X-Gm-Message-State: ANoB5pk4N/C1VVUuBal8jr4y511SveN67Rp96l4mh3AAwpSSIfQ6cGtU sGeqDOU36gFr+FIg9UFsaa2Puq4Oq4Q= X-Google-Smtp-Source: AA0mqf7nl9p7ftoktEQOZVfqj2eDA7yPJK8ga5uyRnutTKJx/AtDja4VdKIiTAenEfYw+rnxVYpVQA== X-Received: by 2002:a17:906:3096:b0:7ae:eae9:25a5 with SMTP id 22-20020a170906309600b007aeeae925a5mr63100743ejv.394.1670062951065; Sat, 03 Dec 2022 02:22:31 -0800 (PST) Received: from lumine.fritz.box (85-127-52-93.dsl.dynamic.surfer.at. [85.127.52.93]) by smtp.gmail.com with ESMTPSA id fe17-20020a1709072a5100b0073d7b876621sm3978690ejc.205.2022.12.03.02.22.30 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 03 Dec 2022 02:22:30 -0800 (PST) From: Liliana Marie Prikler Date: Sat, 3 Dec 2022 11:20:45 +0100 Content-Transfer-Encoding: 7bit Message-ID: MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::643; envelope-from=liliana.prikler@gmail.com; helo=mail-ej1-x643.google.com X-Spam_score_int: 8 X-Spam_score: 0.8 X-Spam_bar: / X-Spam_report: (0.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, MALFORMED_FREEMAIL=2.899, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1670063000; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to: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=h3oFMKyIVrd6qUfpJe392V5c5739D1Wo7wDIbOdWN5E=; b=TMYpr8u1bKErh4bjKBYTra0PdVCEnTj2r1KQ8KGfil82Z1qZBb1wBU10VgGv/+uh3eQ1Qr qtsaFw7BsJ++lG8YjMH+1jqETddagp2LkGFLsfaLind7YD71UTgx/Dm6zjw0S83y8jdLns z3BDevhb3Sbe7lF7/s+OKRPO09nodScYpmA3/97JmsweChkFUxBlxsF+XxrVy0Jr/Q0j5b 6PaY28uiQK5lerwuW4QKk3LNXF1ihCctd1gxM7g8pyHrFX6TqC7eBHQB70Stsx4ByNyAns yRd33e9qSx6IRwg5cvdb+2WI7gVTT1zt0+X396u2G0O4ZkJuc+LT6z8eqZ5Xaw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1670063000; a=rsa-sha256; cv=none; b=dnNwtJE3tORXXr9PIAPPiO2llxnkFHqQIPrBctCgMwv4zDjWtnUIzv3lg6EpcfzLl68UaD sPyZqspHype+EX29fdIiqDfx37cwZr4dAk1gF+V9q9Mc/Njx5JmH7ADarXTIymla6ESMr1 pQ2m/1rjvMF8ceeJANQsFF9AadV36oCeULdzFmoAUo2qf5FJM+ElGsNGWkXFAS3A+5991S G1uEHhZnXq3rgOIVppuJnlNURu6qPBaxN/RG8ZcT4cO+FuhtTUI9QS1FyV/MaUPsOEJl2W x+9k2bXhMQJsW7KYMOCnnes11SLI9xiH3pbnRGgwmWXf6XyDaEu5v9SFrZyhqg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=XMwCPAT5; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: 6.24 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=gmail.com header.s=20210112 header.b=XMwCPAT5; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 382671C2ED X-Spam-Score: 6.24 X-Migadu-Scanner: scn0.migadu.com X-TUID: 2kEnKxDxRgIY * gnu/packages/video.scm (orf-dl): New variable. --- gnu/packages/video.scm | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 6e0a1e313c..7a60a76f92 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -167,6 +167,7 @@ (define-module (gnu packages video) #:use-module (gnu packages perl) #:use-module (gnu packages perl-check) #:use-module (gnu packages perl-web) + #:use-module (gnu packages php) #:use-module (gnu packages photo) #:use-module (gnu packages pkg-config) #:use-module (gnu packages popt) @@ -2444,6 +2445,38 @@ (define-public libvpx-next (base32 "1x12f2bd4jqd532rnixmwvcx8d29yxiacpcxqqh86qczc49la8gm")))))) +(define-public orf-dl + (let ((commit "2dbbe7ef4e0efe0f3c1d59c503108e22d9065999") + (revision "1")) + (package + (name "orf-dl") + (version (git-version "0" revision commit)) + (source (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tpoechtrager/orf_dl") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1w413miy01cm7rzb5c6wwfdnc2sqv87cvxwikafgrkswpimvdjsk")))) + (build-system copy-build-system) + (arguments + (list #:install-plan #~`(("orf_dl.php" "bin/orf-dl")) + #:phases + #~(modify-phases %standard-phases + (add-after 'unpack 'patch-source + (lambda* (#:key inputs #:allow-other-keys) + (substitute* "orf_dl.php" + (("ffmpeg") + (search-input-file inputs "bin/ffmpeg")))))))) + (inputs (list php ffmpeg)) + (home-page "https://github.com/tpoechtrager/orf_dl") + (synopsis "Download videos from tvthek.orf.at") + (description "This package provides a PHP-based command line application +to download videos from Austria's national television broadcaster.") + (license license:gpl2+)))) + (define-public youtube-dl (package (name "youtube-dl") -- 2.38.1