public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/proj/guru:master commit in: mpv-plugin/mpv_thumbnail_script/
@ 2023-02-25  7:17 Viorel Munteanu
  0 siblings, 0 replies; 9+ messages in thread
From: Viorel Munteanu @ 2023-02-25  7:17 UTC (permalink / raw
  To: gentoo-commits

commit:     c59353ad0cc6abe563e6300382b0648152e70d71
Author:     Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq <DOT> in>
AuthorDate: Fri Feb 24 23:30:39 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Fri Feb 24 23:30:39 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c59353ad

mpv-plugin/mpv_thumbnail_script: drop 0.4.9

Signed-off-by: Anna (cybertailor) Vyalkova <cyber+gentoo <AT> sysrq.in>

 mpv-plugin/mpv_thumbnail_script/Manifest           |  1 -
 .../mpv_thumbnail_script-0.4.9.ebuild              | 30 ----------------------
 2 files changed, 31 deletions(-)

diff --git a/mpv-plugin/mpv_thumbnail_script/Manifest b/mpv-plugin/mpv_thumbnail_script/Manifest
index 7177b9745..4aabeb282 100644
--- a/mpv-plugin/mpv_thumbnail_script/Manifest
+++ b/mpv-plugin/mpv_thumbnail_script/Manifest
@@ -1,3 +1,2 @@
-DIST mpv_thumbnail_script-0.4.9.tar.gz 2583482 BLAKE2B 195addae18b2876bec80ab64455bdeda026f135f407a92352b34687561da4fb02d9027005a88cc91632c97edc51e5108713ea90b2e6cd7a5e984ff6294e42cfb SHA512 1453f07d29dec36cca1af826d2c99354f0aa8092f0b753e9e3c0ecd00c52d6f1d82490c210d51693faec79d8bd34e71c8cddbabf51bcbdca3abde120544be6ed
 DIST mpv_thumbnail_script-0.5.1.tar.gz 2585674 BLAKE2B 34db1877694ba71139377ecf97d370ea4a75b7a82694f7f29321abe1ed40c702f2bf47df9e24c300ad999bef126d1b082d12b1abde0cc7227ad66dd965f23209 SHA512 642ede1ec1a73a4bf78839c12bdf19a0f1e4797290b83a811b9ac40e47868ada3703b80798b4963616830d91981cdc4093df2a156d391aba54d48a0569045a87
 DIST mpv_thumbnail_script-0.5.2.tar.gz 2585900 BLAKE2B f0b2afe1f1cba942ddb469ae66f32f1d444679302f47b13742feb924bbe3de331c74bb60530079580a8802258109d9d17e6ebe1581910c8083e2897370961274 SHA512 d151c6e5aa0ad276a0a5451f0b0ab36c5bf4426521ce17b3db7ca9a94ee4265bf66f3632ff48f8210a96d176cdba0f7926138e9a4971eca4b0331dfc87034e11

diff --git a/mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.4.9.ebuild b/mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.4.9.ebuild
deleted file mode 100644
index 21d82b623..000000000
--- a/mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.4.9.ebuild
+++ /dev/null
@@ -1,30 +0,0 @@
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-MPV_REQ_USE="lua"
-PYTHON_COMPAT=( python3_{8..10} )
-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
-}


^ permalink raw reply related	[flat|nested] 9+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: mpv-plugin/mpv_thumbnail_script/
@ 2024-06-17 21:40 Julien Roy
  0 siblings, 0 replies; 9+ messages in thread
