commit: 9a9346310003f71fafcd0e7cd059b1942d2eaf33 Author: Dongxu Li <dli <AT> tamaggo <DOT> com> AuthorDate: Mon Jun 2 16:10:29 2014 +0000 Commit: Justin Lecher <jlec <AT> gentoo <DOT> org> CommitDate: Sun Aug 3 16:57:20 2014 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sci.git;a=commit;h=9a934631
media-gfx/librecad: version bump 2.0.4 --- media-gfx/librecad/ChangeLog | 3 +++ media-gfx/librecad/librecad-2.0.4.ebuild | 45 ++++++++++++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/media-gfx/librecad/ChangeLog b/media-gfx/librecad/ChangeLog index 59eae43..d2d052f 100644 --- a/media-gfx/librecad/ChangeLog +++ b/media-gfx/librecad/ChangeLog @@ -2,6 +2,9 @@ # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 # $Header$ + 2 Jun 2014; Dongxu Li <dongxuli2...@gmail.com> +librecad-2.0.4.ebuild: + Version bump: 2.0.4 + 23 Mar 2014; Dongxu Li <dongxuli2...@gmail.com> +librecad-2.0.3.ebuild: Version bump: 2.0.3 diff --git a/media-gfx/librecad/librecad-2.0.4.ebuild b/media-gfx/librecad/librecad-2.0.4.ebuild new file mode 100644 index 0000000..565c341 --- /dev/null +++ b/media-gfx/librecad/librecad-2.0.4.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 + +inherit qt4-r2 eutils flag-o-matic + +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="debug doc 3d" + +DEPEND=" + dev-qt/qtgui:4 + dev-qt/qthelp:4 + dev-qt/qtsvg:4 + dev-libs/boost + dev-cpp/muParser + media-libs/freetype + " +RDEPEND="${DEPEND}" + +src_unpack() { + unpack ${A} + mv * ${P} +} + +src_prepare() { + # currently RS_VECTOR3D causes an internal compiler error on GCC-4.8 + use 3d || sed -i -e '/RS_VECTOR2D/ s/^#//' librecad/src/src.pro +} + +src_install() { + dobin unix/librecad + insinto /usr/share/${PN} + doins -r unix/resources/* + use doc && dohtml -r support/doc/* + doicon librecad/res/main/${PN}.png + make_desktop_entry ${PN} LibreCAD ${PN} Graphics +}