diff options
author | 2018-01-15 22:54:35 +0100 | |
---|---|---|
committer | 2018-01-15 23:01:19 +0100 | |
commit | ff6616c7cc53ae69c9b56ccf8b97b79d9c4baf8a (patch) | |
tree | 7a059adb838a5fa74380046208249ef817ef7b2f /media-gfx | |
parent | app-shells/hstr: version bump. (diff) | |
download | gentoo-ff6616c7cc53ae69c9b56ccf8b97b79d9c4baf8a.tar.gz gentoo-ff6616c7cc53ae69c9b56ccf8b97b79d9c4baf8a.tar.bz2 gentoo-ff6616c7cc53ae69c9b56ccf8b97b79d9c4baf8a.zip |
media-gfx/librecad: Sync with 2.1.3-r2 ebuild
Bug: https://bugs.gentoo.org/631808
Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'media-gfx')
-rw-r--r-- | media-gfx/librecad/librecad-9999.ebuild | 25 |
1 files changed, 7 insertions, 18 deletions
diff --git a/media-gfx/librecad/librecad-9999.ebuild b/media-gfx/librecad/librecad-9999.ebuild index 4a1f2d51dc47..6122e6f4f0f7 100644 --- a/media-gfx/librecad/librecad-9999.ebuild +++ b/media-gfx/librecad/librecad-9999.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 @@ -13,16 +13,11 @@ EGIT_REPO_URI="https://github.com/LibreCAD/LibreCAD.git" LICENSE="GPL-2" SLOT="0" KEYWORDS="" + IUSE="3d debug doc tools qt4 +qt5" -REQUIRED_USE="|| ( qt4 qt5 )" +REQUIRED_USE="qt5" DEPEND=" - qt4? ( - dev-qt/qtcore:4 - dev-qt/qtgui:4 - dev-qt/qtsvg:4 - dev-qt/qthelp:4 - ) qt5? ( dev-qt/qtcore:5 dev-qt/qtgui:5 @@ -32,10 +27,9 @@ DEPEND=" dev-qt/qtwidgets:5 dev-qt/qtxml:5 ) - - dev-libs/boost + dev-libs/boost:= dev-cpp/muParser - media-libs/freetype" + media-libs/freetype:2" RDEPEND="${DEPEND}" S="${WORKDIR}/librecad-${PV}" @@ -46,12 +40,7 @@ src_prepare() { } src_configure() { - if use qt4 - then - eqmake4 -r - else - eqmake5 -r - fi + eqmake5 -r } src_install() { @@ -61,7 +50,7 @@ src_install() { doins -r unix/appdata insinto /usr/share/${PN} doins -r unix/resources/* - use doc && dohtml -r librecad/support/doc/* + use doc && insinto html && dodoc -r librecad/support/doc/* insinto /usr/share/appdata doins unix/appdata/librecad.appdata.xml doicon librecad/res/main/${PN}.png |