commit:     ff6616c7cc53ae69c9b56ccf8b97b79d9c4baf8a
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 15 21:54:35 2018 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Jan 15 22:01:19 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff6616c7

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

 media-gfx/librecad/librecad-9999.ebuild | 25 +++++++------------------
 1 file changed, 7 insertions(+), 18 deletions(-)

diff --git a/media-gfx/librecad/librecad-9999.ebuild 
b/media-gfx/librecad/librecad-9999.ebuild
index 4a1f2d51dc4..6122e6f4f0f 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

Reply via email to