From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 61205139084 for ; Mon, 27 Nov 2017 06:50:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8C791E0CB8; Mon, 27 Nov 2017 06:50:14 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 69E37E0CB8 for ; Mon, 27 Nov 2017 06:50:14 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C56DF33FE2A for ; Mon, 27 Nov 2017 06:50:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E1289A908 for ; Mon, 27 Nov 2017 06:50:09 +0000 (UTC) From: "Slawek Lis" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Slawek Lis" Message-ID: <1511765389.1def1ab69db8cc2d7cf8fdcd9fc06018d1f4479e.slis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/librecad/ X-VCS-Repository: repo/gentoo X-VCS-Files: media-gfx/librecad/librecad-2.1.3-r2.ebuild X-VCS-Directories: media-gfx/librecad/ X-VCS-Committer: slis X-VCS-Committer-Name: Slawek Lis X-VCS-Revision: 1def1ab69db8cc2d7cf8fdcd9fc06018d1f4479e X-VCS-Branch: master Date: Mon, 27 Nov 2017 06:50:09 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: e2891885-ebdf-4f3b-92cf-812e1b449ffa X-Archives-Hash: 72ce51afc6b983662e7669e31d69fe8c commit: 1def1ab69db8cc2d7cf8fdcd9fc06018d1f4479e Author: Slawomir Lis gentoo org> AuthorDate: Mon Nov 27 06:48:37 2017 +0000 Commit: Slawek Lis gentoo org> CommitDate: Mon Nov 27 06:49:49 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1def1ab6 media-gfx/librecad: updated to version without qt4 librecad-2.1.3-r1 is marked stable, so new revision without qt4 added. Reported in https://bugs.gentoo.org/631808 Package-Manager: Portage-2.3.16, Repoman-2.3.6 media-gfx/librecad/librecad-2.1.3-r2.ebuild | 59 +++++++++++++++++++++++++++++ 1 file changed, 59 insertions(+) diff --git a/media-gfx/librecad/librecad-2.1.3-r2.ebuild b/media-gfx/librecad/librecad-2.1.3-r2.ebuild new file mode 100644 index 00000000000..517916041bd --- /dev/null +++ b/media-gfx/librecad/librecad-2.1.3-r2.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils qmake-utils + +DESCRIPTION="Generic 2D CAD program" +HOMEPAGE="http://www.librecad.org/" +SRC_URI="https://github.com/LibreCAD/LibreCAD/archive/${PV/_/}.zip -> ${P}.zip" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" + +IUSE="3d debug doc tools qt4 +qt5" +REQUIRED_USE="qt5" + +DEPEND=" + qt5? ( + dev-qt/qtcore:5 + dev-qt/qtgui:5 + dev-qt/qthelp:5 + dev-qt/qtprintsupport:5 + dev-qt/qtsvg:5 + dev-qt/qtwidgets:5 + dev-qt/qtxml:5 + ) + dev-libs/boost:= + dev-cpp/muParser + media-libs/freetype:2" + +RDEPEND="${DEPEND}" +S="${WORKDIR}/LibreCAD-${PV}" + +src_prepare() { +# epatch "${FILESDIR}/iota-fix-2.1.1.patch" + + # currently RS_VECTOR3D causes an internal compiler error on GCC-4.8 + if ! use 3d; then + sed -i -e '/RS_VECTOR2D/ s/^#//' librecad/src/src.pro || die + fi +} + +src_configure() { + eqmake5 -r +} + +src_install() { + dobin unix/librecad + use tools && dobin unix/ttf2lff + insinto /usr/share/${PN} + doins -r unix/resources/* + 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 + make_desktop_entry ${PN} LibreCAD ${PN} Graphics +}