tkurbad-overlay/sci-electronics/pcb2gcodegui/pcb2gcodegui-9999.ebuild

44 lines
864 B
Bash
Raw Normal View History

2017-10-12 20:29:16 +02:00
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
2021-02-03 12:36:12 +01:00
EAPI=7
2017-10-12 20:29:16 +02:00
MY_PN="pcb2gcodeGUI"
MY_P="${MY_PN}-${PV}"
inherit qmake-utils eutils
if [[ ${PV} == "9999" ]]; then
EGIT_REPO_URI="https://github.com/pcb2gcode/pcb2gcodeGUI.git"
inherit git-r3
else
SRC_URI="https://github.com/pcb2gcode/pcb2gcodeGUI/archive/v${PV} -> ${MY_P}"
KEYWORDS="~amd64 ~x86"
fi
DESCRIPTION="A GUI for pcb2gcode."
HOMEPAGE="https://github.com/pcb2gcode/pcb2gcodeGUI"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND="dev-qt/qtconcurrent:5
dev-qt/qtcore:5
dev-qt/qtgui:5
dev-qt/qtwidgets:5
2021-02-03 12:36:12 +01:00
dev-qt/qtsvg:5
sci-electronics/pcb2gcode:="
2017-10-12 20:29:16 +02:00
DEPEND="${RDEPEND}"
DOCS="LICENSE README.md"
src_configure() {
eqmake5 PREFIX=/usr ${MY_PN}.pro
}
src_install() {
INSTALL_ROOT="${D}" default
}