mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-20 12:33:40 -04:00
Merge updates from master
This commit is contained in:
@@ -1,8 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>andrewammerlaan@gentoo.org</email>
|
||||
<name>Andrew Ammerlaan</name>
|
||||
</maintainer>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -30,15 +30,15 @@ BDEPEND="
|
||||
doc? (
|
||||
media-gfx/graphviz
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/sphinx[${PYTHON_MULTI_USEDEP}]
|
||||
dev-python/sphinx_rtd_theme[${PYTHON_MULTI_USEDEP}]
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
|
||||
')
|
||||
)
|
||||
test? (
|
||||
dev-libs/check
|
||||
dev-util/valgrind
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/subunit[${PYTHON_MULTI_USEDEP}]
|
||||
dev-python/subunit[${PYTHON_USEDEP}]
|
||||
')
|
||||
)
|
||||
"
|
||||
|
||||
@@ -2,10 +2,7 @@
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>andrewammerlaan@gentoo.org</email>
|
||||
<name>Andrew Ammerlaan</name>
|
||||
</maintainer>
|
||||
<!-- maintainer-needed -->
|
||||
<longdescription lang="en">
|
||||
Curio is a coroutine-based library for concurrent Python systems programming. It provides standard programming abstractions such as as tasks, sockets, files, locks, and queues. It works on Unix and Windows. You'll find it to be familiar, small, fast, and fun
|
||||
Core Features
|
||||
|
||||
@@ -2,10 +2,7 @@
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>andrewammerlaan@gentoo.org</email>
|
||||
<name>Andrew Ammerlaan</name>
|
||||
</maintainer>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<remote-id type="github">samuelcolvin/python-devtools</remote-id>
|
||||
<remote-id type="pypi">devtools</remote-id>
|
||||
|
||||
@@ -2,10 +2,7 @@
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>andrewammerlaan@gentoo.org</email>
|
||||
<name>Andrew Ammerlaan</name>
|
||||
</maintainer>
|
||||
<!-- maintainer-needed -->
|
||||
<longdescription lang="en">
|
||||
The package provides a single function: in_hsts_preload() which takes an IDNA-encoded host and returns either True or False regarding whether that host should be only accessed via HTTPS.
|
||||
</longdescription>
|
||||
|
||||
@@ -2,8 +2,5 @@
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>andrewammerlaan@gentoo.org</email>
|
||||
<name>Andrew Ammerlaan</name>
|
||||
</maintainer>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -2,10 +2,7 @@
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>andrewammerlaan@gentoo.org</email>
|
||||
<name>Andrew Ammerlaan</name>
|
||||
</maintainer>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<remote-id type="github">cmacmackin/markdown-include</remote-id>
|
||||
<remote-id type="pypi">markdown-include</remote-id>
|
||||
|
||||
@@ -2,10 +2,7 @@
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>andrewammerlaan@gentoo.org</email>
|
||||
<name>Andrew Ammerlaan</name>
|
||||
</maintainer>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<remote-id type="github">apenwarr/mkdocs-exclude</remote-id>
|
||||
<remote-id type="pypi">mkdocs-exclude</remote-id>
|
||||
|
||||
@@ -2,10 +2,7 @@
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>andrewammerlaan@gentoo.org</email>
|
||||
<name>Andrew Ammerlaan</name>
|
||||
</maintainer>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<remote-id type="github">python-trio/outcome</remote-id>
|
||||
<remote-id type="pypi">outcome</remote-id>
|
||||
|
||||
@@ -2,10 +2,7 @@
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>andrewammerlaan@gentoo.org</email>
|
||||
<name>Andrew Ammerlaan</name>
|
||||
</maintainer>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<remote-id type="pypi">pygsl</remote-id>
|
||||
</upstream>
|
||||
|
||||
@@ -2,10 +2,7 @@
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>andrewammerlaan@gentoo.org</email>
|
||||
<name>Andrew Ammerlaan</name>
|
||||
</maintainer>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<remote-id type="github">moccu/pytest-isort</remote-id>
|
||||
<remote-id type="pypi">pytest-isort</remote-id>
|
||||
|
||||
@@ -2,8 +2,5 @@
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>andrewammerlaan@gentoo.org</email>
|
||||
<name>Andrew Ammerlaan</name>
|
||||
</maintainer>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -2,10 +2,7 @@
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>andrewammerlaan@gentoo.org</email>
|
||||
<name>Andrew Ammerlaan</name>
|
||||
</maintainer>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<remote-id type="github">samuelcolvin/pytest-toolbox</remote-id>
|
||||
<remote-id type="pypi">pytest-toolbox</remote-id>
|
||||
|
||||
@@ -2,10 +2,7 @@
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>andrewammerlaan@gentoo.org</email>
|
||||
<name>Andrew Ammerlaan</name>
|
||||
</maintainer>
|
||||
<!-- maintainer-needed -->
|
||||
<longdescription lang="en">
|
||||
This sphinx extension helps you document Python code that uses async/await, or abstract methods, or context managers, or generators, or … you get the idea. It works by making sphinx’s regular directives for documenting Python functions and methods smarter and more powerful. The name is because it was originally written for the Trio project, and I’m not very creative. But don’t be put off – there’s nothing Trio- or async-specific about this extension; any Python project can benefit. (Though projects using async/await probably benefit the most, since sphinx’s built-in tools are especially inadequate in this case.)
|
||||
</longdescription>
|
||||
|
||||
@@ -2,8 +2,5 @@
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>andrewammerlaan@gentoo.org</email>
|
||||
<name>Andrew Ammerlaan</name>
|
||||
</maintainer>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -2,10 +2,7 @@
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>andrewammerlaan@gentoo.org</email>
|
||||
<name>Andrew Ammerlaan</name>
|
||||
</maintainer>
|
||||
<!-- maintainer-needed -->
|
||||
<longdescription lang="en">
|
||||
The Trio project's goal is to produce a production-quality, permissively licensed, async/await-native I/O library for Python. Like all async libraries, its main purpose is to help you write programs that do multiple things at the same time with parallelized I/O. A web spider that wants to fetch lots of pages in parallel, a web server that needs to juggle lots of downloads and websocket connections at the same time, a process supervisor monitoring multiple subprocesses... that sort of thing. Compared to other libraries, Trio attempts to distinguish itself with an obsessive focus on usability and correctness. Concurrency is complicated; we try to make it easy to get things right.
|
||||
|
||||
|
||||
@@ -2,10 +2,7 @@
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>andrewammerlaan@gentoo.org</email>
|
||||
<name>Andrew Ammerlaan</name>
|
||||
</maintainer>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<remote-id type="github">samuelcolvin/watchgod</remote-id>
|
||||
<remote-id type="pypi">watchgod</remote-id>
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>andrewammerlaan@gentoo.org</email>
|
||||
<name>Andrew Ammerlaan</name>
|
||||
</maintainer>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>andrewammerlaan@gentoo.org</email>
|
||||
<name>Andrew Ammerlaan</name>
|
||||
</maintainer>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>andrewammerlaan@gentoo.org</email>
|
||||
<name>Andrew Ammerlaan</name>
|
||||
</maintainer>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>andrewammerlaan@gentoo.org</email>
|
||||
<name>Andrew Ammerlaan</name>
|
||||
</maintainer>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit multilib
|
||||
inherit multilib toolchain-funcs
|
||||
|
||||
COMMIT="ba331411f17702e01f6c2d7016eefebaa695871f"
|
||||
DESCRIPTION="Simple library to speed up or slow down speech"
|
||||
@@ -24,6 +24,8 @@ src_prepare() {
|
||||
default
|
||||
sed "s|/lib|/$(get_libdir)|" -i Makefile || die
|
||||
sed "/install libsonic.a/d" -i Makefile || die
|
||||
sed "s/CC=gcc/CC=$(tc-getCC)/" -i Makefile || die
|
||||
export AR="$(tc-getAR)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
|
||||
@@ -1,12 +1,3 @@
|
||||
From 61584550ca734d2f3fa3b811d73f2cebd2b7f30f Mon Sep 17 00:00:00 2001
|
||||
From: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
|
||||
Date: Thu, 8 Oct 2020 08:37:58 +0200
|
||||
Subject: [PATCH] replace & with | in Alignment, visually identical
|
||||
|
||||
---
|
||||
syncplay/ui/GuiConfiguration.py | 6 +++---
|
||||
1 file changed, 3 insertions(+), 3 deletions(-)
|
||||
|
||||
diff --git a/syncplay/ui/GuiConfiguration.py b/syncplay/ui/GuiConfiguration.py
|
||||
index 96915814..e0713adf 100755
|
||||
--- a/syncplay/ui/GuiConfiguration.py
|
||||
|
||||
@@ -1,12 +1,3 @@
|
||||
From b0e018d0cda148ef8dba07857fcbe8d751800992 Mon Sep 17 00:00:00 2001
|
||||
From: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
|
||||
Date: Thu, 8 Oct 2020 08:47:44 +0200
|
||||
Subject: [PATCH] make conversion from QPixmap to QIcon explicit
|
||||
|
||||
---
|
||||
syncplay/ui/gui.py | 106 ++++++++++++++++++++++-----------------------
|
||||
1 file changed, 53 insertions(+), 53 deletions(-)
|
||||
|
||||
diff --git a/syncplay/ui/gui.py b/syncplay/ui/gui.py
|
||||
index c59c5697..2a4bd1a5 100755
|
||||
--- a/syncplay/ui/gui.py
|
||||
|
||||
@@ -1,12 +1,3 @@
|
||||
From b0e018d0cda148ef8dba07857fcbe8d751800992 Mon Sep 17 00:00:00 2001
|
||||
From: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
|
||||
Date: Thu, 8 Oct 2020 08:47:44 +0200
|
||||
Subject: [PATCH] make conversion from QPixmap to QIcon explicit
|
||||
|
||||
---
|
||||
syncplay/ui/gui.py | 106 ++++++++++++++++++++++-----------------------
|
||||
1 file changed, 53 insertions(+), 53 deletions(-)
|
||||
|
||||
diff --git a/syncplay/ui/gui.py b/syncplay/ui/gui.py
|
||||
index c59c5697..2a4bd1a5 100755
|
||||
--- a/syncplay/ui/gui.py
|
||||
|
||||
@@ -1,13 +1,3 @@
|
||||
From f880d4773238a31ac7046ff290910a4ff4920d53 Mon Sep 17 00:00:00 2001
|
||||
From: Andrew Ammerlaan <andrewammerlaan@gentoo.org>
|
||||
Date: Thu, 8 Oct 2020 11:41:41 +0200
|
||||
Subject: [PATCH] use lambda when connect() to function with @wrapper
|
||||
|
||||
---
|
||||
syncplay/ui/GuiConfiguration.py | 2 +-
|
||||
syncplay/ui/gui.py | 40 ++++++++++++++++-----------------
|
||||
2 files changed, 21 insertions(+), 21 deletions(-)
|
||||
|
||||
diff --git a/syncplay/ui/GuiConfiguration.py b/syncplay/ui/GuiConfiguration.py
|
||||
index e0713adf..9ce6a429 100755
|
||||
--- a/syncplay/ui/GuiConfiguration.py
|
||||
|
||||
@@ -2,10 +2,7 @@
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>andrewammerlaan@gentoo.org</email>
|
||||
<name>Andrew Ammerlaan</name>
|
||||
</maintainer>
|
||||
<!-- maintainer-needed -->
|
||||
<use>
|
||||
<flag name="client">Install the Syncplay client</flag>
|
||||
<flag name="server">Install the Syncplay server</flag>
|
||||
|
||||
@@ -5,10 +5,7 @@
|
||||
<remote-id type="github">KDE/ruqola</remote-id>
|
||||
<bugs-to>https://bugs.kde.org</bugs-to>
|
||||
</upstream>
|
||||
<maintainer type="person">
|
||||
<email>andrewammerlaan@gentoo.org</email>
|
||||
<name>Andrew Ammerlaan</name>
|
||||
</maintainer>
|
||||
<!-- maintainer-needed -->
|
||||
<use>
|
||||
<flag name="speech">Enable text-to-speech support</flag>
|
||||
</use>
|
||||
|
||||
@@ -5,8 +5,5 @@
|
||||
<remote-id type="github">eneshecan/whatsapp-for-linux</remote-id>
|
||||
<bugs-to>https://github.com/eneshecan/whatsapp-for-linux/issues</bugs-to>
|
||||
</upstream>
|
||||
<maintainer type="person">
|
||||
<email>andrewammerlaan@gentoo.org</email>
|
||||
<name>Andrew Ammerlaan</name>
|
||||
</maintainer>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -1 +1 @@
|
||||
DIST lyrics-in-terminal-1.3.1.tar.gz 1664683 BLAKE2B 2d242eed832c06bd4884e87837084197cc0e20fa6e9a54d520243c41d0cea2b15c200d4dfedbaa55dd01019ef3e4200abb0d0140d5065c2c723d5acfdc57670d SHA512 927e86bdad9467a8bcb56c87ed3dbeca55a47ee20d1a4de698d2cd3615592f66623d37c0fab9408401dfd21bf39e7e8a5e3c873e990bcd1aa1c7b92277908258
|
||||
DIST lyrics-in-terminal-1.4.1.tar.gz 1666369 BLAKE2B cb3be32d834dac14a38f13694cc9efeb656cf8f223f661cf6ec774cb226e6453b27ec855de86d50cc4dfd7b5c803f3587761f9a427d1be56f9b9f1e145ae870d SHA512 e1cc80fb0d3f68962578a0cb0421759b7af70bdda2fa110f00521bde73c5b55d0652f003cd712e903a597ef65224d4cf8cb6953a832b041413c5c116e7be889d
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7,8,9} )
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
inherit distutils-r1
|
||||
@@ -14,6 +14,9 @@ SRC_URI="https://github.com/Jugran/lyrics-in-terminal/archive/${PV}.tar.gz -> ${
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="dev-python/dbus-python[${PYTHON_USEDEP}]"
|
||||
RDEPEND="
|
||||
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||
sys-libs/ncurses
|
||||
"
|
||||
@@ -2,8 +2,11 @@
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>andrewammerlaan@gentoo.org</email>
|
||||
<name>Andrew Ammerlaan</name>
|
||||
</maintainer>
|
||||
<!-- maintainer-needed -->
|
||||
<upstream>
|
||||
<remote-id type="github">Jugran/lyrics-in-terminal</remote-id>
|
||||
<remote-id type="pypi">lyrics-in-terminal</remote-id>
|
||||
<bugs-to>https://github.com/Jugran/lyrics-in-terminal/issues</bugs-to>
|
||||
</upstream>
|
||||
<stabilize-allarches/>
|
||||
</pkgmetadata>
|
||||
|
||||
24
net-misc/megasync/files/megasync-4.5.0.0_ffmpeg.patch
Normal file
24
net-misc/megasync/files/megasync-4.5.0.0_ffmpeg.patch
Normal file
@@ -0,0 +1,24 @@
|
||||
diff -Naur a/src/MEGASync/mega/src/gfx/freeimage.cpp b/src/MEGASync/mega/src/gfx/freeimage.cpp
|
||||
--- a/src/MEGASync/mega/src/gfx/freeimage.cpp 2021-05-23 02:28:08.694081111 +0100
|
||||
+++ b/src/MEGASync/mega/src/gfx/freeimage.cpp 2021-05-23 02:29:56.189964969 +0100
|
||||
@@ -188,7 +188,7 @@
|
||||
|
||||
// Force seeking to key frames
|
||||
formatContext->seek2any = false;
|
||||
- videoStream->skip_to_keyframe = true;
|
||||
+ //videoStream->skip_to_keyframe = true;
|
||||
if (decoder->capabilities & CAP_TRUNCATED)
|
||||
{
|
||||
codecContext.flags |= CAP_TRUNCATED;
|
||||
diff -Naur a/src/MEGASync/mega/src/gfx/qt.cpp b/src/MEGASync/mega/src/gfx/qt.cpp
|
||||
--- a/src/MEGASync/mega/src/gfx/qt.cpp 2021-05-23 02:28:08.694081111 +0100
|
||||
+++ b/src/MEGASync/mega/src/gfx/qt.cpp 2021-05-23 02:29:36.172545153 +0100
|
||||
@@ -1209,7 +1209,7 @@
|
||||
|
||||
// Force seeking to key frames
|
||||
formatContext->seek2any = false;
|
||||
- videoStream->skip_to_keyframe = true;
|
||||
+ //videoStream->skip_to_keyframe = true;
|
||||
if (decoder->capabilities & CAP_TRUNCATED)
|
||||
{
|
||||
codecContext.flags |= CAP_TRUNCATED;
|
||||
16
net-misc/megasync/files/megasync-4.5.0.0_pdfium.patch
Normal file
16
net-misc/megasync/files/megasync-4.5.0.0_pdfium.patch
Normal file
@@ -0,0 +1,16 @@
|
||||
diff --git a/bindings/qt/sdk.pri b/bindings/qt/sdk.pri
|
||||
index 83ddc2e2f..46aa06d33 100644
|
||||
--- a/bindings/qt/sdk.pri
|
||||
+++ b/bindings/qt/sdk.pri
|
||||
@@ -255,6 +255,11 @@ CONFIG(USE_PDFIUM) {
|
||||
DEFINES += HAVE_PDFIUM
|
||||
LIBS += -lpdfium
|
||||
}
|
||||
+ else:exists(/usr/include/pdfium/fpdfview.h) {
|
||||
+ DEFINES += HAVE_PDFIUM
|
||||
+ INCLUDEPATH += /usr/include/pdfium
|
||||
+ LIBS += -lpdfium
|
||||
+ }
|
||||
}
|
||||
else {#win/mac
|
||||
DEFINES += HAVE_PDFIUM
|
||||
@@ -14,14 +14,16 @@ HOMEPAGE="
|
||||
if [[ ${PV} == 9999 ]];then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
|
||||
EGIT_BRANCH="master"
|
||||
EGIT_SUBMODULES=( '*' )
|
||||
else
|
||||
MEGA_SDK_REV="37b346c2e119559e40c08f43e1a8f54353e7ad59" # commit of src/MEGASync/mega submodule
|
||||
MEGA_SDK_REV="c11a688d578e16dc25d4c94fee7995730be1aa50" # commit of src/MEGASync/mega submodule
|
||||
SRC_URI="
|
||||
https://github.com/meganz/MEGAsync/archive/v${PV}_Win.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> ${PN}-sdk-${PV}.tar.gz
|
||||
"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
# 4.3.8.0 has no dedicated linux tag
|
||||
# 4.5.0.0 has no dedicated linux tag
|
||||
S="${WORKDIR}"/MEGAsync-${PV}_Win
|
||||
fi
|
||||
|
||||
@@ -76,6 +78,14 @@ src_prepare() {
|
||||
rmdir src/MEGASync/mega
|
||||
mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
|
||||
fi
|
||||
if [ -e "${FILESDIR}/${P}_pdfium.patch" ]; then
|
||||
cd "${S}/src/MEGASync/mega"
|
||||
eapply -Np1 "${FILESDIR}/${P}_pdfium.patch"
|
||||
cd "${S}"
|
||||
fi
|
||||
if has_version ">=media-video/ffmpeg-4.4" && [ -e "${FILESDIR}/${P}_ffmpeg.patch" ]; then
|
||||
eapply "${FILESDIR}/${P}_ffmpeg.patch"
|
||||
fi
|
||||
if use dolphin; then
|
||||
# use the kde5 CMakeLists instead of the kde 4 version
|
||||
mv src/MEGAShellExtDolphin/CMakeLists_kde5.txt src/MEGAShellExtDolphin/CMakeLists.txt || die
|
||||
@@ -83,12 +93,12 @@ src_prepare() {
|
||||
else
|
||||
default
|
||||
fi
|
||||
cd src/MEGASync/mega
|
||||
cd "${S}/src/MEGASync/mega"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
cd src/MEGASync/mega
|
||||
cd "${S}/src/MEGASync/mega"
|
||||
econf \
|
||||
"--disable-silent-rules" \
|
||||
"--disable-curl-checks" \
|
||||
@@ -109,7 +119,7 @@ src_configure() {
|
||||
$(use_enable python) \
|
||||
"--enable-chat" \
|
||||
"--enable-gcc-hardening"
|
||||
cd ../..
|
||||
cd "${S}/src"
|
||||
|
||||
local myeqmakeargs=(
|
||||
MEGA.pro
|
||||
|
||||
@@ -14,14 +14,17 @@ HOMEPAGE="
|
||||
if [[ ${PV} == 9999 ]];then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/meganz/MEGAsync"
|
||||
EGIT_BRANCH="master"
|
||||
EGIT_SUBMODULES=( '*' )
|
||||
else
|
||||
MEGA_SDK_REV="ba4834cb6c22f4e996f328db3aa5b82ef20eed3e" # commit of src/MEGASync/mega submodule
|
||||
MEGA_SDK_REV="c11a688d578e16dc25d4c94fee7995730be1aa50" # commit of src/MEGASync/mega submodule
|
||||
SRC_URI="
|
||||
https://github.com/meganz/MEGAsync/archive/v${PV}.0_Linux.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/meganz/MEGAsync/archive/v${PV}_Win.tar.gz -> ${P}.tar.gz
|
||||
https://github.com/meganz/sdk/archive/${MEGA_SDK_REV}.tar.gz -> ${PN}-sdk-${PV}.tar.gz
|
||||
"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
S="${WORKDIR}"/MEGAsync-${PV}.0_Linux
|
||||
# 4.5.0.0 has no dedicated linux tag
|
||||
S="${WORKDIR}"/MEGAsync-${PV}_Win
|
||||
fi
|
||||
|
||||
LICENSE="MEGA"
|
||||
@@ -62,25 +65,40 @@ DEPEND="
|
||||
dev-qt/qtx11extras:5
|
||||
"
|
||||
BDEPEND="
|
||||
app-doc/doxygen
|
||||
dev-lang/swig
|
||||
dev-qt/linguist-tools
|
||||
"
|
||||
|
||||
DOCS=( CREDITS.md README.md )
|
||||
|
||||
CMAKE_USE_DIR="${S}/src/MEGAShellExtDolphin"
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV} != 9999 ]]; then
|
||||
rmdir src/MEGASync/mega
|
||||
mv "${WORKDIR}"/sdk-${MEGA_SDK_REV} src/MEGASync/mega
|
||||
fi
|
||||
default
|
||||
cd src/MEGASync/mega
|
||||
if [ -e "${FILESDIR}/${P}_pdfium.patch" ]; then
|
||||
cd "${S}/src/MEGASync/mega"
|
||||
eapply -Np1 "${FILESDIR}/${P}_pdfium.patch"
|
||||
cd "${S}"
|
||||
fi
|
||||
if has_version ">=media-video/ffmpeg-4.4" && [ -e "${FILESDIR}/${P}_ffmpeg.patch" ]; then
|
||||
eapply "${FILESDIR}/${P}_ffmpeg.patch"
|
||||
fi
|
||||
if use dolphin; then
|
||||
# use the kde5 CMakeLists instead of the kde 4 version
|
||||
mv src/MEGAShellExtDolphin/CMakeLists_kde5.txt src/MEGAShellExtDolphin/CMakeLists.txt || die
|
||||
cmake_src_prepare
|
||||
else
|
||||
default
|
||||
fi
|
||||
cd "${S}/src/MEGASync/mega"
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
cd src/MEGASync/mega
|
||||
cd "${S}/src/MEGASync/mega"
|
||||
econf \
|
||||
"--disable-silent-rules" \
|
||||
"--disable-curl-checks" \
|
||||
@@ -101,7 +119,7 @@ src_configure() {
|
||||
$(use_enable python) \
|
||||
"--enable-chat" \
|
||||
"--enable-gcc-hardening"
|
||||
cd ../..
|
||||
cd "${S}/src"
|
||||
|
||||
local myeqmakeargs=(
|
||||
MEGA.pro
|
||||
|
||||
Reference in New Issue
Block a user