aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongxu Li <dongxuli2011@gmail.com>2012-04-15 23:00:05 -0400
committerDongxu Li <dongxuli2011@gmail.com>2012-04-15 23:00:05 -0400
commit8a5be5713771beae797ed7f2c948ba653d89bb3b (patch)
tree53309dd0caaa0c2837d912621b3aa65aab469aaa /media-gfx/librecad
parentMerge git+ssh://git.overlays.gentoo.org/proj/sci (diff)
downloadsci-8a5be5713771beae797ed7f2c948ba653d89bb3b.tar.gz
sci-8a5be5713771beae797ed7f2c948ba653d89bb3b.tar.bz2
sci-8a5be5713771beae797ed7f2c948ba653d89bb3b.zip
media-gfx/librecad: version bumped 1.0.2 2.0.0_alpha3
Diffstat (limited to 'media-gfx/librecad')
-rw-r--r--media-gfx/librecad/ChangeLog3
-rw-r--r--media-gfx/librecad/Manifest3
-rw-r--r--media-gfx/librecad/librecad-1.0.2.ebuild (renamed from media-gfx/librecad/librecad-1.0.0.ebuild)7
-rw-r--r--media-gfx/librecad/librecad-2.0.0_alpha3.ebuild49
-rw-r--r--media-gfx/librecad/librecad-9999.ebuild4
5 files changed, 61 insertions, 5 deletions
diff --git a/media-gfx/librecad/ChangeLog b/media-gfx/librecad/ChangeLog
index 6e9731f59..bbb22beff 100644
--- a/media-gfx/librecad/ChangeLog
+++ b/media-gfx/librecad/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
# $Header$
+ 15 Apr 2012; Dongxu Li <dongxuli2011@gmail.com> +librecad-2.0.0_alpha3.ebuild +librecad-1.0.2.ebuild
+ Version bumped to 2.0.0_alpha3, 1.0.2
+
1 Apr 2012; Dongxu Li <dongxuli2011@gmail.com> -librecad-2.0.0_alpha1.ebuild +librecad-2.0.0_alpha2.ebuidl librecad-9999.ebuild
Version bumped to 2.0.0_alpha2, added muparser to dependency
diff --git a/media-gfx/librecad/Manifest b/media-gfx/librecad/Manifest
index de27dc216..5b6cda70b 100644
--- a/media-gfx/librecad/Manifest
+++ b/media-gfx/librecad/Manifest
@@ -1,3 +1,4 @@
-DIST librecad-1.0.0.tar.gz 4714351 RMD160 834f24dcf5293af183ffaf4734f00d48e7641bc5 SHA1 67f50b230ec41c0786129a7b269aa11664bc3282 SHA256 89b1f8227f0f8df30584958924cc8ad3eb61c751b4b83ef80effa3e4b79f3168
DIST librecad-1.0.1.tar.gz 4717733 SHA256 218d58d66c3b665c0998b79dda2255985c75f5c150611e70c2e7c1b87655c85b SHA512 72ede3094c4f5e8167e67aace2ebc68334fc88b873c11980b345ea1416dc2659673ef4b8867fd00e61593915eae747e8098896fd1c74a5d85f2c85aa875e1cf2 WHIRLPOOL 5189e77dc465e4776b7b536566f359a8b72da802d9080701b33975e585ba63c70dd67006df6f5f857c37d7d36ddc9cf36c9485ebe9e826d6be85c62c3cf4fb26
+DIST librecad-1.0.2.tar.gz 4577653 SHA256 13ee7e401e4f5fbc68c2e017b7189bec788038f4f6e77f559861ceb8cfb1907d SHA512 d3afd967a72e36067634a5ad8bf93ff7ab874f72ed8e86dd13632d4c700ec3f3f3eac40b2a44ba516cadb3a1c117570f091dd92cbfa3957d004ecba933d02f39 WHIRLPOOL 7cd0b2ecba9498ba41ab49c36bbcd49ec2127a7ac0ad235593e58479342f0f0bb859ffa3c2fa7e687859a6a7812b6c5c96b43fdc939f4a18b326cf8e1e4e0f5a
DIST librecad-2.0.0_alpha2.tar.gz 13806460 SHA256 fea3aa26bfb1f360a1ebe28777a5d46dd0df688081f0b5de77eafa4695603975 SHA512 b7d46f6dea86ac250e08546e9f67f6cbc3f867ee25e2d3d9cb963f9f6197f87a25774bacb1baa60b5a6d02bae429178047f6907a404402821ed4ec0c51e0470b WHIRLPOOL db82a21ead43d9132498190dd08cf86976fb718e0c2b41ec1e9c8918eb377440bd2449f13f5e3b48698a1f835eea9ce591d60f7c54211be7b7eb118bdedfc394
+DIST librecad-2.0.0_alpha3.tar.gz 13830843 SHA256 a66fe79f34fdcf97b25e91001313eb21ec6c33241acf129b7213daf6f9beca97 SHA512 abb58d2adc92bb34e03abb782886ceea0545d5c423a6c9c3974db755ddb5171d5c295f19f22e622f5dedf3fc0bb67196720d8b169c6857ae78815d4012990a54 WHIRLPOOL e2757f7545ef49e40b9c88ef073b778068ea6b8c7d90aee8337fbd902f01b8172a63501bf7ddb526b5e54c4324f177e983ad5245cdde14cae1f610edbb6eab15
diff --git a/media-gfx/librecad/librecad-1.0.0.ebuild b/media-gfx/librecad/librecad-1.0.2.ebuild
index 81ae616e5..cafafd60b 100644
--- a/media-gfx/librecad/librecad-1.0.0.ebuild
+++ b/media-gfx/librecad/librecad-1.0.2.ebuild
@@ -18,7 +18,10 @@ IUSE="debug doc"
RDEPEND="
x11-libs/qt-gui[qt3support]
x11-libs/qt-assistant:4
- x11-libs/qt-qt3support:4"
+ x11-libs/qt-qt3support:4
+ dev-cpp/muParser
+ "
+
DEPEND="${RDEPEND}"
src_unpack() {
@@ -27,7 +30,7 @@ src_unpack() {
}
src_prepare() {
-sed -i -e "s:\\\$\+system(git describe --tags):1.0.0:" "${PN}.pro"
+sed -i -e "s:\\\$\+system(git describe --tags):1.0.2:" "${PN}.pro"
}
src_install() {
diff --git a/media-gfx/librecad/librecad-2.0.0_alpha3.ebuild b/media-gfx/librecad/librecad-2.0.0_alpha3.ebuild
new file mode 100644
index 000000000..670f91093
--- /dev/null
+++ b/media-gfx/librecad/librecad-2.0.0_alpha3.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2011 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+
+inherit qt4-r2 flag-o-matic
+
+DESCRIPTION="An generic 2D CAD program"
+HOMEPAGE="http://www.librecad.org/"
+SRC_URI="https://nodeload.github.com/LibreCAD/LibreCAD/tarball/${PV/_/} ->
+${P}.tar.gz"
+
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="debug doc"
+
+DEPEND="
+ x11-libs/qt-assistant:4
+ x11-libs/qt-gui:4
+ dev-libs/boost
+ dev-cpp/muParser
+ "
+
+RDEPEND="${DEPEND}"
+
+src_unpack() {
+ unpack ${A}
+ mv * ${P}
+}
+
+src_prepare() {
+ append-cppflags "-std=c++0x"
+ sed -i -e '/RS_VECTOR2D/ s/^#//' librecad/src/src.pro
+}
+
+src_install() {
+ qt4-r2_src_install
+ dobin unix/librecad
+ insinto /usr/share/"${PN}"
+ doins -r unix/resources/*
+ if use doc ; then
+ dohtml -r support/doc/*
+ fi
+ doicon res/main/"${PN}".png
+ make_desktop_entry "${PN}" LibreCAD "${PN}.png" Graphics
+}
diff --git a/media-gfx/librecad/librecad-9999.ebuild b/media-gfx/librecad/librecad-9999.ebuild
index 6948dbe76..e6b8035b8 100644
--- a/media-gfx/librecad/librecad-9999.ebuild
+++ b/media-gfx/librecad/librecad-9999.ebuild
@@ -23,8 +23,8 @@ DEPEND="${RDEPEND}
src_prepare() {
#sed -i -e "s:\\\$\+system(git describe --tags):9999:" src/src.pro
#enable C++11 by default
- sed -i -e '/HAS_CPP11/ s/^#//' src/src.pro
- sed -i -e '/RS_VECTOR2D/ s/^#//' src/src.pro
+ append-cppflags "-std=c++0x"
+ sed -i -e '/RS_VECTOR2D/ s/^#//' librecad/src/src.pro
}
src_install()