From: Silvio Rhatto Date: Wed, 20 Dec 2017 20:15:16 +0000 (-0200) Subject: Initial import X-Git-Url: https://gitweb.fluxo.info/?a=commitdiff_plain;h=3b2c8dfd3b5f64c5941d906ce005b68c81996504;p=qutebrowser.git Initial import --- 3b2c8dfd3b5f64c5941d906ce005b68c81996504 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 index 0000000..5c00eea --- /dev/null +++ b/dist @@ -0,0 +1 @@ +Subproject commit 5c00eea122eaf4c645c2eec3b3e01b9ee18c02e0 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