pentoo-overlay/app-crypt/yubioath-desktop/yubioath-desktop-5.0.1-r2.ebuild
Rick Farina (Zero_Chaos) 7523d73d48
sed -i 's#PYTHON_USEDEP#PYTHON_SINGLE_USEDEP#g' app-antivirus/veil/veil-3.1.11-r1.ebuild
app-antivirus/veil/veil-3.1.12.ebuild
app-crypt/yubioath-desktop/yubioath-desktop-5.0.1-r2.ebuild
app-crypt/yubioath-desktop/yubioath-desktop-5.0.1-r2.ebuild
app-crypt/yubioath-desktop/yubioath-desktop-9999.ebuild
app-crypt/yubioath-desktop/yubioath-desktop-9999.ebuild
app-crypt/yubioath-desktop/yubioath-desktop-5.0.2.ebuild
app-crypt/yubioath-desktop/yubioath-desktop-5.0.2.ebuild
app-exploits/the-backdoor-factory/the-backdoor-factory-3.4.2-r2.ebuild
app-exploits/the-backdoor-factory/the-backdoor-factory-3.4.2-r2.ebuild
app-exploits/weevely/weevely-9999.ebuild
app-exploits/weevely/weevely-9999.ebuild
app-exploits/empire/empire-3.0.6.ebuild
app-exploits/empire/empire-3.0.6.ebuild
app-exploits/empire/empire-3.0.7.ebuild
app-exploits/empire/empire-3.0.7.ebuild
app-exploits/wesng/wesng-99999999.ebuild
app-exploits/wesng/wesng-99999999.ebuild
app-forensics/libvshadow/libvshadow-20191221.ebuild
app-forensics/spiderfoot/spiderfoot-3.0.ebuild
app-forensics/spiderfoot/spiderfoot-3.0.ebuild
app-forensics/fuxploider/fuxploider-1.0.ebuild
app-forensics/fuxploider/fuxploider-1.0.ebuild
app-forensics/fuxploider/fuxploider-9999.ebuild
app-forensics/fuxploider/fuxploider-9999.ebuild
dev-db/sqlmap/sqlmap-9999.ebuild
dev-db/sqlmap/sqlmap-9999.ebuild
dev-embedded/libmpsse/libmpsse-1.3.2.ebuild
dev-embedded/libmpsse/libmpsse-1.3_p20160602.ebuild
dev-libs/radare2-bindings/radare2-bindings-3.3.0.ebuild
dev-libs/radare2-bindings/radare2-bindings-3.6.0.ebuild
dev-libs/radare2-bindings/radare2-bindings-4.0.0.ebuild
dev-libs/hashdb/hashdb-3.1.0-r1.ebuild
dev-libs/hashdb/hashdb-3.1.0-r1.ebuild
dev-libs/libvhdi/libvhdi-20181227.ebuild
dev-libs/libvhdi/libvhdi-20191221.ebuild
dev-libs/libvmdk/libvmdk-20181227.ebuild
dev-libs/libvmdk/libvmdk-20191221.ebuild
dev-util/appmon/appmon-0.5.ebuild
dev-util/mobsf/mobsf-3.0.1.ebuild
dev-util/mobsf/mobsf-3.0.1.ebuild
net-analyzer/geoedge/geoedge-0.2-r2.ebuild
net-analyzer/metagoofil/metagoofil-1.4b-r1.ebuild
net-analyzer/metagoofil/metagoofil-2.2.ebuild
net-analyzer/polenum/polenum-1.6.ebuild
net-analyzer/sipvicious/sipvicious-0.2.8-r4.ebuild
net-analyzer/subdomainer/subdomainer-1.3-r2.ebuild
net-analyzer/ham2mon/ham2mon-20170603.ebuild
net-analyzer/cipherscan/cipherscan-20180519.ebuild
net-analyzer/commix/commix-2.8.ebuild
net-analyzer/commix/commix-2.9.ebuild
net-analyzer/commix/commix-3.0.ebuild
net-analyzer/xsstrike/xsstrike-3.1.5.ebuild
net-analyzer/xsstrike/xsstrike-3.1.5.ebuild
net-analyzer/xsstrike/xsstrike-9999.ebuild
net-analyzer/xsstrike/xsstrike-9999.ebuild
net-analyzer/responder/responder-3.0.0.0-r1.ebuild
net-analyzer/responder/responder-3.0.0.0-r1.ebuild
net-analyzer/tplmap/tplmap-20190820.ebuild
net-analyzer/tplmap/tplmap-20190820.ebuild
net-analyzer/GyoiThon/GyoiThon-9999.ebuild
net-analyzer/pret/pret-20180611.ebuild
net-analyzer/dirsearch/dirsearch-0.3.8-r1.ebuild
net-analyzer/dirsearch/dirsearch-0.3.8-r1.ebuild
net-analyzer/dirsearch/dirsearch-0.3.9.ebuild
net-analyzer/dirsearch/dirsearch-0.3.9.ebuild
net-analyzer/iposint/iposint-20190615.ebuild
net-analyzer/iposint/iposint-20190615.ebuild
net-analyzer/set/set-8.0.1.ebuild
net-analyzer/sublert/sublert-1.4.7_p20190810.ebuild
net-analyzer/sublert/sublert-1.4.7_p20190810.ebuild
net-analyzer/bolt/bolt-9999.ebuild
net-analyzer/bolt/bolt-9999.ebuild
net-analyzer/nmap/nmap-7.80-r1.ebuild
net-analyzer/nmap/nmap-7.80-r1.ebuild
net-dialup/freeradius/freeradius-3.0.19-r1.ebuild
net-dialup/freeradius/freeradius-3.0.19-r1.ebuild
net-misc/munin/munin-0.14.1-r1.ebuild
net-misc/munin/munin-0.14.1-r1.ebuild
net-misc/munin/munin-9999.ebuild
net-misc/munin/munin-9999.ebuild
net-misc/brutespray/brutespray-1.6.4.ebuild
net-misc/corscanner/corscanner-99999999.ebuild
net-misc/corscanner/corscanner-99999999.ebuild
net-misc/corstest/corstest-99999999.ebuild
net-misc/sherlock/sherlock-9999.ebuild
net-misc/sherlock/sherlock-9999.ebuild
net-proxy/mallory/mallory-0.2.0_p20130109.ebuild
net-wireless/fern-wifi-cracker/fern-wifi-cracker-3.0.ebuild
net-wireless/fern-wifi-cracker/fern-wifi-cracker-3.0.ebuild
net-wireless/gr-dsd/gr-dsd-9999.ebuild
net-wireless/gr-gsm/gr-gsm-9999.ebuild
net-wireless/op25/op25-9999.ebuild
net-wireless/op25/op25-9999.ebuild
net-wireless/wifi-pumpkin/wifi-pumpkin-0.8.8-r2.ebuild
net-wireless/wifitap/wifitap-0.4.2-r1.ebuild
net-wireless/wifitap/wifitap-0.4.2-r1.ebuild
net-wireless/gr-air-modes/gr-air-modes-20191016.ebuild
net-wireless/gr-air-modes/gr-air-modes-20191016.ebuild
net-wireless/gnuradio/gnuradio-3.8.0.0.ebuild
net-wireless/gr-iqbal/gr-iqbal-0.37.2_p20191204.ebuild
sci-electronics/pcie_injector/pcie_injector-20180527.ebuild
sys-apps/razercfg/razercfg-0.41.ebuild
sys-apps/razercfg/razercfg-0.41-r1.ebuild
sys-apps/razercfg/razercfg-0.41-r1.ebuild
sys-devel/gdb-dashboard/gdb-dashboard-9999.ebuild
sys-devel/gdb-dashboard/gdb-dashboard-9999.ebuild
sys-devel/peda/peda-9999.ebuild
sys-devel/peda/peda-9999.ebuild
sys-devel/gef/gef-99999999.ebuild
sys-devel/gef/gef-99999999.ebuild
sys-devel/pwndbg/pwndbg-99999999.ebuild
sys-devel/pwndbg/pwndbg-99999999.ebuild
www-apps/Tiredful-API/Tiredful-API-9999.ebuild
www-apps/seafile-pro-server/seafile-pro-server-7.0.13.ebuild
2020-02-12 12:22:56 -05:00

