<upstream>
<remote-id type="github">qutebrowser/qutebrowser</remote-id>
</upstream>
+ <use>
+ <flag name="scripts">Installs userscripts from the misc/userscripts
+ directory to /usr/share/qutebrowser/userscripts.</flag>
+ </use>
</pkgmetadata>
LICENSE="GPL-3"
SLOT="0"
-IUSE="test"
+IUSE="scripts test"
COMMON_DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
DEPEND="${COMMON_DEPEND}
domenu misc/${PN}.desktop
doicon -s scalable icons/${PN}.svg
+ if use scripts; then
+ # Install only those userscripts that have an explicit license header
+ exeinto /usr/share/qutebrowser/userscripts/
+ doexe misc/userscripts/dmenu_qutebrowser
+ doexe misc/userscripts/openfeeds
+ doexe misc/userscripts/qute-keepass
+ doexe misc/userscripts/qute-pass
+ doexe misc/userscripts/rss
+ doexe misc/userscripts/tor_identity
+ fi
+
distutils-r1_python_install_all
}
LICENSE="GPL-3"
SLOT="0"
-IUSE="test"
+IUSE="scripts test"
COMMON_DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
DEPEND="${COMMON_DEPEND}
domenu misc/${PN}.desktop
doicon -s scalable icons/${PN}.svg
+ if use scripts; then
+ # Install only those userscripts that have an explicit license header
+ exeinto /usr/share/qutebrowser/userscripts/
+ doexe misc/userscripts/dmenu_qutebrowser
+ doexe misc/userscripts/openfeeds
+ doexe misc/userscripts/qute-keepass
+ doexe misc/userscripts/qute-pass
+ doexe misc/userscripts/rss
+ doexe misc/userscripts/tor_identity
+ fi
+
distutils-r1_python_install_all
}
LICENSE="GPL-3"
SLOT="0"
-IUSE="test"
+IUSE="scripts test"
COMMON_DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
DEPEND="${COMMON_DEPEND}
domenu misc/org.${PN}.${PN}.desktop
doicon -s scalable icons/${PN}.svg
+ if use scripts; then
+ # Install only those userscripts that have an explicit license header
+ exeinto /usr/share/qutebrowser/userscripts/
+ doexe misc/userscripts/dmenu_qutebrowser
+ doexe misc/userscripts/openfeeds
+ doexe misc/userscripts/qute-keepass
+ doexe misc/userscripts/qute-pass
+ doexe misc/userscripts/rss
+ doexe misc/userscripts/tor_identity
+ fi
+
distutils-r1_python_install_all
}