diff options
author | 2014-01-30 07:21:24 +0000 | |
---|---|---|
committer | 2014-01-30 07:21:24 +0000 | |
commit | 2a0b037019722611c2b536463a1a305c81206b96 (patch) | |
tree | 786022acb9121dd4c54ab00297c456874332e797 /media-gfx/librecad | |
parent | Version bump (bug #499734). (diff) | |
download | gentoo-2-2a0b037019722611c2b536463a1a305c81206b96.tar.gz gentoo-2-2a0b037019722611c2b536463a1a305c81206b96.tar.bz2 gentoo-2-2a0b037019722611c2b536463a1a305c81206b96.zip |
Fixed #499104
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0x55265D89)
Diffstat (limited to 'media-gfx/librecad')
-rw-r--r-- | media-gfx/librecad/ChangeLog | 8 | ||||
-rw-r--r-- | media-gfx/librecad/files/gcc_cpp0x.patch | 13 | ||||
-rw-r--r-- | media-gfx/librecad/librecad-2.0.2-r1.ebuild | 42 |
3 files changed, 62 insertions, 1 deletions
diff --git a/media-gfx/librecad/ChangeLog b/media-gfx/librecad/ChangeLog index 8e1259c4e08d..979346fa085e 100644 --- a/media-gfx/librecad/ChangeLog +++ b/media-gfx/librecad/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-gfx/librecad # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/librecad/ChangeLog,v 1.1 2014/01/23 10:48:50 slis Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/librecad/ChangeLog,v 1.2 2014/01/30 07:21:24 slis Exp $ + +*librecad-2.0.2-r1 (30 Jan 2014) + + 30 Jan 2014; Sławek Lis <slis@gentoo.org> +files/gcc_cpp0x.patch, + +librecad-2.0.2-r1.ebuild: + Fixed #499104 *librecad-2.0.2 (23 Jan 2014) diff --git a/media-gfx/librecad/files/gcc_cpp0x.patch b/media-gfx/librecad/files/gcc_cpp0x.patch new file mode 100644 index 000000000000..1d145a5ba65e --- /dev/null +++ b/media-gfx/librecad/files/gcc_cpp0x.patch @@ -0,0 +1,13 @@ +--- LibreCAD-2.0.2/common.pri 2014-01-09 18:31:10.000000000 +0000 ++++ LibreCAD-2.0.2/common.pri.gcc46 2014-01-24 09:27:48.886665241 +0000 +@@ -59,8 +59,8 @@ + + # c++11 is now obligatory for LibreCAD + message(We will be using CPP11 features) +-QMAKE_CXXFLAGS_DEBUG += -std=c++11 -g +-QMAKE_CXXFLAGS += -std=c++11 -g ++QMAKE_CXXFLAGS_DEBUG += -std=c++0x -g ++QMAKE_CXXFLAGS += -std=c++0x -g + + # svg support + QT += svg diff --git a/media-gfx/librecad/librecad-2.0.2-r1.ebuild b/media-gfx/librecad/librecad-2.0.2-r1.ebuild new file mode 100644 index 000000000000..d46b02433e37 --- /dev/null +++ b/media-gfx/librecad/librecad-2.0.2-r1.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/librecad/librecad-2.0.2-r1.ebuild,v 1.1 2014/01/30 07:21:24 slis Exp $ + +EAPI=5 + +inherit eutils qt4-r2 + +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" +IUSE="debug doc tools" + +DEPEND=" + dev-cpp/muParser + dev-qt/qtgui:4 + dev-qt/qthelp:4 + dev-qt/qtsvg:4 + dev-libs/boost + media-libs/freetype + " +RDEPEND="${DEPEND}" + +S="${WORKDIR}/LibreCAD-${PV}" + +src_prepare() { + epatch "${FILESDIR}/gcc_cpp0x.patch" +} + +src_install() { + dobin unix/librecad + use tools && dobin unix/ttf2lff + insinto /usr/share/${PN} + doins -r unix/resources/* + use doc && dohtml -r librecad/support/doc/* + doicon librecad/res/main/${PN}.png + make_desktop_entry ${PN} LibreCAD ${PN} Graphics +}
\ No newline at end of file |