72 lines
1.5 KiB
Bash

# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{5,6} )
inherit eutils desktop python-single-r1 qmake-utils xdg-utils
DESCRIPTION="Library and tool for personalization of Yubico's YubiKey NEO"
HOMEPAGE="https://developers.yubico.com/yubioath-desktop/ https://github.com/Yubico/yubioath-desktop"
if [[ ${PV} == *9999 ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/Yubico/yubioath-desktop"
else
SRC_URI="https://github.com/Yubico/yubioath-desktop/archive/${P}.tar.gz"
KEYWORDS="~amd64"
S="${WORKDIR}/${PN}-${P}"
fi
SLOT=0
LICENSE="BSD-2"
DEPEND="
dev-qt/qtcore:5
dev-qt/qtquickcontrols2:5
dev-qt/qtdeclarative:5
dev-qt/qtwidgets:5
dev-qt/qtgui:5
dev-qt/qtnetwork:5
x11-libs/libdrm"
RDEPEND="${DEPEND}
>=app-crypt/yubikey-manager-2.1.1[${PYTHON_SINGLE_USEDEP}]
dev-python/pyotherside[${PYTHON_SINGLE_USEDEP}]
dev-python/pycopy-binascii[${PYTHON_SINGLE_USEDEP}]"
pkg_setup() {
python-single-r1_pkg_setup
}
src_prepare() {
sed -i \
-e "s:python build_qrc.py:${PYTHON} build_qrc.py:" \
$(qmake-utils_find_pro_file) || die
python_fix_shebang "${S}"
default
}
src_configure() {
eqmake5 $(qmake-utils_find_pro_file)
}
src_install() {
emake INSTALL_ROOT="${D}" install
domenu resources/yubioath-desktop.desktop
doicon resources/icons/yubioath.png
}
pkg_postinst() {
xdg_icon_cache_update
xdg_desktop_database_update
}
pkg_postrm() {
xdg_icon_cache_update
xdg_desktop_database_update
}