summaryrefslogtreecommitdiff
path: root/mpv-plugin
diff options
context:
space:
mode:
authorroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
committerroot <root@alpha.trunkmasters.com>2026-06-04 05:48:38 -0500
commitbfd9c39e4712ebdb442d4ca0673061faed1e70e1 (patch)
tree0d7a74b4463ee387f9cf9368ceb1b757f694f72a /mpv-plugin
parentf716a9fe6455d39eef01e718aae68dae61c19704 (diff)
downloadbaldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.gz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.tar.xz
baldeagleos-repo-bfd9c39e4712ebdb442d4ca0673061faed1e70e1.zip
Revert "Adding metadata"
This reverts commit f716a9fe6455d39eef01e718aae68dae61c19704.
Diffstat (limited to 'mpv-plugin')
-rw-r--r--mpv-plugin/SimpleHistory/Manifest1
-rw-r--r--mpv-plugin/SimpleHistory/SimpleHistory-2023.09.25.ebuild44
-rw-r--r--mpv-plugin/SimpleHistory/metadata.xml8
-rw-r--r--mpv-plugin/SimpleUndo/Manifest1
-rw-r--r--mpv-plugin/SimpleUndo/SimpleUndo-2023.09.25.ebuild31
-rw-r--r--mpv-plugin/SimpleUndo/metadata.xml8
-rw-r--r--mpv-plugin/SmartCopyPaste/Manifest1
-rw-r--r--mpv-plugin/SmartCopyPaste/SmartCopyPaste-3.1.ebuild28
-rw-r--r--mpv-plugin/SmartCopyPaste/metadata.xml11
-rw-r--r--mpv-plugin/kde-do-not-disturb/Manifest1
-rw-r--r--mpv-plugin/kde-do-not-disturb/kde-do-not-disturb-20230110.ebuild28
-rw-r--r--mpv-plugin/kde-do-not-disturb/metadata.xml11
-rw-r--r--mpv-plugin/kde-night-color/Manifest2
-rw-r--r--mpv-plugin/kde-night-color/kde-night-color-20230110.ebuild28
-rw-r--r--mpv-plugin/kde-night-color/kde-night-color-20240910.ebuild28
-rw-r--r--mpv-plugin/kde-night-color/metadata.xml11
-rw-r--r--mpv-plugin/kdialog-open-files/Manifest1
-rw-r--r--mpv-plugin/kdialog-open-files/kdialog-open-files-20221015.ebuild28
-rw-r--r--mpv-plugin/kdialog-open-files/metadata.xml8
-rw-r--r--mpv-plugin/mdmenu/Manifest1
-rw-r--r--mpv-plugin/mdmenu/mdmenu-20260218.ebuild39
-rw-r--r--mpv-plugin/mdmenu/metadata.xml18
-rw-r--r--mpv-plugin/mfpbar/Manifest1
-rw-r--r--mpv-plugin/mfpbar/metadata.xml11
-rw-r--r--mpv-plugin/mfpbar/mfpbar-20260218.ebuild29
-rw-r--r--mpv-plugin/mpv-autosub/Manifest1
-rw-r--r--mpv-plugin/mpv-autosub/metadata.xml11
-rw-r--r--mpv-plugin/mpv-autosub/mpv-autosub-20210629.ebuild26
-rw-r--r--mpv-plugin/mpv-kscreen-doctor/Manifest2
-rw-r--r--mpv-plugin/mpv-kscreen-doctor/metadata.xml11
-rw-r--r--mpv-plugin/mpv-kscreen-doctor/mpv-kscreen-doctor-0.2.1.ebuild25
-rw-r--r--mpv-plugin/mpv-kscreen-doctor/mpv-kscreen-doctor-0.2.2.ebuild25
-rw-r--r--mpv-plugin/mpv-mpris/Manifest2
-rw-r--r--mpv-plugin/mpv-mpris/metadata.xml15
-rw-r--r--mpv-plugin/mpv-mpris/mpv-mpris-1.1.ebuild59
-rw-r--r--mpv-plugin/mpv-mpris/mpv-mpris-1.2.ebuild59
-rw-r--r--mpv-plugin/mpv-mpris/mpv-mpris-9999.ebuild59
-rw-r--r--mpv-plugin/mpv-plugin-xrandr/Manifest1
-rw-r--r--mpv-plugin/mpv-plugin-xrandr/metadata.xml11
-rw-r--r--mpv-plugin/mpv-plugin-xrandr/mpv-plugin-xrandr-2023.06.19.ebuild25
-rw-r--r--mpv-plugin/mpv-youtube-upnext/Manifest1
-rw-r--r--mpv-plugin/mpv-youtube-upnext/metadata.xml11
-rw-r--r--mpv-plugin/mpv-youtube-upnext/mpv-youtube-upnext-20240513.ebuild22
-rw-r--r--mpv-plugin/mpv_sponsorblock/Manifest3
-rw-r--r--mpv-plugin/mpv_sponsorblock/files/mpv_sponsorblock-20230130-pr73-file-locations.patch72
-rw-r--r--mpv-plugin/mpv_sponsorblock/metadata.xml11
-rw-r--r--mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20211223.ebuild46
-rw-r--r--mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20220924.ebuild37
-rw-r--r--mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20230130-r1.ebuild43
-rw-r--r--mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20230130.ebuild37
-rw-r--r--mpv-plugin/mpv_sponsorblock_minimal/Manifest2
-rw-r--r--mpv-plugin/mpv_sponsorblock_minimal/metadata.xml11
-rw-r--r--mpv-plugin/mpv_sponsorblock_minimal/mpv_sponsorblock_minimal-2023.08.20.ebuild22
-rw-r--r--mpv-plugin/mpv_sponsorblock_minimal/mpv_sponsorblock_minimal-2026.02.09.ebuild22
-rw-r--r--mpv-plugin/mpv_thumbnail_script/Manifest3
-rw-r--r--mpv-plugin/mpv_thumbnail_script/metadata.xml11
-rw-r--r--mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.2.ebuild56
-rw-r--r--mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.3.ebuild56
-rw-r--r--mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.4.ebuild56
-rw-r--r--mpv-plugin/open-in-mpv/Manifest2
-rw-r--r--mpv-plugin/open-in-mpv/metadata.xml8
-rw-r--r--mpv-plugin/open-in-mpv/open-in-mpv-2.4.1.ebuild32
-rw-r--r--mpv-plugin/open-in-mpv/open-in-mpv-2.4.3.ebuild32
-rw-r--r--mpv-plugin/thumbfast/Manifest2
-rw-r--r--mpv-plugin/thumbfast/metadata.xml11
-rw-r--r--mpv-plugin/thumbfast/thumbfast-2023.12.08.ebuild35
-rw-r--r--mpv-plugin/thumbfast/thumbfast-2025.02.04.ebuild35
67 files changed, 1389 insertions, 0 deletions
diff --git a/mpv-plugin/SimpleHistory/Manifest b/mpv-plugin/SimpleHistory/Manifest
new file mode 100644
index 000000000000..80b7199fd474
--- /dev/null
+++ b/mpv-plugin/SimpleHistory/Manifest
@@ -0,0 +1 @@
+DIST SimpleHistory-2023.09.25.tar.gz 5627075 BLAKE2B 6aa694b1ab815be886ba049b7f54a3b9c5f22ddea8adcd0f8ce9ba5465de9b3ec858b492eb85638854cbbaaba951cb5479b1124da55670fb68b3ecca14993848 SHA512 c99b5c3ee948b878fcb6fbed944e533b5789296dab98fc5f486a9bbbb212b0b02176258de548fb02ebd3bf2edf1b8b04138ed336ddb3c5c86cf7558c6d1ae606
diff --git a/mpv-plugin/SimpleHistory/SimpleHistory-2023.09.25.ebuild b/mpv-plugin/SimpleHistory/SimpleHistory-2023.09.25.ebuild
new file mode 100644
index 000000000000..86187d752717
--- /dev/null
+++ b/mpv-plugin/SimpleHistory/SimpleHistory-2023.09.25.ebuild
@@ -0,0 +1,44 @@
+# Copyright 2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_MPV="rdepend"
+MPV_REQ_USE="lua"
+inherit mpv-plugin
+
+DESCRIPTION="Continue watching last played, manage and play from history"
+HOMEPAGE="https://github.com/Eisa01/mpv-scripts#simpleundo"
+
+V_Y=${PV%%.*}
+V_M=${PV#*.}
+V_M=${V_M%%.*}
+V_D=${PV##*.}
+
+MY_PV="${V_D}-${V_M}-${V_Y}"
+SRC_URI="https://github.com/Eisa01/mpv-scripts/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/mpv-scripts-${MY_PV}"
+
+LICENSE="BSD-2"
+KEYWORDS="~amd64"
+
+MPV_PLUGIN_FILES=(
+ SimpleHistory.lua
+)
+
+DOCS=(
+ script-opts/SimpleHistory.conf
+ README.md
+)
+
+src_prepare() {
+ mv scripts/SimpleHistory.lua . || die
+
+ default
+}
+
+pkg_postinst() {
+ mpv-plugin_pkg_postinst
+ einfo "h to see the history, ctrl-r to resume previously closed"
+ einfo "Documentation https://github.com/Eisa01/mpv-scripts#simplehistory"
+}
diff --git a/mpv-plugin/SimpleHistory/metadata.xml b/mpv-plugin/SimpleHistory/metadata.xml
new file mode 100644
index 000000000000..62319d8fc0c0
--- /dev/null
+++ b/mpv-plugin/SimpleHistory/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="github">Eisa01/mpv-scripts</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/mpv-plugin/SimpleUndo/Manifest b/mpv-plugin/SimpleUndo/Manifest
new file mode 100644
index 000000000000..b3059aca9308
--- /dev/null
+++ b/mpv-plugin/SimpleUndo/Manifest
@@ -0,0 +1 @@
+DIST SimpleUndo-2023.09.25.tar.gz 5627075 BLAKE2B 6aa694b1ab815be886ba049b7f54a3b9c5f22ddea8adcd0f8ce9ba5465de9b3ec858b492eb85638854cbbaaba951cb5479b1124da55670fb68b3ecca14993848 SHA512 c99b5c3ee948b878fcb6fbed944e533b5789296dab98fc5f486a9bbbb212b0b02176258de548fb02ebd3bf2edf1b8b04138ed336ddb3c5c86cf7558c6d1ae606
diff --git a/mpv-plugin/SimpleUndo/SimpleUndo-2023.09.25.ebuild b/mpv-plugin/SimpleUndo/SimpleUndo-2023.09.25.ebuild
new file mode 100644
index 000000000000..d2637d987fd3
--- /dev/null
+++ b/mpv-plugin/SimpleUndo/SimpleUndo-2023.09.25.ebuild
@@ -0,0 +1,31 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_MPV="rdepend"
+MPV_REQ_USE="lua"
+inherit mpv-plugin
+
+DESCRIPTION="Ctrl-Z return to the previous seekbar position, Ctrl-Z again redo"
+HOMEPAGE="https://github.com/Eisa01/mpv-scripts#simpleundo"
+SRC_URI="https://github.com/Eisa01/mpv-scripts/archive/refs/tags/25-09-2023.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/mpv-scripts-25-09-2023"
+
+LICENSE="BSD-2"
+KEYWORDS="~amd64"
+
+MPV_PLUGIN_FILES=(
+ SimpleUndo.lua
+)
+
+src_prepare() {
+ mv scripts/SimpleUndo.lua .
+
+ default
+}
+
+pkg_postinst() {
+ mpv-plugin_pkg_postinst
+ einfo "Ctrl-Z to jump back (undo) and forth (redo)"
+}
diff --git a/mpv-plugin/SimpleUndo/metadata.xml b/mpv-plugin/SimpleUndo/metadata.xml
new file mode 100644
index 000000000000..62319d8fc0c0
--- /dev/null
+++ b/mpv-plugin/SimpleUndo/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="github">Eisa01/mpv-scripts</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/mpv-plugin/SmartCopyPaste/Manifest b/mpv-plugin/SmartCopyPaste/Manifest
new file mode 100644
index 000000000000..74b11eba7710
--- /dev/null
+++ b/mpv-plugin/SmartCopyPaste/Manifest
@@ -0,0 +1 @@
+DIST Eisa01-mpv-scripts-2.2.1.tar.gz 3479702 BLAKE2B e5445b427a751125e8aa1650df08006cc5dc4629f0ddeb7eeb0cd649c7d57176d013fa8199a0bb2bb88e9bf802431603fd21b9d9675fe860343d3fb9978fc83e SHA512 9c7115016b8a918c11ad8a22064991e69e3601fdd4f340d46b9153320b4e5af20334121cf4b5fb676b4bc9d8dd66c3a5ffb1b67c486d636a4eb255b61a443f9e
diff --git a/mpv-plugin/SmartCopyPaste/SmartCopyPaste-3.1.ebuild b/mpv-plugin/SmartCopyPaste/SmartCopyPaste-3.1.ebuild
new file mode 100644
index 000000000000..08b062d5cdc3
--- /dev/null
+++ b/mpv-plugin/SmartCopyPaste/SmartCopyPaste-3.1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_MPV="rdepend"
+MPV_REQ_USE="lua"
+inherit mpv-plugin
+
+MY_PN="mpv-scripts"
+
+DESCRIPTION="Gives mpv the capability to copy and paste while being smart and customizable"
+HOMEPAGE="https://github.com/Eisa01/mpv-scripts"
+SRC_URI="https://github.com/Eisa01/${MY_PN}/archive/refs/tags/2.2.1.tar.gz -> Eisa01-${MY_PN}-2.2.1.tar.gz"
+
+S="${WORKDIR}/${MY_PN}-2.2.1/scripts"
+
+LICENSE="BSD-2"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ || (
+ gui-apps/wl-clipboard
+ x11-misc/xclip
+ )
+"
+
+MPV_PLUGIN_FILES=( ${PN}.lua )
diff --git a/mpv-plugin/SmartCopyPaste/metadata.xml b/mpv-plugin/SmartCopyPaste/metadata.xml
new file mode 100644
index 000000000000..9b1b6be1a3ee
--- /dev/null
+++ b/mpv-plugin/SmartCopyPaste/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+ <maintainer type="person">
+ <email>smaniotto.nicola@gmail.com</email>
+ <name>Nicola Smaniotto</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">Eisa01/mpv-scripts</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/mpv-plugin/kde-do-not-disturb/Manifest b/mpv-plugin/kde-do-not-disturb/Manifest
new file mode 100644
index 000000000000..177f6388eb2a
--- /dev/null
+++ b/mpv-plugin/kde-do-not-disturb/Manifest
@@ -0,0 +1 @@
+DIST kde-do-not-disturb-20230110.tar.bz2 2166 BLAKE2B d7f0359dc3155311f380ee10affef132bf906bad2f5beb0e8fdc901cb3a0be2ea9b5ddaff738febc105bcc6504f257b0bde848c9ad0713c182c0fd18eb0a05e2 SHA512 0b9973ca8c20e1623c12db2b6f06ee3d386fcd6f5046e920d2e581c4e485cd98e48ec7b8f8771ad3027ac1038ce0988010788d2ded5286188da0321ed0146fa5
diff --git a/mpv-plugin/kde-do-not-disturb/kde-do-not-disturb-20230110.ebuild b/mpv-plugin/kde-do-not-disturb/kde-do-not-disturb-20230110.ebuild
new file mode 100644
index 000000000000..0166dbb502f0
--- /dev/null
+++ b/mpv-plugin/kde-do-not-disturb/kde-do-not-disturb-20230110.ebuild
@@ -0,0 +1,28 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MPV_REQ_USE="cplugins(+),libmpv"
+inherit mpv-plugin toolchain-funcs
+
+COMMIT="478b805b30d4aab41eeb4b2018ab1c8bb0c22c7d"
+MY_P="${PN}-${COMMIT}"
+DESCRIPTION="Disable the notifications while mpv is running"
+HOMEPAGE="https://gitlab.com/smaniottonicola/kde-do-not-disturb"
+SRC_URI="https://gitlab.com/smaniottonicola/${PN}/-/archive/${COMMIT}/${MY_P}.tar.bz2 -> ${P}.tar.bz2"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="Unlicense"
+KEYWORDS="~amd64"
+
+BDEPEND="
+ dev-qt/qtdbus:5
+ virtual/pkgconfig
+"
+
+MPV_PLUGIN_FILES=( ${PN}.so )
+
+src_compile() {
+ emake CXX="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
diff --git a/mpv-plugin/kde-do-not-disturb/metadata.xml b/mpv-plugin/kde-do-not-disturb/metadata.xml
new file mode 100644
index 000000000000..3167f47db97b
--- /dev/null
+++ b/mpv-plugin/kde-do-not-disturb/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>smaniotto.nicola@gmail.com</email>
+ <name>Nicola Smaniotto</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="gitlab">smaniottonicola/kde-do-not-disturb</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/mpv-plugin/kde-night-color/Manifest b/mpv-plugin/kde-night-color/Manifest
new file mode 100644
index 000000000000..ce3d819aca9b
--- /dev/null
+++ b/mpv-plugin/kde-night-color/Manifest
@@ -0,0 +1,2 @@
+DIST kde-night-color-20230110.tar.bz2 2155 BLAKE2B 351898790a3e382a904f73f53cc926b40fdbafd0968d8f80e1f7c28a25ed42c8378f6ec51abf907f2dff59ba9f4869da7b2cb9dc4cef457196e7fd2fd5f30263 SHA512 8ece42c28e224934d053c452fef4df0bdba381593f994028168798f31218670c15fffe39d50cdeddc6e9d50c15f281c20b1a05e1b199e7d4266a64c1cede5dde
+DIST kde-night-color-20240910.tar.bz2 2144 BLAKE2B c8fef4e46cbf535de6319a109d19310e9408714b35f9a6ae1a489c3be0e07b738420a182a08f123380a9c06f47cb1259040b4b1b978b291884bacc9743f10225 SHA512 8eba518ccd49f266fe16e6010f299ef56988092dadd42e7d494dfd2e1b4fce4b2ca8e9e6427889ca83a6491535f2d04f605e1663bc8814febe0bce4800e5b3f2
diff --git a/mpv-plugin/kde-night-color/kde-night-color-20230110.ebuild b/mpv-plugin/kde-night-color/kde-night-color-20230110.ebuild
new file mode 100644
index 000000000000..6d28939aeedb
--- /dev/null
+++ b/mpv-plugin/kde-night-color/kde-night-color-20230110.ebuild
@@ -0,0 +1,28 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MPV_REQ_USE="cplugins(+),libmpv"
+inherit mpv-plugin toolchain-funcs
+
+COMMIT="2fb6f013a21553861c6ce28d48e022eb361097b4"
+MY_P="${PN}-${COMMIT}"
+DESCRIPTION="Disable Night Color while mpv is running"
+HOMEPAGE="https://gitlab.com/smaniottonicola/kde-night-color"
+SRC_URI="https://gitlab.com/smaniottonicola/${PN}/-/archive/${COMMIT}/${MY_P}.tar.bz2 -> ${P}.tar.bz2"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="Unlicense"
+KEYWORDS="~amd64"
+
+BDEPEND="
+ dev-qt/qtdbus:5
+ virtual/pkgconfig
+"
+
+MPV_PLUGIN_FILES=( ${PN}.so )
+
+src_compile() {
+ emake CXX="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
diff --git a/mpv-plugin/kde-night-color/kde-night-color-20240910.ebuild b/mpv-plugin/kde-night-color/kde-night-color-20240910.ebuild
new file mode 100644
index 000000000000..46aec6050540
--- /dev/null
+++ b/mpv-plugin/kde-night-color/kde-night-color-20240910.ebuild
@@ -0,0 +1,28 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MPV_REQ_USE="cplugins(+),libmpv"
+inherit mpv-plugin toolchain-funcs
+
+COMMIT="287f8cf168e1ead4706f32c92b0c06aacc25e4fa"
+MY_P="${PN}-${COMMIT}"
+DESCRIPTION="Disable Night Color while mpv is running"
+HOMEPAGE="https://gitlab.com/smaniottonicola/kde-night-color"
+SRC_URI="https://gitlab.com/smaniottonicola/${PN}/-/archive/${COMMIT}/${MY_P}.tar.bz2 -> ${P}.tar.bz2"
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="Unlicense"
+KEYWORDS="~amd64"
+
+BDEPEND="
+ dev-qt/qtdbus:5
+ virtual/pkgconfig
+"
+
+MPV_PLUGIN_FILES=( ${PN}.so )
+
+src_compile() {
+ emake CXX="$(tc-getCXX)" PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
diff --git a/mpv-plugin/kde-night-color/metadata.xml b/mpv-plugin/kde-night-color/metadata.xml
new file mode 100644
index 000000000000..2841ac6264d8
--- /dev/null
+++ b/mpv-plugin/kde-night-color/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>smaniotto.nicola@gmail.com</email>
+ <name>Nicola Smaniotto</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="gitlab">smaniottonicola/kde-night-color</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/mpv-plugin/kdialog-open-files/Manifest b/mpv-plugin/kdialog-open-files/Manifest
new file mode 100644
index 000000000000..f092007fa837
--- /dev/null
+++ b/mpv-plugin/kdialog-open-files/Manifest
@@ -0,0 +1 @@
+DIST kdialog-open-files-20221015.tar.gz 1762 BLAKE2B a6c512d7bb2f9c15213a02a754074e7ee1546cff45ab16a4a004d8f9d3247684122b7206cb48e62f63f2d906e1e44a78371500a49e2f077157c6982dddaf329c SHA512 36c478df6d1893fed3f5f1fbf8d9c9b1b1569cd19f02a9eece57b2c5877ab928a3b4bbe2b88047eb772ba5f2f6413f3d2d8005b950403f34c1f8494a1d7dfd2b
diff --git a/mpv-plugin/kdialog-open-files/kdialog-open-files-20221015.ebuild b/mpv-plugin/kdialog-open-files/kdialog-open-files-20221015.ebuild
new file mode 100644
index 000000000000..456cebbac187
--- /dev/null
+++ b/mpv-plugin/kdialog-open-files/kdialog-open-files-20221015.ebuild
@@ -0,0 +1,28 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_MPV="rdepend"
+MPV_REQ_USE="lua"
+inherit mpv-plugin
+
+HASH="d1d846abd7d25e4e83a78d22ee067a22"
+COMMIT="b23b20e830bba024836f8b09412000658edee95c"
+MY_P="${PN}-${COMMIT}"
+
+DESCRIPTION="Use KDialog to add files to playlist, subtitles to playing video or open URLs"
+HOMEPAGE="https://gist.github.com/ntasos/d1d846abd7d25e4e83a78d22ee067a22"
+SRC_URI="https://gist.github.com/ntasos/${HASH}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+
+S="${WORKDIR}/${HASH}-${COMMIT}"
+
+LICENSE="Unlicense"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ kde-apps/kdialog
+ x11-misc/xdotool
+"
+
+MPV_PLUGIN_FILES=( ${PN}.lua )
diff --git a/mpv-plugin/kdialog-open-files/metadata.xml b/mpv-plugin/kdialog-open-files/metadata.xml
new file mode 100644
index 000000000000..be3f1030ef1c
--- /dev/null
+++ b/mpv-plugin/kdialog-open-files/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+ <maintainer type="person">
+ <email>smaniotto.nicola@gmail.com</email>
+ <name>Nicola Smaniotto</name>
+ </maintainer>
+</pkgmetadata>
diff --git a/mpv-plugin/mdmenu/Manifest b/mpv-plugin/mdmenu/Manifest
new file mode 100644
index 000000000000..0b15f2d181d5
--- /dev/null
+++ b/mpv-plugin/mdmenu/Manifest
@@ -0,0 +1 @@
+DIST mdmenu-20260218.tar.gz 22711 BLAKE2B fae9aa923cd2005c666d720ee98f8665315f14c97c635f3ee56906a06e912d4ec6880f207abf69f0ba9374507daa3ec15dd8a3e13653f13fffc660694fd6a896 SHA512 3b0f3bde7cf5e50b0c5adb2bc34f2050798fe6c46427f55fcebd0de4a3456d8d68f18eb5155c4c282dee1ebd284b2537455a21d6df533922f4998bfbb87b45d1
diff --git a/mpv-plugin/mdmenu/mdmenu-20260218.ebuild b/mpv-plugin/mdmenu/mdmenu-20260218.ebuild
new file mode 100644
index 000000000000..cccf16bc09cb
--- /dev/null
+++ b/mpv-plugin/mdmenu/mdmenu-20260218.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2024-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit mpv-plugin
+
+DESCRIPTION="dmenu based selection menu for chapters, tracks, playlist etc"
+HOMEPAGE="https://codeberg.org/NRK/mpv-toolbox"
+
+SRC_URI="https://codeberg.org/NRK/mpv-toolbox/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/mpv-toolbox/${PN}"
+
+LICENSE="GPL-3+"
+KEYWORDS="~amd64"
+IUSE="custom-cmd"
+
+RDEPEND="
+ >=media-video/mpv-0.36.0[lua]
+ !custom-cmd? ( x11-misc/dmenu )
+"
+
+MPV_PLUGIN_FILES=( mdmenu.lua )
+DOCS=( mdmenu.conf README.md )
+
+pkg_postinst() {
+ mpv-plugin_pkg_postinst
+
+ einfo "mdmenu does not set any keybindings by default."
+ einfo "Customize ~~/input.conf according to the documentation "
+ einfo "in order to set custom bindings."
+
+ if use custom-cmd ; then
+ ewarn "mdmenu has been installed without dmenu."
+ ewarn "You will need to set \`cmd\` in ~~/script-opts/mdmenu.conf "
+ ewarn "to a dmenu-compatible application for mdmenu to work."
+ ewarn "Please refer to the documentation for more info."
+ fi
+}
diff --git a/mpv-plugin/mdmenu/metadata.xml b/mpv-plugin/mdmenu/metadata.xml
new file mode 100644
index 000000000000..1ed7a22b2ba1
--- /dev/null
+++ b/mpv-plugin/mdmenu/metadata.xml
@@ -0,0 +1,18 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>nrk@disroot.org</email>
+ <name>NRK</name>
+ </maintainer>
+ <use>
+ <flag name="custom-cmd">
+ Do not install dmenu as a dependency.
+ This requires you to configure a custom dmenu-compatible
+ command in the configuration.
+ </flag>
+ </use>
+ <upstream>
+ <remote-id type="codeberg">NRK/mpv-toolbox</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/mpv-plugin/mfpbar/Manifest b/mpv-plugin/mfpbar/Manifest
new file mode 100644
index 000000000000..8925d0c3c851
--- /dev/null
+++ b/mpv-plugin/mfpbar/Manifest
@@ -0,0 +1 @@
+DIST mfpbar-20260218.tar.gz 22711 BLAKE2B fae9aa923cd2005c666d720ee98f8665315f14c97c635f3ee56906a06e912d4ec6880f207abf69f0ba9374507daa3ec15dd8a3e13653f13fffc660694fd6a896 SHA512 3b0f3bde7cf5e50b0c5adb2bc34f2050798fe6c46427f55fcebd0de4a3456d8d68f18eb5155c4c282dee1ebd284b2537455a21d6df533922f4998bfbb87b45d1
diff --git a/mpv-plugin/mfpbar/metadata.xml b/mpv-plugin/mfpbar/metadata.xml
new file mode 100644
index 000000000000..5d95ab1e33ff
--- /dev/null
+++ b/mpv-plugin/mfpbar/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>nrk@disroot.org</email>
+ <name>NRK</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="codeberg">NRK/mpv-toolbox</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/mpv-plugin/mfpbar/mfpbar-20260218.ebuild b/mpv-plugin/mfpbar/mfpbar-20260218.ebuild
new file mode 100644
index 000000000000..c33bc410bf3a
--- /dev/null
+++ b/mpv-plugin/mfpbar/mfpbar-20260218.ebuild
@@ -0,0 +1,29 @@
+# Copyright 2024-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit mpv-plugin optfeature
+
+RDEPEND=">=media-video/mpv-0.33.0[lua]"
+
+DESCRIPTION="A minimalistic progressbar and osc replacement"
+HOMEPAGE="https://codeberg.org/NRK/mpv-toolbox"
+
+SRC_URI="https://codeberg.org/NRK/mpv-toolbox/archive/${PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/mpv-toolbox/${PN}"
+
+LICENSE="GPL-3+"
+KEYWORDS="~amd64"
+
+MPV_PLUGIN_FILES=( mfpbar.lua )
+DOCS=( mfpbar.conf README.md )
+
+pkg_postinst() {
+ mpv-plugin_pkg_postinst
+
+ einfo "mfpbar requires disabling the default osc."
+ einfo "put 'osc=no' in your 'mpv.conf' in order to do so."
+
+ optfeature "thumbnail support" mpv-plugin/thumbfast
+}
diff --git a/mpv-plugin/mpv-autosub/Manifest b/mpv-plugin/mpv-autosub/Manifest
new file mode 100644
index 000000000000..b846c710c1bc
--- /dev/null
+++ b/mpv-plugin/mpv-autosub/Manifest
@@ -0,0 +1 @@
+DIST mpv-autosub-20210629.tar.gz 5080 BLAKE2B cfedb100e9d95626b85b6e60579512121130ef0443e5d00bef86418779a37dfaac2c964083e4395017e46ca2199b8b769e794ed96f30342be9c7c4b04a122b18 SHA512 ae3da7ed624a40acef543aaa38b2220e71db1608eac965f38aeec17d552e86dda6f7b13b8018b0383ecced0acc26f3cea44efa4e750728310b9f27638f2d7045
diff --git a/mpv-plugin/mpv-autosub/metadata.xml b/mpv-plugin/mpv-autosub/metadata.xml
new file mode 100644
index 000000000000..7ce82e5ab70a
--- /dev/null
+++ b/mpv-plugin/mpv-autosub/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>smaniotto.nicola@gmail.com</email>
+ <name>Nicola Smaniotto</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">davidde/mpv-autosub</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/mpv-plugin/mpv-autosub/mpv-autosub-20210629.ebuild b/mpv-plugin/mpv-autosub/mpv-autosub-20210629.ebuild
new file mode 100644
index 000000000000..fea3ec9ee05d
--- /dev/null
+++ b/mpv-plugin/mpv-autosub/mpv-autosub-20210629.ebuild
@@ -0,0 +1,26 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_MPV="rdepend"
+MPV_REQ_USE="lua"
+inherit mpv-plugin
+
+COMMIT="35115355bd339681f97d067538356c29e5b14afa"
+MY_P="${PN}-${COMMIT}"
+
+DESCRIPTION="Fully automatic subtitle downloading for the MPV media player"
+HOMEPAGE="https://github.com/davidde/mpv-autosub"
+SRC_URI="https://github.com/davidde/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="MIT"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ media-video/subliminal
+"
+
+MPV_PLUGIN_FILES=( autosub.lua )
diff --git a/mpv-plugin/mpv-kscreen-doctor/Manifest b/mpv-plugin/mpv-kscreen-doctor/Manifest
new file mode 100644
index 000000000000..1ee1ef9f876e
--- /dev/null
+++ b/mpv-plugin/mpv-kscreen-doctor/Manifest
@@ -0,0 +1,2 @@
+DIST mpv-kscreen-doctor-0.2.1.tar.bz2 3431 BLAKE2B 156807b5d3a405035a130ed543a8165f5f7a7a4c483e77feca6547b42c32e7fa996ca950a23ec1047b597c48550a6dc4fc2d28d296edd426323d4f7f81797a9d SHA512 f78e299e04201b5974c987586325715e3bb4b945a0825c5514107f737fa05d92ada39ac5bd06bc68f1d732e1dbc1d6ec0310143bae52cb01d7f3eb253e3ebd5b
+DIST mpv-kscreen-doctor-0.2.2.tar.bz2 3578 BLAKE2B 0ca60ca2a2286eda3c062e6713aa323bdc3dace6bd1764166e1c62e3a94c78803212c5939a12b7229268319492a1a714008dc2c433197c4c9afe4021a5a1bffd SHA512 dd890bf5d9521dbf55702a5a7e8e176dc8f95ad826b2bc370b03150b8276c80e2e9ac7b32a6b5f4199a0addba74a1fa4c7af3f7be20cb4f8e1fd95b376cb3472
diff --git a/mpv-plugin/mpv-kscreen-doctor/metadata.xml b/mpv-plugin/mpv-kscreen-doctor/metadata.xml
new file mode 100644
index 000000000000..29f781da308f
--- /dev/null
+++ b/mpv-plugin/mpv-kscreen-doctor/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+ <maintainer type="person">
+ <email>smaniotto.nicola@gmail.com</email>
+ <name>Nicola Smaniotto</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="gitlab">smaniottonicola/mpv-kscreen-doctor</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/mpv-plugin/mpv-kscreen-doctor/mpv-kscreen-doctor-0.2.1.ebuild b/mpv-plugin/mpv-kscreen-doctor/mpv-kscreen-doctor-0.2.1.ebuild
new file mode 100644
index 000000000000..9fb41155c412
--- /dev/null
+++ b/mpv-plugin/mpv-kscreen-doctor/mpv-kscreen-doctor-0.2.1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_MPV="rdepend"
+MPV_REQ_USE="lua"
+inherit mpv-plugin
+
+DESCRIPTION="Set the display refresh rate that best approximates the content fps"
+HOMEPAGE="https://gitlab.com/smaniottonicola/mpv-kscreen-doctor"
+SRC_URI="https://gitlab.com/smaniottonicola/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2 -> ${P}.tar.bz2"
+
+S="${WORKDIR}/${PN}-v${PV}"
+
+LICENSE="Unlicense"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+ kde-plasma/libkscreen
+"
+RDEPEND="${DEPEND}"
+
+MPV_PLUGIN_FILES=( ${PN}.lua )
diff --git a/mpv-plugin/mpv-kscreen-doctor/mpv-kscreen-doctor-0.2.2.ebuild b/mpv-plugin/mpv-kscreen-doctor/mpv-kscreen-doctor-0.2.2.ebuild
new file mode 100644
index 000000000000..9fb41155c412
--- /dev/null
+++ b/mpv-plugin/mpv-kscreen-doctor/mpv-kscreen-doctor-0.2.2.ebuild
@@ -0,0 +1,25 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_MPV="rdepend"
+MPV_REQ_USE="lua"
+inherit mpv-plugin
+
+DESCRIPTION="Set the display refresh rate that best approximates the content fps"
+HOMEPAGE="https://gitlab.com/smaniottonicola/mpv-kscreen-doctor"
+SRC_URI="https://gitlab.com/smaniottonicola/${PN}/-/archive/v${PV}/${PN}-v${PV}.tar.bz2 -> ${P}.tar.bz2"
+
+S="${WORKDIR}/${PN}-v${PV}"
+
+LICENSE="Unlicense"
+SLOT="0"
+KEYWORDS="~amd64"
+
+DEPEND="
+ kde-plasma/libkscreen
+"
+RDEPEND="${DEPEND}"
+
+MPV_PLUGIN_FILES=( ${PN}.lua )
diff --git a/mpv-plugin/mpv-mpris/Manifest b/mpv-plugin/mpv-mpris/Manifest
new file mode 100644
index 000000000000..0f4e37863bf4
--- /dev/null
+++ b/mpv-plugin/mpv-mpris/Manifest
@@ -0,0 +1,2 @@
+DIST mpv-mpris-1.1.tar.gz 14511 BLAKE2B 17ad84088077748d1604aec0c6777b0edde6cddfe6dc6218f0e41f84547acbcf08b9b92f622345d27754e1300bbada250af0ecf3140885f163df41f99b3c43b5 SHA512 81622e5e34a8ebde735c39a1615569c833d6cf53c70b4f77794788fd8b19982cc33a71ff5768027826dafc608fa72a089e38c0925a907fa249f5c527d17f9541
+DIST mpv-mpris-1.2.tar.gz 15181 BLAKE2B 8e36f0e80b57ddd821463a42c19b4740566351ed2eeeb85917181d38dbb930654083298349a312e1ff4321d9ae34daac0f85779ef82d5e6fe13d4a2f058230b8 SHA512 251348a14b4efbfd3eb8a482bcabb2a53a9ee4d33b89f6066efcfc60b6c8bcad6d953b10977d9cfbd23e28621f9117b436002b74ffa33deaec5ea224d9ce6753
diff --git a/mpv-plugin/mpv-mpris/metadata.xml b/mpv-plugin/mpv-mpris/metadata.xml
new file mode 100644
index 000000000000..31090d0eac4b
--- /dev/null
+++ b/mpv-plugin/mpv-mpris/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>o.freyermuth@googlemail.com</email>
+ <name>Oliver Freyermuth</name>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://github.com/hoyon/mpv-mpris/issues</bugs-to>
+ <remote-id type="github">hoyon/mpv-mpris</remote-id>
+ </upstream>
+ <use>
+ <flag name="autoload">Load plugin automatically</flag>
+ </use>
+</pkgmetadata>
diff --git a/mpv-plugin/mpv-mpris/mpv-mpris-1.1.ebuild b/mpv-plugin/mpv-mpris/mpv-mpris-1.1.ebuild
new file mode 100644
index 000000000000..3b76d1b4bcec
--- /dev/null
+++ b/mpv-plugin/mpv-mpris/mpv-mpris-1.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MPV_REQ_USE="cplugins(+),libmpv"
+inherit mpv-plugin toolchain-funcs
+
+DESCRIPTION="MPRIS plugin for mpv"
+HOMEPAGE="https://github.com/hoyon/mpv-mpris"
+
+if [[ ${PV} == *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/hoyon/${PN}.git"
+else
+ SRC_URI="https://github.com/hoyon/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="MIT"
+IUSE="test"
+
+RDEPEND="
+ dev-libs/glib:2
+ media-video/ffmpeg:=
+"
+DEPEND="${RDEPEND}"
+# temporary dep for tests on media-video/mpv due to https://github.com/mpv-player/mpv/pull/11468
+BDEPEND="
+ virtual/pkgconfig
+ test? (
+ app-misc/jq
+ app-text/jo
+ media-sound/playerctl
+ || (
+ media-video/mpv[lua]
+ media-video/mpv[javascript]
+ >=media-video/mpv-0.36
+ )
+ net-misc/socat
+ sys-apps/dbus
+ x11-apps/xauth
+ x11-misc/xvfb-run
+ x11-themes/sound-theme-freedesktop
+ )
+"
+
+MPV_PLUGIN_FILES=( mpris.so )
+
+RESTRICT="!test? ( test )"
+
+src_compile() {
+ tc-export CC
+ emake PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
+
+src_test() {
+ emake test
+}
diff --git a/mpv-plugin/mpv-mpris/mpv-mpris-1.2.ebuild b/mpv-plugin/mpv-mpris/mpv-mpris-1.2.ebuild
new file mode 100644
index 000000000000..3b76d1b4bcec
--- /dev/null
+++ b/mpv-plugin/mpv-mpris/mpv-mpris-1.2.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MPV_REQ_USE="cplugins(+),libmpv"
+inherit mpv-plugin toolchain-funcs
+
+DESCRIPTION="MPRIS plugin for mpv"
+HOMEPAGE="https://github.com/hoyon/mpv-mpris"
+
+if [[ ${PV} == *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/hoyon/${PN}.git"
+else
+ SRC_URI="https://github.com/hoyon/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="MIT"
+IUSE="test"
+
+RDEPEND="
+ dev-libs/glib:2
+ media-video/ffmpeg:=
+"
+DEPEND="${RDEPEND}"
+# temporary dep for tests on media-video/mpv due to https://github.com/mpv-player/mpv/pull/11468
+BDEPEND="
+ virtual/pkgconfig
+ test? (
+ app-misc/jq
+ app-text/jo
+ media-sound/playerctl
+ || (
+ media-video/mpv[lua]
+ media-video/mpv[javascript]
+ >=media-video/mpv-0.36
+ )
+ net-misc/socat
+ sys-apps/dbus
+ x11-apps/xauth
+ x11-misc/xvfb-run
+ x11-themes/sound-theme-freedesktop
+ )
+"
+
+MPV_PLUGIN_FILES=( mpris.so )
+
+RESTRICT="!test? ( test )"
+
+src_compile() {
+ tc-export CC
+ emake PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
+
+src_test() {
+ emake test
+}
diff --git a/mpv-plugin/mpv-mpris/mpv-mpris-9999.ebuild b/mpv-plugin/mpv-mpris/mpv-mpris-9999.ebuild
new file mode 100644
index 000000000000..3b76d1b4bcec
--- /dev/null
+++ b/mpv-plugin/mpv-mpris/mpv-mpris-9999.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MPV_REQ_USE="cplugins(+),libmpv"
+inherit mpv-plugin toolchain-funcs
+
+DESCRIPTION="MPRIS plugin for mpv"
+HOMEPAGE="https://github.com/hoyon/mpv-mpris"
+
+if [[ ${PV} == *9999* ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/hoyon/${PN}.git"
+else
+ SRC_URI="https://github.com/hoyon/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="MIT"
+IUSE="test"
+
+RDEPEND="
+ dev-libs/glib:2
+ media-video/ffmpeg:=
+"
+DEPEND="${RDEPEND}"
+# temporary dep for tests on media-video/mpv due to https://github.com/mpv-player/mpv/pull/11468
+BDEPEND="
+ virtual/pkgconfig
+ test? (
+ app-misc/jq
+ app-text/jo
+ media-sound/playerctl
+ || (
+ media-video/mpv[lua]
+ media-video/mpv[javascript]
+ >=media-video/mpv-0.36
+ )
+ net-misc/socat
+ sys-apps/dbus
+ x11-apps/xauth
+ x11-misc/xvfb-run
+ x11-themes/sound-theme-freedesktop
+ )
+"
+
+MPV_PLUGIN_FILES=( mpris.so )
+
+RESTRICT="!test? ( test )"
+
+src_compile() {
+ tc-export CC
+ emake PKG_CONFIG="$(tc-getPKG_CONFIG)"
+}
+
+src_test() {
+ emake test
+}
diff --git a/mpv-plugin/mpv-plugin-xrandr/Manifest b/mpv-plugin/mpv-plugin-xrandr/Manifest
new file mode 100644
index 000000000000..383005086dc1
--- /dev/null
+++ b/mpv-plugin/mpv-plugin-xrandr/Manifest
@@ -0,0 +1 @@
+DIST mpv-plugin-xrandr-2023.06.19.tar.bz2 11174 BLAKE2B f7d072e26f8f109b78836e3304a51c07ab1d30369274854d4f2bdca83a50cb55c75419ec4edd8bf5ce0f622808510584bed64a3e2c86536992cd90ceb49a20a9 SHA512 d32be9114e872afb643bc1649f75dda72af52b46b10b2c44e94ec36fcaa8172664c92b8a4f7499cb34c8fe9d7f318ea4765370df3d6731d2778aa3dcf5249ead
diff --git a/mpv-plugin/mpv-plugin-xrandr/metadata.xml b/mpv-plugin/mpv-plugin-xrandr/metadata.xml
new file mode 100644
index 000000000000..e9322ab1e9ec
--- /dev/null
+++ b/mpv-plugin/mpv-plugin-xrandr/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+ <maintainer type="person">
+ <email>smaniotto.nicola@gmail.com</email>
+ <name>Nicola Smaniotto</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="gitlab">lvml/mpv-plugin-xrandr</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/mpv-plugin/mpv-plugin-xrandr/mpv-plugin-xrandr-2023.06.19.ebuild b/mpv-plugin/mpv-plugin-xrandr/mpv-plugin-xrandr-2023.06.19.ebuild
new file mode 100644
index 000000000000..c82527591db0
--- /dev/null
+++ b/mpv-plugin/mpv-plugin-xrandr/mpv-plugin-xrandr-2023.06.19.ebuild
@@ -0,0 +1,25 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_MPV="rdepend"
+MPV_REQ_USE="lua"
+inherit mpv-plugin
+
+MY_PV="r${PV//./_}"
+
+DESCRIPTION="Automatically invoke the xrandr to set the parameters for the display output"
+HOMEPAGE="https://gitlab.com/lvml/mpv-plugin-xrandr"
+SRC_URI="https://gitlab.com/lvml/mpv-plugin-xrandr/-/archive/tags/${MY_PV}/mpv-plugin-xrandr-tags-${MY_PV}.tar.bz2 -> ${P}.tar.bz2"
+
+S="${WORKDIR}/${PN}-tags-${MY_PV}"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ x11-apps/xrandr
+"
+
+MPV_PLUGIN_FILES=( xrandr.lua )
diff --git a/mpv-plugin/mpv-youtube-upnext/Manifest b/mpv-plugin/mpv-youtube-upnext/Manifest
new file mode 100644
index 000000000000..def1cc3a924a
--- /dev/null
+++ b/mpv-plugin/mpv-youtube-upnext/Manifest
@@ -0,0 +1 @@
+DIST mpv-youtube-upnext-20240513.tar.gz 557384 BLAKE2B f9079226bcd447c7b30566973a6c46f9f17cd4c2659d9f4cb5dd16de4db155388dacaa586d3b8baf1e21fa906d899cea1e23bf787bd87c81acc7d4487a68d00e SHA512 030a21d3f2717a01c029e4240e1cda2501ec3faf9e70ea80ea7bd078856def85b6ed3806d1c88307c7373b66f017140e3ce08a42f8341f30062cd03393ccb72e
diff --git a/mpv-plugin/mpv-youtube-upnext/metadata.xml b/mpv-plugin/mpv-youtube-upnext/metadata.xml
new file mode 100644
index 000000000000..e00b58bba9ae
--- /dev/null
+++ b/mpv-plugin/mpv-youtube-upnext/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>smaniotto.nicola@gmail.com</email>
+ <name>Nicola Smaniotto</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">cvzi/mpv-youtube-upnext</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/mpv-plugin/mpv-youtube-upnext/mpv-youtube-upnext-20240513.ebuild b/mpv-plugin/mpv-youtube-upnext/mpv-youtube-upnext-20240513.ebuild
new file mode 100644
index 000000000000..e3215512803b
--- /dev/null
+++ b/mpv-plugin/mpv-youtube-upnext/mpv-youtube-upnext-20240513.ebuild
@@ -0,0 +1,22 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_MPV="rdepend"
+MPV_REQ_USE="lua"
+inherit mpv-plugin
+
+COMMIT="6c0428285c44edbe3809eda8335ef4789da1bf19"
+MY_P="${PN}-${COMMIT}"
+
+DESCRIPTION="A userscript that allows you to play \"up next\"/recommended youtube videos"
+HOMEPAGE="https://github.com/cvzi/mpv-youtube-upnext"
+SRC_URI="https://github.com/cvzi/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+
+S="${WORKDIR}/${MY_P}"
+
+LICENSE="MIT"
+KEYWORDS="~amd64"
+
+MPV_PLUGIN_FILES=( youtube-upnext.lua )
diff --git a/mpv-plugin/mpv_sponsorblock/Manifest b/mpv-plugin/mpv_sponsorblock/Manifest
new file mode 100644
index 000000000000..1ec08d7c252a
--- /dev/null
+++ b/mpv-plugin/mpv_sponsorblock/Manifest
@@ -0,0 +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/files/mpv_sponsorblock-20230130-pr73-file-locations.patch b/mpv-plugin/mpv_sponsorblock/files/mpv_sponsorblock-20230130-pr73-file-locations.patch
new file mode 100644
index 000000000000..71a3d61f5548
--- /dev/null
+++ b/mpv-plugin/mpv_sponsorblock/files/mpv_sponsorblock-20230130-pr73-file-locations.patch
@@ -0,0 +1,72 @@
+From 60f4c8f517445fd2e2ab11677bfad992132686df Mon Sep 17 00:00:00 2001
+From: nicoo <nicoo@mur.at>
+Date: Wed, 1 May 2024 13:17:52 +0000
+Subject: [PATCH 1/2] Rely on mpv to know where to store application data &
+ cache
+
+This is the most platform-independent way, and fixes things
+for users who have a global scripts directory. (see #66)
+
+Closes #17
+---
+ sponsorblock.lua | 13 +++++++++----
+ 1 file changed, 9 insertions(+), 4 deletions(-)
+
+diff --git a/sponsorblock.lua b/sponsorblock.lua
+index 96bfb24..91b2c31 100644
+--- a/sponsorblock.lua
++++ b/sponsorblock.lua
+@@ -92,11 +92,16 @@ end
+ options.local_database = false
+
+ local utils = require "mp.utils"
+-scripts_dir = mp.find_config_file("scripts")
++local function expand_path(path)
++ return mp.command_native({"expand-path", path})
++end
++
++local sponsorblock = mp.find_config_file("scripts/sponsorblock_shared/sponsorblock.py")
++local uid_path = expand_path("~~state/sponsorblock.txt")
++local database_file = options.local_database and expand_path("~~cache/sponsorblock.db") or ""
++mp.msg.debug("uid_path: " .. uid_path)
++mp.msg.debug("database_file: " .. database_file)
+
+-local sponsorblock = utils.join_path(scripts_dir, "sponsorblock_shared/sponsorblock.py")
+-local uid_path = utils.join_path(scripts_dir, "sponsorblock_shared/sponsorblock.txt")
+-local database_file = options.local_database and utils.join_path(scripts_dir, "sponsorblock_shared/sponsorblock.db") or ""
+ local youtube_id = nil
+ local ranges = {}
+ local init = false
+
+From cce913bf3887c2b4a1bd862c6204b13640d5df96 Mon Sep 17 00:00:00 2001
+From: nicoo <nicoo@mur.at>
+Date: Wed, 1 May 2024 13:25:09 +0000
+Subject: [PATCH 2/2] Automatically migrate files to new locations
+
+---
+ sponsorblock.lua | 12 ++++++++++++
+ 1 file changed, 12 insertions(+)
+
+diff --git a/sponsorblock.lua b/sponsorblock.lua
+index 91b2c31..4ac5f54 100644
+--- a/sponsorblock.lua
++++ b/sponsorblock.lua
+@@ -562,6 +562,18 @@ function submit_segment(category)
+ end
+ end
+
++-- Automatically migrate files if needed
++for new, old in pairs({
++ [uid_path] = expand_path("~~/scripts/sponsorblock_shared/sponsorblock.txt"),
++ [database_file] = expand_path("~~/scripts/sponsorblock_shared/sponsorblock.db"),
++}) do
++ mp.msg.debug(old .. " → " .. new)
++ if file_exists(old) and not file_exists(new) and new ~= "" then
++ mg.msg.info("Migrating " .. old)
++ os.rename(old, new)
++ end
++end
++
+ mp.register_event("file-loaded", file_loaded)
+ mp.add_key_binding("g", "set_segment", set_segment)
+ mp.add_key_binding("G", "submit_segment", submit_segment)
diff --git a/mpv-plugin/mpv_sponsorblock/metadata.xml b/mpv-plugin/mpv_sponsorblock/metadata.xml
new file mode 100644
index 000000000000..d4917c85d8e5
--- /dev/null
+++ b/mpv-plugin/mpv_sponsorblock/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>smaniotto.nicola@gmail.com</email>
+ <name>Nicola Smaniotto</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">po5/mpv_sponsorblock</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20211223.ebuild b/mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20211223.ebuild
new file mode 100644
index 000000000000..f4164f6622e5
--- /dev/null
+++ b/mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20211223.ebuild
@@ -0,0 +1,46 @@
+# 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_{13..14} )
+inherit mpv-plugin python-single-r1
+
+COMMIT="6743bd47d4cfce3ae3d5dd4f587f3193bd4fb9b2"
+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
+}
+
+pkg_postinst() {
+ # will make use of the correct user folders
+ # ref: https://github.com/po5/mpv_sponsorblock/pull/17
+ ewarn "This version of the plugin is not meant to be installed for"
+ ewarn 'the whole system. It is advised to add "local_database = no"'
+ ewarn "in script-opts/sponsorblock.conf to avoid trying to write"
+ ewarn "inside root-owned directories."
+}
diff --git a/mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20220924.ebuild b/mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20220924.ebuild
new file mode 100644
index 000000000000..59d269abfee3
--- /dev/null
+++ b/mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20220924.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_{13..14} )
+inherit mpv-plugin python-single-r1
+
+COMMIT="248d108c1280e05de551c42867aebb72cf0c83b9"
+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
+}
diff --git a/mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20230130-r1.ebuild b/mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20230130-r1.ebuild
new file mode 100644
index 000000000000..828c22349f05
--- /dev/null
+++ b/mpv-plugin/mpv_sponsorblock/mpv_sponsorblock-20230130-r1.ebuild
@@ -0,0 +1,43 @@
+# 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_{13..14} )
+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
+)
+
+PATCHES=(
+ # https://github.com/po5/mpv_sponsorblock/pull/73
+ # fixes permission errors due to mpv_sponsorblock attempting to write to /etc
+ "${FILESDIR}/${P}-pr73-file-locations.patch"
+)
+
+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
+}
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 000000000000..75ba8fb85ea6
--- /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_{13..14} )
+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
+}
diff --git a/mpv-plugin/mpv_sponsorblock_minimal/Manifest b/mpv-plugin/mpv_sponsorblock_minimal/Manifest
new file mode 100644
index 000000000000..4057c81c1e90
--- /dev/null
+++ b/mpv-plugin/mpv_sponsorblock_minimal/Manifest
@@ -0,0 +1,2 @@
+DIST mpv_sponsorblock_minimal-2023.08.20.tar.gz 14419 BLAKE2B bb055273d1dc6f1aaeb6cc4a77f1686dc4f98930b59eeb185c379f0e9da172f960d194cc7b26fe914fd54b0fcafc6600eda5f4690561e5ba669a3243c8abf6a3 SHA512 f790ae06e26bd78b686790245d2aa135af2f0f71e11a800ad916e6ba9cc863f4be9ec7829945ac9dfe1349c51ac9f2bcba5fd4c4c3c7b08660ecce1289c7ec21
+DIST mpv_sponsorblock_minimal-2026.02.09.tar.gz 14973 BLAKE2B b1a5ea51363f760ebcb0f385422db92875443dcb25c473f8904e3ea227adea85bafc7552cfe17cfb7f7e77e69c5a99b0030690d601f4edfa92020b49fb84c5ed SHA512 136ff65317d0d6ebaa6d98fca9960ff144ab4bc6dbaec86ecc850619362eeafc9b9cb8065e4d9f89ccf8091f348ecb50317d1253950a01bb1d869075a700333a
diff --git a/mpv-plugin/mpv_sponsorblock_minimal/metadata.xml b/mpv-plugin/mpv_sponsorblock_minimal/metadata.xml
new file mode 100644
index 000000000000..d65256fb6398
--- /dev/null
+++ b/mpv-plugin/mpv_sponsorblock_minimal/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>nrk@disroot.org</email>
+ <name>NRK</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="codeberg">jouni/mpv_sponsorblock_minimal</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/mpv-plugin/mpv_sponsorblock_minimal/mpv_sponsorblock_minimal-2023.08.20.ebuild b/mpv-plugin/mpv_sponsorblock_minimal/mpv_sponsorblock_minimal-2023.08.20.ebuild
new file mode 100644
index 000000000000..6b212d120267
--- /dev/null
+++ b/mpv-plugin/mpv_sponsorblock_minimal/mpv_sponsorblock_minimal-2023.08.20.ebuild
@@ -0,0 +1,22 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_MPV="rdepend"
+MPV_REQ_USE="lua"
+inherit mpv-plugin
+
+COMMIT="ca2844b8cf7674bfccd282d389a50427742251d3"
+DESCRIPTION="A minimal script to skip sponsored segments of YouTube videos"
+HOMEPAGE="https://codeberg.org/jouni/mpv_sponsorblock_minimal"
+SRC_URI="https://codeberg.org/jouni/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}"
+
+LICENSE="GPL-3"
+KEYWORDS="~amd64"
+
+RDEPEND="net-misc/curl"
+
+MPV_PLUGIN_FILES=( sponsorblock_minimal.lua )
+DOCS=( README )
diff --git a/mpv-plugin/mpv_sponsorblock_minimal/mpv_sponsorblock_minimal-2026.02.09.ebuild b/mpv-plugin/mpv_sponsorblock_minimal/mpv_sponsorblock_minimal-2026.02.09.ebuild
new file mode 100644
index 000000000000..40b81ca91859
--- /dev/null
+++ b/mpv-plugin/mpv_sponsorblock_minimal/mpv_sponsorblock_minimal-2026.02.09.ebuild
@@ -0,0 +1,22 @@
+# Copyright 2022-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_MPV="rdepend"
+MPV_REQ_USE="lua"
+inherit mpv-plugin
+
+COMMIT="8f4b186d6ea46e6fe0e5e94a53dda2f50dceb576"
+DESCRIPTION="A minimal script to skip sponsored segments of YouTube videos"
+HOMEPAGE="https://codeberg.org/jouni/mpv_sponsorblock_minimal"
+SRC_URI="https://codeberg.org/jouni/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}"
+
+LICENSE="GPL-3"
+KEYWORDS="~amd64"
+
+RDEPEND="net-misc/curl"
+
+MPV_PLUGIN_FILES=( sponsorblock_minimal.lua )
+DOCS=( README.md )
diff --git a/mpv-plugin/mpv_thumbnail_script/Manifest b/mpv-plugin/mpv_thumbnail_script/Manifest
new file mode 100644
index 000000000000..e536750e5b10
--- /dev/null
+++ b/mpv-plugin/mpv_thumbnail_script/Manifest
@@ -0,0 +1,3 @@
+DIST mpv_thumbnail_script-0.5.2.tar.gz 2585900 BLAKE2B f0b2afe1f1cba942ddb469ae66f32f1d444679302f47b13742feb924bbe3de331c74bb60530079580a8802258109d9d17e6ebe1581910c8083e2897370961274 SHA512 d151c6e5aa0ad276a0a5451f0b0ab36c5bf4426521ce17b3db7ca9a94ee4265bf66f3632ff48f8210a96d176cdba0f7926138e9a4971eca4b0331dfc87034e11
+DIST mpv_thumbnail_script-0.5.3.tar.gz 2588152 BLAKE2B a15399bf2fca65bf721a33718b4c27752fb5a7ce9c158eddff7ea1c6018929b372f0091ddb44a6f102dd3657b1e14148779543db5dac4953ca06fac21689dc3e SHA512 4a785bbd0037f18ffb60aa4980ed94ff6f03f75db43c5ebf5dde5bf53e0afa4970a94ecd5be26b279d71875540a98e2f4efd8c636dd553f2af5e6f3918f8b5fa
+DIST mpv_thumbnail_script-0.5.4.tar.gz 2587970 BLAKE2B beac1f447551a8eed8b58f1d9cc27bec93937d5e84df71ff104f5799a574eacfe893029135fc2840f1077791d810fc8b0bc2ca517b3fe0a41a18e091c9d50e00 SHA512 a25b69eaa02de347dbb32f7adf61cd775b35f78872cb212c64c533222c3f24a131ffbd029604079bc48c26332698e5ef977268e241eae36be9b037a8199559ca
diff --git a/mpv-plugin/mpv_thumbnail_script/metadata.xml b/mpv-plugin/mpv_thumbnail_script/metadata.xml
new file mode 100644
index 000000000000..14442c354ecb
--- /dev/null
+++ b/mpv-plugin/mpv_thumbnail_script/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>smaniotto.nicola@gmail.com</email>
+ <name>Nicola Smaniotto</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">marzzzello/mpv_thumbnail_script</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.2.ebuild b/mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.2.ebuild
new file mode 100644
index 000000000000..5cae744d0c66
--- /dev/null
+++ b/mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.2.ebuild
@@ -0,0 +1,56 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MPV_REQ_USE="lua"
+PYTHON_COMPAT=( python3_{13..14} )
+inherit mpv-plugin python-any-r1
+
+DESCRIPTION="A Lua script to show preview thumbnails in mpv's OSC seekbar"
+HOMEPAGE="https://github.com/marzzzello/mpv_thumbnail_script"
+
+SRC_URI="https://github.com/marzzzello/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+KEYWORDS="~amd64"
+
+BDEPEND="
+ ${PYTHON_DEPS}
+"
+
+MPV_PLUGIN_FILES=(
+ ${PN}_client_osc.lua
+ ${PN}_server.lua
+)
+
+src_compile() {
+ ${EPYTHON} concat_files.py -r "cat_osc.json" || die
+ ${EPYTHON} concat_files.py -r "cat_server.json" || die
+}
+
+src_install() {
+ mpv-plugin_src_install
+
+ # add multiple threads
+ THUMBNAIL_SERVER_THREADS="${THUMBNAIL_SERVER_THREADS:-1}"
+
+ if [[ "${THUMBNAIL_SERVER_THREADS}" -gt 1 ]]; then
+ i=1
+ while [[ ${i} -lt ${THUMBNAIL_SERVER_THREADS} ]]; do
+ dosym -r "/etc/mpv/scripts/mpv_thumbnail_script_server.lua" \
+ "/etc/mpv/scripts/mpv_thumbnail_script_server_${i}.lua" || die
+ (( i++ ))
+ done
+ fi
+}
+
+pkg_postinst(){
+ mpv-plugin_pkg_postinst
+
+ if [[ "${THUMBNAIL_SERVER_THREADS}" -gt 1 ]]; then
+ elog "Created a total of ${THUMBNAIL_SERVER_THREADS} server threads. Setting this too high is not recommended"
+ else
+ elog "You can create multiple thumbnailing threads by setting THUMBNAIL_SERVER_THREADS"
+ fi
+}
diff --git a/mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.3.ebuild b/mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.3.ebuild
new file mode 100644
index 000000000000..5cae744d0c66
--- /dev/null
+++ b/mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.3.ebuild
@@ -0,0 +1,56 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MPV_REQ_USE="lua"
+PYTHON_COMPAT=( python3_{13..14} )
+inherit mpv-plugin python-any-r1
+
+DESCRIPTION="A Lua script to show preview thumbnails in mpv's OSC seekbar"
+HOMEPAGE="https://github.com/marzzzello/mpv_thumbnail_script"
+
+SRC_URI="https://github.com/marzzzello/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+KEYWORDS="~amd64"
+
+BDEPEND="
+ ${PYTHON_DEPS}
+"
+
+MPV_PLUGIN_FILES=(
+ ${PN}_client_osc.lua
+ ${PN}_server.lua
+)
+
+src_compile() {
+ ${EPYTHON} concat_files.py -r "cat_osc.json" || die
+ ${EPYTHON} concat_files.py -r "cat_server.json" || die
+}
+
+src_install() {
+ mpv-plugin_src_install
+
+ # add multiple threads
+ THUMBNAIL_SERVER_THREADS="${THUMBNAIL_SERVER_THREADS:-1}"
+
+ if [[ "${THUMBNAIL_SERVER_THREADS}" -gt 1 ]]; then
+ i=1
+ while [[ ${i} -lt ${THUMBNAIL_SERVER_THREADS} ]]; do
+ dosym -r "/etc/mpv/scripts/mpv_thumbnail_script_server.lua" \
+ "/etc/mpv/scripts/mpv_thumbnail_script_server_${i}.lua" || die
+ (( i++ ))
+ done
+ fi
+}
+
+pkg_postinst(){
+ mpv-plugin_pkg_postinst
+
+ if [[ "${THUMBNAIL_SERVER_THREADS}" -gt 1 ]]; then
+ elog "Created a total of ${THUMBNAIL_SERVER_THREADS} server threads. Setting this too high is not recommended"
+ else
+ elog "You can create multiple thumbnailing threads by setting THUMBNAIL_SERVER_THREADS"
+ fi
+}
diff --git a/mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.4.ebuild b/mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.4.ebuild
new file mode 100644
index 000000000000..501139d046d3
--- /dev/null
+++ b/mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.4.ebuild
@@ -0,0 +1,56 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MPV_REQ_USE="lua"
+PYTHON_COMPAT=( python3_{13..14} )
+inherit mpv-plugin python-any-r1
+
+DESCRIPTION="A Lua script to show preview thumbnails in mpv's OSC seekbar"
+HOMEPAGE="https://github.com/marzzzello/mpv_thumbnail_script"
+
+SRC_URI="https://github.com/marzzzello/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+KEYWORDS="~amd64"
+
+BDEPEND="
+ ${PYTHON_DEPS}
+"
+
+MPV_PLUGIN_FILES=(
+ ${PN}_client_osc.lua
+ ${PN}_server.lua
+)
+
+src_compile() {
+ ${EPYTHON} concat_files.py -r "cat_osc.json" || die
+ ${EPYTHON} concat_files.py -r "cat_server.json" || die
+}
+
+src_install() {
+ mpv-plugin_src_install
+
+ # add multiple threads
+ THUMBNAIL_SERVER_THREADS="${THUMBNAIL_SERVER_THREADS:-1}"
+
+ if [[ "${THUMBNAIL_SERVER_THREADS}" -gt 1 ]]; then
+ i=1
+ while [[ ${i} -lt ${THUMBNAIL_SERVER_THREADS} ]]; do
+ dosym -r "/etc/mpv/scripts/mpv_thumbnail_script_server.lua" \
+ "/etc/mpv/scripts/mpv_thumbnail_script_server_${i}.lua" || die
+ (( i++ ))
+ done
+ fi
+}
+
+pkg_postinst(){
+ mpv-plugin_pkg_postinst
+
+ if [[ "${THUMBNAIL_SERVER_THREADS}" -gt 1 ]]; then
+ elog "Created a total of ${THUMBNAIL_SERVER_THREADS} server threads. Setting this too high is not recommended"
+ else
+ elog "You can create multiple thumbnailing threads by setting THUMBNAIL_SERVER_THREADS"
+ fi
+}
diff --git a/mpv-plugin/open-in-mpv/Manifest b/mpv-plugin/open-in-mpv/Manifest
new file mode 100644
index 000000000000..ad985aba05af
--- /dev/null
+++ b/mpv-plugin/open-in-mpv/Manifest
@@ -0,0 +1,2 @@
+DIST open-in-mpv_2.4.1.tar.gz 129260 BLAKE2B 729c01d949be57a1ab4ad09dc0e69e609970ebe20112e3c3b060dc1b4a7e4786dfdc2844ae33d222ff11f42dff419da9a6d3feb333b7c9de400d3bac16df7901 SHA512 70228d3e9d89d16ddde3334b86a1fd5a13e09eb342666ede1e816e80aee2a615c6269141375694667597b25e57315de02618cd1573c5f1a24615436e493778df
+DIST open-in-mpv_2.4.3.tar.gz 129274 BLAKE2B 5e44b35f0ff525bd67f827da096884a95d8bf6cc5bb460f4050f9279a9a4579e087a5694d26f56e4ca46988b673f8b1740b11b1787d7a4d403b23b160f19ef15 SHA512 945ed388d0b7e6b426d90a162d034ca54f8562b81c7ccf176ef84980b4cd806c4eb5f58708546c732089f9c9351ddd8b730e6d40061ab5a848436b19a9404b58
diff --git a/mpv-plugin/open-in-mpv/metadata.xml b/mpv-plugin/open-in-mpv/metadata.xml
new file mode 100644
index 000000000000..1bab6830434d
--- /dev/null
+++ b/mpv-plugin/open-in-mpv/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="github">Baldomo/open-in-mpv</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/mpv-plugin/open-in-mpv/open-in-mpv-2.4.1.ebuild b/mpv-plugin/open-in-mpv/open-in-mpv-2.4.1.ebuild
new file mode 100644
index 000000000000..099dd4c6b405
--- /dev/null
+++ b/mpv-plugin/open-in-mpv/open-in-mpv-2.4.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module desktop xdg
+
+DESCRIPTION="Simple host script (in Go) for simple web extension to open videos in mpv"
+HOMEPAGE="https://github.com/Baldomo/open-in-mpv https://addons.mozilla.org/en-US/firefox/addon/iina-open-in-mpv"
+SRC_URI="https://github.com/Baldomo/open-in-mpv/releases/download/v${PV}/open-in-mpv_${PV}.tar.gz"
+S="${WORKDIR}/${PN}_${PV}"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ media-video/mpv
+ net-misc/yt-dlp
+"
+
+src_compile() {
+ CGO_ENABLED=0 ego build -ldflags="-s -w -X main.Version=${PV}" -o ${PN} ./cmd/open-in-mpv/
+}
+
+src_test() {
+ ego test ./...
+}
+
+src_install() {
+ domenu scripts/open-in-mpv.desktop
+ dobin ${PN}
+}
diff --git a/mpv-plugin/open-in-mpv/open-in-mpv-2.4.3.ebuild b/mpv-plugin/open-in-mpv/open-in-mpv-2.4.3.ebuild
new file mode 100644
index 000000000000..099dd4c6b405
--- /dev/null
+++ b/mpv-plugin/open-in-mpv/open-in-mpv-2.4.3.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module desktop xdg
+
+DESCRIPTION="Simple host script (in Go) for simple web extension to open videos in mpv"
+HOMEPAGE="https://github.com/Baldomo/open-in-mpv https://addons.mozilla.org/en-US/firefox/addon/iina-open-in-mpv"
+SRC_URI="https://github.com/Baldomo/open-in-mpv/releases/download/v${PV}/open-in-mpv_${PV}.tar.gz"
+S="${WORKDIR}/${PN}_${PV}"
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+ media-video/mpv
+ net-misc/yt-dlp
+"
+
+src_compile() {
+ CGO_ENABLED=0 ego build -ldflags="-s -w -X main.Version=${PV}" -o ${PN} ./cmd/open-in-mpv/
+}
+
+src_test() {
+ ego test ./...
+}
+
+src_install() {
+ domenu scripts/open-in-mpv.desktop
+ dobin ${PN}
+}
diff --git a/mpv-plugin/thumbfast/Manifest b/mpv-plugin/thumbfast/Manifest
new file mode 100644
index 000000000000..e9d392295539
--- /dev/null
+++ b/mpv-plugin/thumbfast/Manifest
@@ -0,0 +1,2 @@
+DIST thumbfast-2023.12.08.tar.gz 16515 BLAKE2B 94a8d75315b77b3290fb6e90a44d6ff7970e663ecbdadf29acff6c1282e6834afb1dd079967dadee26c81cc6ae181df9ff0e815c662e11a70fe29a1f6b11cdc7 SHA512 af69b8bd90d6acbd8aeeb7821998684239047efb2f1147149d1cfc824e763e459dc88364d5903f0228e2f3e1b372ced0df6c8b6c07bfd12b05937f2a889a851e
+DIST thumbfast-2025.02.04.tar.gz 16643 BLAKE2B 20d564cbc64cc5d1a151912419a42a34204198db0bb9014524597ae2af86f99b780fb5b5504ce417625306242407cb288013c0c0c91909609860dae5db09eb2e SHA512 27ee40dd2a41faa3426cf2f3704feb6cf89962142e84d04747dac1211d4ecd24e8b06d4cb78d549ff44c27134accd011030f1d89c75539fbe3c06def52564c99
diff --git a/mpv-plugin/thumbfast/metadata.xml b/mpv-plugin/thumbfast/metadata.xml
new file mode 100644
index 000000000000..4458f732dcfc
--- /dev/null
+++ b/mpv-plugin/thumbfast/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>nrk@disroot.org</email>
+ <name>NRK</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">po5/thumbfast</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/mpv-plugin/thumbfast/thumbfast-2023.12.08.ebuild b/mpv-plugin/thumbfast/thumbfast-2023.12.08.ebuild
new file mode 100644
index 000000000000..0de62af72703
--- /dev/null
+++ b/mpv-plugin/thumbfast/thumbfast-2023.12.08.ebuild
@@ -0,0 +1,35 @@
+# Copyright 2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_MPV="rdepend"
+MPV_REQ_USE="lua"
+inherit mpv-plugin
+
+COMMIT="03e93feee5a85bf7c65db953ada41b4826e9f905"
+DESCRIPTION="High-performance on-the-fly thumbnailer script for mpv."
+HOMEPAGE="https://github.com/po5/thumbfast"
+SRC_URI="https://github.com/po5/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+LICENSE="MPL-2.0"
+KEYWORDS="~amd64"
+
+RDEPEND="app-shells/bash"
+
+MPV_PLUGIN_FILES=(
+ thumbfast.lua
+)
+
+DOCS=(
+ thumbfast.conf
+ README.md
+)
+
+pkg_postinst() {
+ mpv-plugin_pkg_postinst
+ einfo "thumbfast requires using a supported ui (such as mpv-plugin/mfpbar)."
+ # TODO(NRK): add a useflag for the vanilla-osc fork??
+ # https://github.com/po5/thumbfast/blob/vanilla-osc/player/lua/osc.lua
+}
diff --git a/mpv-plugin/thumbfast/thumbfast-2025.02.04.ebuild b/mpv-plugin/thumbfast/thumbfast-2025.02.04.ebuild
new file mode 100644
index 000000000000..1c4cec315e1c
--- /dev/null
+++ b/mpv-plugin/thumbfast/thumbfast-2025.02.04.ebuild
@@ -0,0 +1,35 @@
+# Copyright 2024-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_MPV="rdepend"
+MPV_REQ_USE="lua"
+inherit mpv-plugin
+
+COMMIT="9deb0733c4e36938cf90e42ddfb7a19a8b2f4641"
+DESCRIPTION="High-performance on-the-fly thumbnailer script for mpv."
+HOMEPAGE="https://github.com/po5/thumbfast"
+SRC_URI="https://github.com/po5/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${COMMIT}"
+
+LICENSE="MPL-2.0"
+KEYWORDS="~amd64"
+
+RDEPEND="app-shells/bash"
+
+MPV_PLUGIN_FILES=(
+ thumbfast.lua
+)
+
+DOCS=(
+ thumbfast.conf
+ README.md
+)
+
+pkg_postinst() {
+ mpv-plugin_pkg_postinst
+ einfo "thumbfast requires using a supported ui (such as mpv-plugin/mfpbar)."
+ # TODO(NRK): add a useflag for the vanilla-osc fork??
+ # https://github.com/po5/thumbfast/blob/vanilla-osc/player/lua/osc.lua
+}