diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-09-16 17:15:17 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-09-16 17:15:17 +0100 |
commit | 6e356edde093fb3589ab7a5859685e85c2873ab0 (patch) | |
tree | 5f17cc7bfbddda45678967fdc0a5f9f35fa9c02a /app-misc/FreeSSM/FreeSSM-9999.ebuild | |
parent | acb0389058b8ef612d851b1ab54fa37376c4b7f7 (diff) |
gentoo auto-resync : 16:09:2022 - 17:15:17
Diffstat (limited to 'app-misc/FreeSSM/FreeSSM-9999.ebuild')
-rw-r--r-- | app-misc/FreeSSM/FreeSSM-9999.ebuild | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/app-misc/FreeSSM/FreeSSM-9999.ebuild b/app-misc/FreeSSM/FreeSSM-9999.ebuild new file mode 100644 index 000000000000..916c0c65d2da --- /dev/null +++ b/app-misc/FreeSSM/FreeSSM-9999.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit qmake-utils desktop + +DESCRIPTION="Free and easy to use diagnostic and adjustment tool for SUBARUĀ® vehicles" +HOMEPAGE="https://github.com/Comer352L/FreeSSM" + +if [[ ${PV} == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/Comer352L/FreeSSM.git" +else + SRC_URI="https://github.com/Comer352L/FreeSSM/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64" +fi + +LICENSE="GPL-3" +SLOT="0" +IUSE="small-resolution" + +RDEPEND=" + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qtprintsupport:5 + dev-qt/qtwidgets:5 + media-libs/libglvnd +" +DEPEND=" + ${RDEPEND} + dev-qt/linguist-tools:5 +" + +src_configure() { + eqmake5 FreeSSM.pro $(usex small-resolution CONFIG+=small-resolution "") +} + +src_compile() { + emake release + emake translation +} + +src_install() { + local installdir="/usr/share/${PN}" + + eqmake5 INSTALLDIR="${D}${installdir}" + emake release-install + + make_desktop_entry "${installdir}/${PN}" ${PN} "${installdir}/${PN}.png" +} |