From: Julien Roy @ 2024-06-17 21:40 UTC (permalink / raw
  To: gentoo-commits

commit:     da24565f564514601dd6c28e02be2fd6246b20cd
Author:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
AuthorDate: Mon Jun 17 13:03:49 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Mon Jun 17 13:04:34 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=da24565f

mpv-plugin/mpv_thumbnail_script: add 0.5.4, drop 0.5.1

Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com>

 mpv-plugin/mpv_thumbnail_script/Manifest                                | 2 +-
 ..._thumbnail_script-0.5.1.ebuild => mpv_thumbnail_script-0.5.4.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/mpv-plugin/mpv_thumbnail_script/Manifest b/mpv-plugin/mpv_thumbnail_script/Manifest
index a002df3c9..e536750e5 100644
--- a/mpv-plugin/mpv_thumbnail_script/Manifest
+++ b/mpv-plugin/mpv_thumbnail_script/Manifest
@@ -1,3 +1,3 @@
-DIST mpv_thumbnail_script-0.5.1.tar.gz 2585674 BLAKE2B 34db1877694ba71139377ecf97d370ea4a75b7a82694f7f29321abe1ed40c702f2bf47df9e24c300ad999bef126d1b082d12b1abde0cc7227ad66dd965f23209 SHA512 642ede1ec1a73a4bf78839c12bdf19a0f1e4797290b83a811b9ac40e47868ada3703b80798b4963616830d91981cdc4093df2a156d391aba54d48a0569045a87
 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/mpv_thumbnail_script-0.5.1.ebuild b/mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.4.ebuild
similarity index 97%
rename from mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.1.ebuild
rename to mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.4.ebuild
index 4f880b5be..d50da51af 100644
--- a/mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.1.ebuild
+++ b/mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2022 Gentoo Authors
+# Copyright 2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8


^ permalink raw reply related	[flat|nested] 9+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: mpv-plugin/mpv_thumbnail_script/
@ 2024-05-13 17:48 Julien Roy
  0 siblings, 0 replies; 9+ messages in thread
From: Julien Roy @ 2024-05-13 17:48 UTC (permalink / raw
  To: gentoo-commits

commit:     1ff2ed47cf66e6b36373062a45e7c80aafd6c095
Author:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
AuthorDate: Mon May 13 08:50:40 2024 +0000
Commit:     Julien Roy <julien <AT> jroy <DOT> ca>
CommitDate: Mon May 13 09:00:05 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=1ff2ed47

mpv-plugin/mpv_thumbnail_script: enable py3.12

Closes: https://bugs.gentoo.org/931463
Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com>

 mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.1.ebuild | 2 +-
 mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.2.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.1.ebuild b/mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.1.ebuild
index 594f76d9b8..4f880b5be7 100644
--- a/mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.1.ebuild
+++ b/mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 MPV_REQ_USE="lua"
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 inherit mpv-plugin python-any-r1
 
 DESCRIPTION="A Lua script to show preview thumbnails in mpv's OSC seekbar"

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
index 61820aa926..1b7daa2a77 100644
--- 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
@@ -4,7 +4,7 @@
 EAPI=8
 
 MPV_REQ_USE="lua"
-PYTHON_COMPAT=( python3_{10..11} )
+PYTHON_COMPAT=( python3_{10..12} )
 inherit mpv-plugin python-any-r1
 
 DESCRIPTION="A Lua script to show preview thumbnails in mpv's OSC seekbar"


^ permalink raw reply related	[flat|nested] 9+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: mpv-plugin/mpv_thumbnail_script/
@ 2023-10-19 16:17 Viorel Munteanu
  0 siblings, 0 replies; 9+ messages in thread
From: Viorel Munteanu @ 2023-10-19 16:17 UTC (permalink / raw
  To: gentoo-commits

commit:     066b8cdeece1ed89de50c39ab0fd03b2c4fa76ed
Author:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
AuthorDate: Thu Oct 19 11:15:11 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Thu Oct 19 11:15:21 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=066b8cde

mpv-plugin/mpv_thumbnail_script: add 0.5.3

Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com>

 mpv-plugin/mpv_thumbnail_script/Manifest           |  1 +
 .../mpv_thumbnail_script-0.5.3.ebuild              | 56 ++++++++++++++++++++++
 2 files changed, 57 insertions(+)

diff --git a/mpv-plugin/mpv_thumbnail_script/Manifest b/mpv-plugin/mpv_thumbnail_script/Manifest
index 4aabeb2825..a002df3c98 100644
--- a/mpv-plugin/mpv_thumbnail_script/Manifest
+++ b/mpv-plugin/mpv_thumbnail_script/Manifest
@@ -1,2 +1,3 @@
 DIST mpv_thumbnail_script-0.5.1.tar.gz 2585674 BLAKE2B 34db1877694ba71139377ecf97d370ea4a75b7a82694f7f29321abe1ed40c702f2bf47df9e24c300ad999bef126d1b082d12b1abde0cc7227ad66dd965f23209 SHA512 642ede1ec1a73a4bf78839c12bdf19a0f1e4797290b83a811b9ac40e47868ada3703b80798b4963616830d91981cdc4093df2a156d391aba54d48a0569045a87
 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

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 0000000000..1b7daa2a77
--- /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_{10..12} )
+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
+}


^ permalink raw reply related	[flat|nested] 9+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: mpv-plugin/mpv_thumbnail_script/
@ 2023-09-14 13:22 David Roman
  0 siblings, 0 replies; 9+ messages in thread
From: David Roman @ 2023-09-14 13:22 UTC (permalink / raw
  To: gentoo-commits

commit:     2a8d5d0c085162cffab10f51a0a67cbcd49f20f2
Author:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
AuthorDate: Tue Jul 11 09:18:59 2023 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Wed Sep 13 08:52:23 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2a8d5d0c

mpv-plugin/mpv_thumbnail_script: call mpv-plugin_pkg_postinst

Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com>

 mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.1.ebuild | 2 ++
 mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.2.ebuild | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.1.ebuild b/mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.1.ebuild
index e4f7628be2..594f76d9b8 100644
--- a/mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.1.ebuild
+++ b/mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.1.ebuild
@@ -46,6 +46,8 @@ src_install() {
 }
 
 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

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
index 69f4a2357a..61820aa926 100644
--- 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
@@ -46,6 +46,8 @@ src_install() {
 }
 
 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


^ permalink raw reply related	[flat|nested] 9+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: mpv-plugin/mpv_thumbnail_script/
@ 2023-02-27 18:04 Viorel Munteanu
  0 siblings, 0 replies; 9+ messages in thread
From: Viorel Munteanu @ 2023-02-27 18:04 UTC (permalink / raw
  To: gentoo-commits

commit:     7248c500a280073d5b14fa8e2d68a64625474edf
Author:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
AuthorDate: Mon Feb 27 14:50:23 2023 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Mon Feb 27 15:15:16 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7248c500

mpv-plugin/mpv_thumbnail_script: enable py3.11

Closes: https://bugs.gentoo.org/897632
Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com>

 mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.1.ebuild | 2 +-
 mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.2.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.1.ebuild b/mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.1.ebuild
index c07571d62..f4d4818b1 100644
--- a/mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.1.ebuild
+++ b/mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.1.ebuild
@@ -4,7 +4,7 @@
 EAPI=8
 
 MPV_REQ_USE="lua"
-PYTHON_COMPAT=( python3_{8..11} )
+PYTHON_COMPAT=( python3_{9..11} )
 inherit mpv-plugin python-any-r1
 
 DESCRIPTION="A Lua script to show preview thumbnails in mpv's OSC seekbar"

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
index 3d94d769a..702539a17 100644
--- 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
@@ -4,7 +4,7 @@
 EAPI=8
 
 MPV_REQ_USE="lua"
-PYTHON_COMPAT=( python3_{8..11} )
+PYTHON_COMPAT=( python3_{9..11} )
 inherit mpv-plugin python-any-r1
 
 DESCRIPTION="A Lua script to show preview thumbnails in mpv's OSC seekbar"


^ permalink raw reply related	[flat|nested] 9+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: mpv-plugin/mpv_thumbnail_script/
@ 2023-01-12 10:38 Florian Schmaus
  0 siblings, 0 replies; 9+ messages in thread
From: Florian Schmaus @ 2023-01-12 10:38 UTC (permalink / raw
  To: gentoo-commits

commit:     fd7f05d1f1a3cbc396a26148360f707a5f9ea180
Author:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
AuthorDate: Wed Jan 11 14:58:51 2023 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Wed Jan 11 18:21:13 2023 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=fd7f05d1

mpv-plugin/mpv_thumbnail_script: add multiple thumbnailer threads

Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com>

 .../mpv_thumbnail_script-0.5.1.ebuild              | 24 ++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.1.ebuild b/mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.1.ebuild
index fda47afa1..c07571d62 100644
--- a/mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.1.ebuild
+++ b/mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.1.ebuild
@@ -28,3 +28,27 @@ 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(){
+	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
+}


^ permalink raw reply related	[flat|nested] 9+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: mpv-plugin/mpv_thumbnail_script/
@ 2022-11-04 14:38 Arthur Zamarin
  0 siblings, 0 replies; 9+ messages in thread
From: Arthur Zamarin @ 2022-11-04 14:38 UTC (permalink / raw
  To: gentoo-commits

commit:     7123394e0790f994f319e17b9163234a1291268d
Author:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
AuthorDate: Thu Nov  3 16:54:38 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Nov  3 16:54:38 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=7123394e

mpv-plugin/mpv_thumbnail_script: update Manifest

Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com>

 mpv-plugin/mpv_thumbnail_script/Manifest | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/mpv-plugin/mpv_thumbnail_script/Manifest b/mpv-plugin/mpv_thumbnail_script/Manifest
index 5ae72d011..809d8a3c0 100644
--- a/mpv-plugin/mpv_thumbnail_script/Manifest
+++ b/mpv-plugin/mpv_thumbnail_script/Manifest
@@ -1,3 +1,3 @@
 DIST mpv_thumbnail_script-0.4.8.tar.gz 2583047 BLAKE2B dabcc477b49ceac3b15ffcde0c6ff072797a42109a2a8a0b4bcb2a029964fe8b3095f45691b6a03924ad960c1643354f09bc370caa63aa64a3bfa2aadc94a326 SHA512 b28b8dc2b268725d15aa1f0ca2a8dd512d6eb5f9a520786a0d59beae79a1608b6e7a783c92cb75950f36c85893834acf85c75f457995248116c54fc1832792bd
 DIST mpv_thumbnail_script-0.4.9.tar.gz 2583482 BLAKE2B 195addae18b2876bec80ab64455bdeda026f135f407a92352b34687561da4fb02d9027005a88cc91632c97edc51e5108713ea90b2e6cd7a5e984ff6294e42cfb SHA512 1453f07d29dec36cca1af826d2c99354f0aa8092f0b753e9e3c0ecd00c52d6f1d82490c210d51693faec79d8bd34e71c8cddbabf51bcbdca3abde120544be6ed
-DIST mpv_thumbnail_script-0.5.1.tar.gz 2585308 BLAKE2B 1042655fc50ab2031344c3cd40abea19e825ccce35948cccba6dfcaae0c47c5f0b4f3bae848d3db367e5a92154d93d91754efefa789f15e031ccc0ba54965953 SHA512 f1454e57c1f227c8dde9bb34dfeeb55b2eff87dde210c9e392bb2a7a2375e163d4b55dbb9c84d67aac56e551437130a333df851c9d50db014eb4a8b4cedb64a8
+DIST mpv_thumbnail_script-0.5.1.tar.gz 2585674 BLAKE2B 34db1877694ba71139377ecf97d370ea4a75b7a82694f7f29321abe1ed40c702f2bf47df9e24c300ad999bef126d1b082d12b1abde0cc7227ad66dd965f23209 SHA512 642ede1ec1a73a4bf78839c12bdf19a0f1e4797290b83a811b9ac40e47868ada3703b80798b4963616830d91981cdc4093df2a156d391aba54d48a0569045a87


^ permalink raw reply related	[flat|nested] 9+ messages in thread
* [gentoo-commits] repo/proj/guru:master commit in: mpv-plugin/mpv_thumbnail_script/
@ 2022-11-04 14:38 Arthur Zamarin
  0 siblings, 0 replies; 9+ messages in thread
From: Arthur Zamarin @ 2022-11-04 14:38 UTC (permalink / raw
  To: gentoo-commits

commit:     04bb95bd9702f224b173435934e782d42be003f5
Author:     Nicola Smaniotto <smaniotto.nicola <AT> gmail <DOT> com>
AuthorDate: Thu Nov  3 15:08:08 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Thu Nov  3 15:08:18 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=04bb95bd

mpv-plugin/mpv_thumbnail_script: add 0.5.1

Signed-off-by: Nicola Smaniotto <smaniotto.nicola <AT> gmail.com>

 mpv-plugin/mpv_thumbnail_script/Manifest           |  1 +
 .../mpv_thumbnail_script-0.5.1.ebuild              | 30 ++++++++++++++++++++++
 2 files changed, 31 insertions(+)

diff --git a/mpv-plugin/mpv_thumbnail_script/Manifest b/mpv-plugin/mpv_thumbnail_script/Manifest
index f8105c99e..5ae72d011 100644
--- a/mpv-plugin/mpv_thumbnail_script/Manifest
+++ b/mpv-plugin/mpv_thumbnail_script/Manifest
@@ -1,2 +1,3 @@
 DIST mpv_thumbnail_script-0.4.8.tar.gz 2583047 BLAKE2B dabcc477b49ceac3b15ffcde0c6ff072797a42109a2a8a0b4bcb2a029964fe8b3095f45691b6a03924ad960c1643354f09bc370caa63aa64a3bfa2aadc94a326 SHA512 b28b8dc2b268725d15aa1f0ca2a8dd512d6eb5f9a520786a0d59beae79a1608b6e7a783c92cb75950f36c85893834acf85c75f457995248116c54fc1832792bd
 DIST mpv_thumbnail_script-0.4.9.tar.gz 2583482 BLAKE2B 195addae18b2876bec80ab64455bdeda026f135f407a92352b34687561da4fb02d9027005a88cc91632c97edc51e5108713ea90b2e6cd7a5e984ff6294e42cfb SHA512 1453f07d29dec36cca1af826d2c99354f0aa8092f0b753e9e3c0ecd00c52d6f1d82490c210d51693faec79d8bd34e71c8cddbabf51bcbdca3abde120544be6ed
+DIST mpv_thumbnail_script-0.5.1.tar.gz 2585308 BLAKE2B 1042655fc50ab2031344c3cd40abea19e825ccce35948cccba6dfcaae0c47c5f0b4f3bae848d3db367e5a92154d93d91754efefa789f15e031ccc0ba54965953 SHA512 f1454e57c1f227c8dde9bb34dfeeb55b2eff87dde210c9e392bb2a7a2375e163d4b55dbb9c84d67aac56e551437130a333df851c9d50db014eb4a8b4cedb64a8

diff --git a/mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.1.ebuild b/mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.1.ebuild
new file mode 100644
index 000000000..fda47afa1
--- /dev/null
+++ b/mpv-plugin/mpv_thumbnail_script/mpv_thumbnail_script-0.5.1.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+MPV_REQ_USE="lua"
+PYTHON_COMPAT=( python3_{8..11} )
+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
+}


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2024-06-17 21:40 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-25  7:17 [gentoo-commits] repo/proj/guru:master commit in: mpv-plugin/mpv_thumbnail_script/ Viorel Munteanu
  -- strict thread matches above, loose matches on Subject: below --
2024-06-17 21:40 Julien Roy
2024-05-13 17:48 Julien Roy
2023-10-19 16:17 Viorel Munteanu
2023-09-14 13:22 David Roman
2023-02-27 18:04 Viorel Munteanu
2023-01-12 10:38 Florian Schmaus
2022-11-04 14:38 Arthur Zamarin
2022-11-04 14:38 Arthur Zamarin

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox