summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2017-12-20 18:15:16 -0200
committerSilvio Rhatto <rhatto@riseup.net>2017-12-20 18:15:16 -0200
commit3b2c8dfd3b5f64c5941d906ce005b68c81996504 (patch)
treec83a65f63adcdf7beb9db3a9bd324f96af794874
downloadqutebrowser-3b2c8dfd3b5f64c5941d906ce005b68c81996504.tar.gz
qutebrowser-3b2c8dfd3b5f64c5941d906ce005b68c81996504.tar.bz2
Initial import
-rw-r--r--.gitmodules3
m---------dist0
-rwxr-xr-xqutebrowser25
3 files changed, 28 insertions, 0 deletions
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000..f8fe056
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,3 @@
+[submodule "dist"]
+ path = dist
+ url = https://github.com/qutebrowser/qutebrowser.git
diff --git a/dist b/dist
new file mode 160000
+Subproject 5c00eea122eaf4c645c2eec3b3e01b9ee18c02e
diff --git a/qutebrowser b/qutebrowser
new file mode 100755
index 0000000..2a22afd
--- /dev/null
+++ b/qutebrowser
@@ -0,0 +1,25 @@
+#!/bin/bash
+#
+# Wrapper for qutebrowser
+#
+
+if [ -x "$HOME/apps/qutebrowser/dist/.venv/bin/python3" ]; then
+ # See http://qutebrowser.org/doc/install.html#tox
+ #export LD_LIBRARY_PATH=/usr/lib/openssl-1.0
+ $HOME/apps/qutebrowser/dist/.venv/bin/python3 -m qutebrowser "$@"
+else
+ # Grab quebrowser source
+ git submodule update --init
+
+ # Check for tox
+ if ! which tox &> /dev/null; then
+ sudo apt install tox
+ fi
+
+ # Build qutebrowser
+ cd qutebrowser
+ tox -e mkvenv-pypi
+
+ # Run this script again
+ $0
+fi