From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2469115800F for ; Wed, 8 Feb 2023 11:46:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 47A78E07D0; Wed, 8 Feb 2023 11:46:16 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CFA78E07D0 for ; Wed, 8 Feb 2023 11:46:15 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 66215335D83 for ; Wed, 8 Feb 2023 11:46:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D985F531 for ; Wed, 8 Feb 2023 11:46:11 +0000 (UTC) From: "Nicola Smaniotto" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Nicola Smaniotto" Message-ID: <1675856756.e53267a7d909b29398e2242858467f41fcaed8d4.smaniotto.nicola@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: mpv-plugin/mpv_sponsorblock/ X-VCS-Repository: repo/proj/guru X-VCS-Files: mpv-plugin/mpv_sponsorblock/Manifest mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20230130.ebuild X-VCS-Directories: mpv-plugin/mpv_sponsorblock/ X-VCS-Committer: smaniotto.nicola X-VCS-Committer-Name: Nicola Smaniotto X-VCS-Revision: e53267a7d909b29398e2242858467f41fcaed8d4 X-VCS-Branch: dev Date: Wed, 8 Feb 2023 11:46:11 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 54adee67-1ba4-4031-bb01-f6e560808887 X-Archives-Hash: 1547f488b649401db6ab7c54bd6ffd79 commit: e53267a7d909b29398e2242858467f41fcaed8d4 Author: Nicola Smaniotto gmail com> AuthorDate: Wed Feb 8 11:45:44 2023 +0000 Commit: Nicola Smaniotto gmail com> CommitDate: Wed Feb 8 11:45:56 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=e53267a7 mpv-plugin/mpv_sponsorblock: add 20230130 Signed-off-by: Nicola Smaniotto gmail.com> mpv-plugin/mpv_sponsorblock/Manifest | 1 + .../mpv_sponsorblock-20230130.ebuild | 37 ++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/mpv-plugin/mpv_sponsorblock/Manifest b/mpv-plugin/mpv_sponsorblock/Manifest index 85b6dc4fa..1ec08d7c2 100644 --- a/mpv-plugin/mpv_sponsorblock/Manifest +++ b/mpv-plugin/mpv_sponsorblock/Manifest @@ -1,2 +1,3 @@ DIST mpv_sponsorblock-20211223.tar.gz 19424 BLAKE2B 33e9f83ae36cd04363401edf030350f8e47ac296ef904e084a4c4d8c01192492b904720dbb45262fee813299d72def0314c3551a3c43b7c91d2a31bc842c3a4c SHA512 7bbda9999ff1954ab3992d37d0633cc31b94517d42d32c32196b8343c8b8151f2f5ce01fcec9c19e50b29fd4088a140488b54c5e6ca42afc47f63d51107756e0 DIST mpv_sponsorblock-20220924.tar.gz 19518 BLAKE2B bcf132f6ccfea2dc43fb9134ae03c7eb3fa712c2fb878a864f70ba6546086265c5a9510248f4032d9a1a024d8f7fbf569d711cc23962335bbfcce57ca9a540e1 SHA512 44621fbfdbbb7ebdc167040cc4db3e8290ce359574366f14e16f8c815090eea94e13ef0a73ba606a71b6cda64af039c361741d601c987a0a6d97027e0b98c0b6 +DIST mpv_sponsorblock-20230130.tar.gz 19518 BLAKE2B 5a756bc12fae3fb1c68958ac95174d4ec820d3437788591d2baa9980e667194ca87118cbc0e64c5c5967d44ecf60e53ae76c4b7e845aca81ff03f814af7f0182 SHA512 36b0b1d0a4cda9dcce84b410dd322822a7cc36bb7c8ef86422b85cc43824eb415776a24ac1b0d221b5a316932b6de45b4d88182ad2112c9abf3a0f464c2dc806 diff --git a/mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20230130.ebuild b/mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20230130.ebuild new file mode 100644 index 000000000..8ab5adf50 --- /dev/null +++ b/mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20230130.ebuild @@ -0,0 +1,37 @@ +# Copyright 2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +USE_MPV="rdepend" +MPV_REQ_USE="lua" +PYTHON_COMPAT=( python3_{8..11} pypy3 ) +inherit mpv-plugin python-single-r1 + +COMMIT="7785c1477103f2fafabfd65fdcf28ef26e6d7f0d" +DESCRIPTION="mpv script to skip sponsored segments of YouTube videos" +HOMEPAGE="https://github.com/po5/mpv_sponsorblock" +SRC_URI="https://github.com/po5/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/${PN}-${COMMIT}" + +LICENSE="GPL-3" +KEYWORDS="~amd64" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND=" + ${PYTHON_DEPS} +" + +MPV_PLUGIN_FILES=( + sponsorblock_shared + sponsorblock.lua +) + +src_prepare() { + default + + # we 1) install in the system folder 2) use EPYTHON + sed -i sponsorblock.lua \ + -e 's|scripts_dir =.*|scripts_dir = "/etc/mpv/scripts"|' \ + -e "s|python3|${EPYTHON}|" || die +}