diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2022-09-16 15:20:05 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2022-09-16 15:20:19 +0200 |
commit | 4e7b11f93c975b7b07876aa747b80d183289a5f5 (patch) | |
tree | f60fef1d02e4d01b6d7f325984564e8c91439752 /app-misc/FreeSSM/FreeSSM-1.2.5_p20210702.ebuild | |
parent | dev-python/sphinx-basic-ng: Stabilize 0.0.1_alpha12 hppa, #869551 (diff) | |
download | gentoo-4e7b11f93c975b7b07876aa747b80d183289a5f5.tar.gz gentoo-4e7b11f93c975b7b07876aa747b80d183289a5f5.tar.bz2 gentoo-4e7b11f93c975b7b07876aa747b80d183289a5f5.zip |
app-misc/FreeSSM: new package
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'app-misc/FreeSSM/FreeSSM-1.2.5_p20210702.ebuild')
-rw-r--r-- | app-misc/FreeSSM/FreeSSM-1.2.5_p20210702.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/app-misc/FreeSSM/FreeSSM-1.2.5_p20210702.ebuild b/app-misc/FreeSSM/FreeSSM-1.2.5_p20210702.ebuild new file mode 100644 index 000000000000..a0c2947d8f02 --- /dev/null +++ b/app-misc/FreeSSM/FreeSSM-1.2.5_p20210702.ebuild @@ -0,0 +1,48 @@ +# 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" + +GIT_COMMIT="97576c03578ec8564b5db67d59fb52502ad7a932" +SRC_URI="https://github.com/Comer352L/FreeSSM/archive/${GIT_COMMIT}.tar.gz -> ${P}.tar.gz" +KEYWORDS="~amd64" + +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 +" + +S="${WORKDIR}/${PN}-${GIT_COMMIT}" + +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" +} |