diff options
Diffstat (limited to 'media-gfx/librecad/librecad-9999.ebuild')
-rw-r--r-- | media-gfx/librecad/librecad-9999.ebuild | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/media-gfx/librecad/librecad-9999.ebuild b/media-gfx/librecad/librecad-9999.ebuild index 4c0e87ee95e3..04902b991e93 100644 --- a/media-gfx/librecad/librecad-9999.ebuild +++ b/media-gfx/librecad/librecad-9999.ebuild @@ -1,20 +1,29 @@ -# Copyright 1999-2018 Gentoo Foundation +# Copyright 1999-2020 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit desktop git-r3 qmake-utils +inherit desktop qmake-utils DESCRIPTION="Generic 2D CAD program" HOMEPAGE="https://www.librecad.org/" -EGIT_REPO_URI="https://github.com/LibreCAD/LibreCAD.git" + +if [[ ${PV} == *9999* ]]; then + EGIT_REPO_URI="https://github.com/LibreCAD/LibreCAD.git" + inherit git-r3 +else + SRC_URI="https://github.com/LibreCAD/LibreCAD/archive/${PV/_/}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/LibreCAD-${PV}" +fi LICENSE="GPL-2" SLOT="0" KEYWORDS="" - IUSE="3d debug doc tools" +BDEPEND=" + dev-qt/linguist-tools:5 +" RDEPEND=" dev-cpp/muParser dev-libs/boost:= @@ -23,15 +32,13 @@ RDEPEND=" dev-qt/qtprintsupport:5 dev-qt/qtsvg:5 dev-qt/qtwidgets:5 - media-libs/freetype:2" + media-libs/freetype:2 +" DEPEND="${RDEPEND} - dev-qt/linguist-tools:5 dev-qt/qthelp:5 dev-qt/qtxml:5 " -S="${WORKDIR}/LibreCAD-${PV}" - src_configure() { eqmake5 -r } |