diff --git a/www-client/qutebrowser/patches/qutebrowser-1.6.1.patchset b/www-client/qutebrowser/patches/qutebrowser-1.6.1.patchset new file mode 100644 index 000000000..b9a7c6079 --- /dev/null +++ b/www-client/qutebrowser/patches/qutebrowser-1.6.1.patchset @@ -0,0 +1,21 @@ +From f5ae4bd3113ca1d31be0f48887e39092e351dd85 Mon Sep 17 00:00:00 2001 +From: Gerasim Troeglazov <3dEyes@gmail.com> +Date: Sun, 21 Apr 2019 22:13:29 +1000 +Subject: Disable OpenGL + + +diff --git a/qutebrowser/misc/earlyinit.py b/qutebrowser/misc/earlyinit.py +index b29e150..ecb2d23 100644 +--- a/qutebrowser/misc/earlyinit.py ++++ b/qutebrowser/misc/earlyinit.py +@@ -234,7 +234,6 @@ def check_libraries(): + 'attr': _missing_str("attrs"), + 'PyQt5.QtQml': _missing_str("PyQt5.QtQml"), + 'PyQt5.QtSql': _missing_str("PyQt5.QtSql"), +- 'PyQt5.QtOpenGL': _missing_str("PyQt5.QtOpenGL"), + } + _check_modules(modules) + +-- +2.21.0 + diff --git a/www-client/qutebrowser/qutebrowser-1.5.2.recipe b/www-client/qutebrowser/qutebrowser-1.6.1.recipe similarity index 92% rename from www-client/qutebrowser/qutebrowser-1.5.2.recipe rename to www-client/qutebrowser/qutebrowser-1.6.1.recipe index 2ab37c1b3..c410e2505 100644 --- a/www-client/qutebrowser/qutebrowser-1.5.2.recipe +++ b/www-client/qutebrowser/qutebrowser-1.6.1.recipe @@ -3,11 +3,12 @@ DESCRIPTION="QuteBrowser is a keyboard-focused browser with a minimal GUI. \ It’s based on Python and PyQt5 and free software, licensed under the GPL. \ It was inspired by other browsers/addons like dwb and Vimperator/Pentadactyl." HOMEPAGE="https://qutebrowser.org/" -COPYRIGHT="2014-2018 Florian Bruhin (The Compiler)" +COPYRIGHT="2014-2019 Florian Bruhin (The Compiler)" LICENSE="GNU GPL v3" REVISION="1" SOURCE_URI="https://github.com/qutebrowser/qutebrowser/archive/v$portVersion.tar.gz" -CHECKSUM_SHA256="f953489c09d4ca5a61fe85cc9415252d47f548d55a81962c8b7a519b873f27f4" +CHECKSUM_SHA256="8af6612b0b09d65d1960a18ffbc6a036162f7923d6304fcabd28e6214b4bcc0b" +PATCHES="qutebrowser-$portVersion.patchset" PYTHON_VERSION="3.6" ADDITIONAL_FILES="qutebrowser.rdef.in" @@ -47,7 +48,7 @@ BUILD_PREREQUIRES=" BUILD() { - python=$portPackageLinksDir/cmd~python$PYTHON_VERSION/bin/python3 + python=$portPackageLinksDir/cmd~python$PYTHON_VERSION/bin/python$PYTHON_VERSION $python ./setup.py build $jobArgs } @@ -69,7 +70,7 @@ INSTALL() > qutebrowser.rdef # GENERIC: all python_setuptools-based installs need this - python=$portPackageLinksDir/cmd~python$PYTHON_VERSION/bin/python3 + python=$portPackageLinksDir/cmd~python$PYTHON_VERSION/bin/python$PYTHON_VERSION pythonVersion=$($python --version 2>&1 | sed 's/Python //' | head -c3) installLocation=$prefix/lib/python$pythonVersion/vendor-packages/ export PYTHONPATH=$installLocation:$PYTHONPATH