# Copyright 2019-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 inherit desktop unpacker xdg DESCRIPTION="The decentralized bitcoin exchange (non-atomic, with arbitration)" HOMEPAGE="https://bisq.network/ https://github.com/bisq-network/exchange/" SRC_URI="https://bisq.network/downloads/v${PV}/Bisq-64bit-${PV}.deb" S="${WORKDIR}" LICENSE="AGPL-3" SLOT="0" KEYWORDS="~amd64" RESTRICT="mirror strip" DEPEND=" dev-java/openjfx net-libs/libnet virtual/jre:* x11-libs/gtk+:3" # Bundled java, and seems to mostly work without an old ffmpeg QA_PREBUILT="opt/Bisq/Bisq opt/Bisq/libpackager.so opt/Bisq/runtime/*" REQUIRES_EXCLUDE="libgstreamer-lite.so libavplugin-53.so libavplugin-54.so libavplugin-55.so libavplugin-56.so libavplugin-57.so libavplugin-ffmpeg-56.so libavplugin-ffmpeg-57.so" src_compile() { : } src_install() { cp -ar "${S}"/opt/ "${ED}"/opt/ dosym ../bisq/bin/Bisq /opt/bin/Bisq domenu opt/bisq/lib/bisq-Bisq.desktop doicon opt/bisq/lib/Bisq.png }