# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 inherit flag-o-matic qmake-utils xdg DESCRIPTION="Tool for online rehearsal, jamming, making music together" HOMEPAGE="https://jamulus.io/" SRC_URI="https://github.com/corrados/jamulus/archive/r${PV//./_}.tar.gz -> ${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64" RDEPEND=" dev-qt/qtdeclarative:5 media-sound/jack2[dbus] dev-qt/qtconcurrent dev-qt/qtcore:5 dev-qt/qtnetwork:5 dev-qt/qtgui:5 dev-qt/qtwidgets:5" # there might be more, unsure how to check? DEPEND="${RDEPEND}" src_configure() { # Unsure whether setting prefix like this is OK # The install step however does not honor DESTDIR, so we # have to make sure this happens in the config step already eqmake5 PREFIX=${D}/usr ${PN^}.pro } # transform strange versioning string jamulus-r3_6_2 S="${WORKDIR}/${PN}-r${PV//./_}" src_compile() { emake }