summaryrefslogtreecommitdiff
path: root/media-gfx/qimgv
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-11-07 21:22:54 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-11-07 21:22:54 +0000
commit1cfea2a84c51291a77ab820b6871efcff10c148d (patch)
tree924f8b07cb24ba72b3d889cf4b50bdff4d2785c0 /media-gfx/qimgv
parent441369caa3d11703d0349d4b9746b7ad10aa6cb2 (diff)
gentoo auto-resync : 07:11:2022 - 21:22:53
Diffstat (limited to 'media-gfx/qimgv')
-rw-r--r--media-gfx/qimgv/Manifest3
-rw-r--r--media-gfx/qimgv/files/qimgv-1.0.2-libmpv-api2.patch15
-rw-r--r--media-gfx/qimgv/qimgv-1.0.2-r1.ebuild (renamed from media-gfx/qimgv/qimgv-1.0.2.ebuild)8
3 files changed, 23 insertions, 3 deletions
diff --git a/media-gfx/qimgv/Manifest b/media-gfx/qimgv/Manifest
index 474b3f799983..83826b2467a3 100644
--- a/media-gfx/qimgv/Manifest
+++ b/media-gfx/qimgv/Manifest
@@ -1,3 +1,4 @@
+AUX qimgv-1.0.2-libmpv-api2.patch 724 BLAKE2B 175b85d38ea0299efb6a87d397a73d2fd85ac85990ea89b34418dfe2b54b306e416dfb6a55c409a8f08891a6d1828245e91eabad07a5308b526b87c5e1bb016a SHA512 cf92f9bdfa501d4224d4764b6a061b29c0a0ebe436afd882c12acaa62dc9754306ac88b13e67992c944112af0f5efc34c6782d3a1282f039d14ba5f60fe649c3
DIST qimgv-1.0.2.tar.gz 681034 BLAKE2B 49faf11baf526e2221d1ed05a7523c452c32586900611db1823e2a50daadb14034d0b9a1363596dabde5b4b6dfd2ead8e285d1a82129bf2deda1a0c43907ffc6 SHA512 3e10a87f28f7187251c93c92b418ee34e4c2b373b0dd957604fd46305237dc52fd7e17880507b3a0d757c0c3800e8185b6085f15f6f05db6d29cae1e67044b58
-EBUILD qimgv-1.0.2.ebuild 923 BLAKE2B d78653cb52016aecb7cd7637024730fe69cfa84358a684d364bc684599db67e05cca601c8e15ea8d386e2d8adb2dcd680349951eda6bd88df2cca0b1c1bd862c SHA512 d0f21d4b375259b0536ff4080b231e4d0c4554d440205f538aeafd49e0471346ad95392bc7938aae817fba2a7537d625a0d53096f5a346d1a7c59a78f3d125f8
+EBUILD qimgv-1.0.2-r1.ebuild 976 BLAKE2B 81e6ce585f3eb87daabebf2373463de906f868ff2f5c10fd6606486439083b9b8c2756ab9dbdf7b4c75d74847edda0791422336e235f97391899c8d63b73c4d8 SHA512 da1e30f2a35f108407a2e76476886b06b6dfbe5849ce7a89aa81f8b7c38e496cac3a5c230a43d78cb1ef5c961eaa2f80a17f94c0fb65ba62a465a01fd747b868
MISC metadata.xml 564 BLAKE2B 90edc7f7fac7d7c06557b1809ab34c1d7e6260bf3056f3dde7281bdaf5cafda94e70b700c099b03f11234ce85ec912f59df00a0fb0f4d4f861883fe567f4690c SHA512 62122cde9319219f1e6885ff50e09a2ea453da82f1ee5dcd5a6be9c3c2b0064357269751383d15aa9f206e3e1134f020efd81c787f3f097354aa27cd6b38df0e
diff --git a/media-gfx/qimgv/files/qimgv-1.0.2-libmpv-api2.patch b/media-gfx/qimgv/files/qimgv-1.0.2-libmpv-api2.patch
new file mode 100644
index 000000000000..aa0a322382e5
--- /dev/null
+++ b/media-gfx/qimgv/files/qimgv-1.0.2-libmpv-api2.patch
@@ -0,0 +1,15 @@
+https://github.com/easymodo/qimgv/commit/d24f3fa9df89
+From: easymodo <easymodofrf@gmail.com>
+Date: Sat, 18 Dec 2021 10:32:05 +0200
+Subject: [PATCH] fix mpv_opengl_init_params
+--- a/plugins/player_mpv/src/mpvwidget.cpp
++++ b/plugins/player_mpv/src/mpvwidget.cpp
+@@ -69,7 +69,7 @@ void MpvWidget::setOption(const QString& name, const QVariant& value) {
+ }
+
+ void MpvWidget::initializeGL() {
+- mpv_opengl_init_params gl_init_params{get_proc_address, nullptr, nullptr};
++ mpv_opengl_init_params gl_init_params{get_proc_address, nullptr};
+ mpv_render_param params[]{
+ {MPV_RENDER_PARAM_API_TYPE, const_cast<char *>(MPV_RENDER_API_TYPE_OPENGL)},
+ {MPV_RENDER_PARAM_OPENGL_INIT_PARAMS, &gl_init_params},
diff --git a/media-gfx/qimgv/qimgv-1.0.2.ebuild b/media-gfx/qimgv/qimgv-1.0.2-r1.ebuild
index 2593b48c2c20..d988cd8f2de4 100644
--- a/media-gfx/qimgv/qimgv-1.0.2.ebuild
+++ b/media-gfx/qimgv/qimgv-1.0.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -27,12 +27,16 @@ DEPEND="
exif? ( media-gfx/exiv2:= )
kde? ( kde-frameworks/kwindowsystem:5 )
opencv? ( media-libs/opencv:= )
- video? ( media-video/mpv[libmpv] )
+ video? ( media-video/mpv:=[libmpv] )
"
RDEPEND="
${DEPEND}
"
+PATCHES=(
+ "${FILESDIR}"/${P}-libmpv-api2.patch
+)
+
src_configure() {
local mycmakeargs=(
-DEXIV2=$(usex exif)