diff options
author | Dongxu Li <dongxuli2011@gmail.com> | 2013-09-03 09:26:47 -0400 |
---|---|---|
committer | Dongxu Li <dongxuli2011@gmail.com> | 2013-09-03 09:26:47 -0400 |
commit | 9f5781b9e7b6464098062325ec3685f5810b7904 (patch) | |
tree | f660af24bc96959ec649144e99ee181ebd44964a /media-gfx/librecad/librecad-2.0.0_rc2.ebuild | |
parent | clean up (diff) | |
download | sci-9f5781b9e7b6464098062325ec3685f5810b7904.tar.gz sci-9f5781b9e7b6464098062325ec3685f5810b7904.tar.bz2 sci-9f5781b9e7b6464098062325ec3685f5810b7904.zip |
version bump: 2.0.0_rc2
Diffstat (limited to 'media-gfx/librecad/librecad-2.0.0_rc2.ebuild')
-rw-r--r-- | media-gfx/librecad/librecad-2.0.0_rc2.ebuild | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/media-gfx/librecad/librecad-2.0.0_rc2.ebuild b/media-gfx/librecad/librecad-2.0.0_rc2.ebuild new file mode 100644 index 000000000..7017bccb8 --- /dev/null +++ b/media-gfx/librecad/librecad-2.0.0_rc2.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2013 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 +} |