aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongxu Li <dongxuli2011@gmail.com>2013-09-03 09:26:47 -0400
committerDongxu Li <dongxuli2011@gmail.com>2013-09-03 09:26:47 -0400
commit9f5781b9e7b6464098062325ec3685f5810b7904 (patch)
treef660af24bc96959ec649144e99ee181ebd44964a /media-gfx
parentclean up (diff)
downloadsci-9f5781b9e7b6464098062325ec3685f5810b7904.tar.gz
sci-9f5781b9e7b6464098062325ec3685f5810b7904.tar.bz2
sci-9f5781b9e7b6464098062325ec3685f5810b7904.zip
version bump: 2.0.0_rc2
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/librecad/ChangeLog3
-rw-r--r--media-gfx/librecad/Manifest1
-rw-r--r--media-gfx/librecad/librecad-2.0.0_rc2.ebuild45
3 files changed, 49 insertions, 0 deletions
diff --git a/media-gfx/librecad/ChangeLog b/media-gfx/librecad/ChangeLog
index be52d5aad..3b1ab260f 100644
--- a/media-gfx/librecad/ChangeLog
+++ b/media-gfx/librecad/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
# $Header$
+ 3 Sept 2013: Dongxu Li <dongxuli2011@gmail.com> +librecad-2.0.0_rc2.ebuild:
+ Version bump 2.0.0_rc2
+
17 Jun 2013; S├ębastien Fabbro <bicatali@gentoo.org>
-files/1.0.0_rc2-gcc4.6.patch, -files/librecad-1.0.0_rc2-version.patch,
-librecad-1.0.2.ebuild, -librecad-2.0.0_beta5.ebuild,
diff --git a/media-gfx/librecad/Manifest b/media-gfx/librecad/Manifest
index d74adebb1..a903ee806 100644
--- a/media-gfx/librecad/Manifest
+++ b/media-gfx/librecad/Manifest
@@ -1,2 +1,3 @@
DIST librecad-1.0.3.tar.gz 4578450 SHA256 8c2f5a7e55a4ae41a9bd47e2e7981577c740edd526e1f305cd6cbf581d053f30 SHA512 5a8e6e612bc954f3af0dfc26d1fc19938c80e216ac252fb65a38a13651c6e2313d593a3ee834ecc98bbd72a4dfd28ef1c39dd9ed6a6f9140d28b765edb59bee9 WHIRLPOOL d8157af2021bba2cee626d023125045455a2fe5f453ae065c9660be61f4c0d687a1c72957d1af1aa640cfde3815625bb7d0899dc5541fcb82bfe0eea4cfad6c6
DIST librecad-2.0.0_rc1.zip 16210997 SHA256 9a5345463c19b64cf5f4e4f308460988a60ce4c8c8d311b08d16805fbec68f90 SHA512 b97eaf81050cfe06a7910ac3a7c64d7906dec3159ac3e5f24f92bd74e60d86c67b661b65fd6c258996043e8c4ae09b1d8d5cb92aea28b313eca10e54149abde1 WHIRLPOOL 768244e63bf34bfff259712fd1c5e9aee872eda496106bc8e33ab5f4c3f1c8c0131167984d55bf5d6e82d9af0e2cdb5e01a5d125f19749369679dfbf7bd60f5f
+DIST librecad-2.0.0_rc2.zip 16315454 SHA256 65c65a1f9200b9428be3033837513b6dba5b5405a43c32255d7bf27e3b3ecdfd SHA512 50c562389104373893ed695c3ed6366019136fc9d3ce137080fa1813bc671c36e82f2628e1c458479d8925a8f6e2af6934055c3354f65b9a8bb7c9cae18fc2b3 WHIRLPOOL 3f9a4c258da479276a48379b1a37ad8ec5bed2f3857b0c93af5a4d02613c18c95386008e0dfd0b18c7d2087f3086fbd43ce195e7f32ae07ab1909479b4d0e53a
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
+}