QuteBrowser: bump version

* disable opengl
* fix python path
This commit is contained in:
Gerasim Troeglazov
2019-04-21 22:22:27 +10:00
parent 9a10c5e06c
commit e9478a745e
2 changed files with 26 additions and 4 deletions

View File

@@ -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

View File

@@ -3,11 +3,12 @@ DESCRIPTION="QuteBrowser is a keyboard-focused browser with a minimal GUI. \
Its based on Python and PyQt5 and free software, licensed under the GPL. \ Its based on Python and PyQt5 and free software, licensed under the GPL. \
It was inspired by other browsers/addons like dwb and Vimperator/Pentadactyl." It was inspired by other browsers/addons like dwb and Vimperator/Pentadactyl."
HOMEPAGE="https://qutebrowser.org/" HOMEPAGE="https://qutebrowser.org/"
COPYRIGHT="2014-2018 Florian Bruhin (The Compiler)" COPYRIGHT="2014-2019 Florian Bruhin (The Compiler)"
LICENSE="GNU GPL v3" LICENSE="GNU GPL v3"
REVISION="1" REVISION="1"
SOURCE_URI="https://github.com/qutebrowser/qutebrowser/archive/v$portVersion.tar.gz" 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" PYTHON_VERSION="3.6"
ADDITIONAL_FILES="qutebrowser.rdef.in" ADDITIONAL_FILES="qutebrowser.rdef.in"
@@ -47,7 +48,7 @@ BUILD_PREREQUIRES="
BUILD() BUILD()
{ {
python=$portPackageLinksDir/cmd~python$PYTHON_VERSION/bin/python3 python=$portPackageLinksDir/cmd~python$PYTHON_VERSION/bin/python$PYTHON_VERSION
$python ./setup.py build $jobArgs $python ./setup.py build $jobArgs
} }
@@ -69,7 +70,7 @@ INSTALL()
> qutebrowser.rdef > qutebrowser.rdef
# GENERIC: all python_setuptools-based installs need this # 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) pythonVersion=$($python --version 2>&1 | sed 's/Python //' | head -c3)
installLocation=$prefix/lib/python$pythonVersion/vendor-packages/ installLocation=$prefix/lib/python$pythonVersion/vendor-packages/
export PYTHONPATH=$installLocation:$PYTHONPATH export PYTHONPATH=$installLocation:$PYTHONPATH