# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 PYTHON_COMPAT=( python3_{8..12} ) inherit python-single-r1 unpacker DESCRIPTION="Deepin Wine Helper" HOMEPAGE="https://www.deepin.org" COMMON_URI="https://home-store-packages.uniontech.com/appstore/pool/appstore/d" SRC_URI="${COMMON_URI}/${PN}/${PN}_${PV}-1_i386.deb" LICENSE="LGPL-2.1" SLOT="0" KEYWORDS="~amd64" REQUIRED_USE="${PYTHON_REQUIRED_USE}" RESTRICT="test" RDEPEND=" ${PYTHON_DEPS} " DEPEND="${RDEPEND}" S=${WORKDIR} QA_PREBUILT="opt/deepinwine/*" QA_FLAGS_IGNORED="opt/deepinwine/*" src_install() { python_fix_shebang -f "opt/deepinwine/tools/add_hotkeys" python_fix_shebang -f "opt/deepinwine/tools/get_tray_window" insinto / doins -r opt fperms +x -R /opt/deepinwine/tools/ }