]> gitweb.fluxo.info Git - qutebrowser.git/commitdiff
Initial import
authorSilvio Rhatto <rhatto@riseup.net>
Wed, 20 Dec 2017 20:15:16 +0000 (18:15 -0200)
committerSilvio Rhatto <rhatto@riseup.net>
Wed, 20 Dec 2017 20:15:16 +0000 (18:15 -0200)
.gitmodules [new file with mode: 0644]
dist [new submodule]
qutebrowser [new file with mode: 0755]

diff --git a/.gitmodules b/.gitmodules
new file mode 100644 (file)
index 0000000..f8fe056
--- /dev/null
@@ -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 (submodule)
index 0000000..5c00eea
--- /dev/null
+++ b/dist
@@ -0,0 +1 @@
+Subproject commit 5c00eea122eaf4c645c2eec3b3e01b9ee18c02e0
diff --git a/qutebrowser b/qutebrowser
new file mode 100755 (executable)
index 0000000..2a22afd
--- /dev/null
@@ -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