summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSlawek Lis <slis@gentoo.org>2014-01-30 07:21:31 +0000
committerSlawek Lis <slis@gentoo.org>2014-01-30 07:21:31 +0000
commit4af44c507abba20e775b796290ee7ec8c3dafb1b (patch)
treed5c8a799c349bda6887f3f08afd76fa70174d8d5 /media-gfx/librecad
parentVersion bump (bug #499734). (diff)
downloadhistorical-4af44c507abba20e775b796290ee7ec8c3dafb1b.tar.gz
historical-4af44c507abba20e775b796290ee7ec8c3dafb1b.tar.bz2
historical-4af44c507abba20e775b796290ee7ec8c3dafb1b.zip
Fixed #499104
Package-Manager: portage-2.2.8-r1/cvs/Linux x86_64 Manifest-Sign-Key: 0x55265D89
Diffstat (limited to 'media-gfx/librecad')
-rw-r--r--media-gfx/librecad/ChangeLog8
-rw-r--r--media-gfx/librecad/Manifest18
-rw-r--r--media-gfx/librecad/files/gcc_cpp0x.patch13
-rw-r--r--media-gfx/librecad/librecad-2.0.2-r1.ebuild42
4 files changed, 72 insertions, 9 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/Manifest b/media-gfx/librecad/Manifest
index d49aad5b68a4..38ade43e7caf 100644
--- a/media-gfx/librecad/Manifest
+++ b/media-gfx/librecad/Manifest
@@ -1,18 +1,20 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
+AUX gcc_cpp0x.patch 412 SHA256 2f41faa6dae24a68dedf990b3d40a9f32dea7412c496f7bbf8386e5b71500dee SHA512 07d085f5a39a7d70ebfc39efb1c51f384c922636108a1c847a44d7ada4526c21807cbee2f87539064f81af85f807f4a54eaab525692db7f1bc9bd13767779822 WHIRLPOOL b9a79055c5e899bf8b497504212b82c1a7ca43c864311d5ac4a1a451876b92e64f0f7d6984dd463efe5df23104040c46c3906a489e4cdcf0ef15e24dab5c7ddf
DIST librecad-2.0.2.zip 16526485 SHA256 982fb5e82b9e34d0c3ebda602ea14e1a3afbae8eec3b2896935dd81ff1852211 SHA512 3e9e0969e6d5aae7c03421cd48af3464fa046fc1617c1faea77bd8e76cafb970c91dd3815e4a76279a400e3e7ee8d001e277ca048a8f5890fd6764466db3eec0 WHIRLPOOL 5e81779fd855b748380560ba9420cb62d91352fa92aef64561251924ddb59da0f56a7155b307c35aac0c28267447b7038b7b5566cd7305e9c8e366a5f3c6d69f
+EBUILD librecad-2.0.2-r1.ebuild 961 SHA256 15f7d8762bb35959a2b83dac92bd1a2675c92ef5f6a11722356ac897385aac0c SHA512 037cf8ea691d3fc28957d7d923e4aec6e410b2ada0d5e00ab40d84e97809aef0bf19271895555e43442671109a5a685e9ab43c363389444295d2c337bca94295 WHIRLPOOL 1048018b64da77eae75b77aab38d4d8d42e26e2584aa31554e63195d777783cedbcd6f99ec98320128ff224ea4701c680a6dc7c23f4973b9f9982beda2bb08b2
EBUILD librecad-2.0.2.ebuild 901 SHA256 735976da95f08cb34cac7d9a59bb0a441af93d7a6554d749c56ba9096a346c65 SHA512 55fdc07a50d84388d718d7c7943ef77858da045a40c38abc3b3e1bb596269d1db34017798f98fcb03fa5406721b694c599f1fd99f3ab9946e7ca1585eb449b50 WHIRLPOOL 1a794cb06d48d63cd308d50c854cec09dee2e8dab047791ad2f59940cf35eebfb9f3ec330e90ad52c0e030d4bb343fa1e45086bf6d591bdc4cdfaf7e0f46d7ac
-MISC ChangeLog 348 SHA256 94369c4d2f928d1a7f94ce81195a64d5362aa312fa36fc3e9ef358c8e513a5a0 SHA512 28ef6a0eef7747bf292e026718119983c003e30093e248d70553432cce0366f83d232a666caef1e284bc5fbb30358cc6a9b205557709a367f121a36361b1525b WHIRLPOOL 1416a4a586ccad9c3e27c183682a49e95f4aa9cc111dc4831cbd069ac57be8fd861ae341e5f68c12ec26698a6dd73b5452598dfecfcd97da0e2ec14335817ccc
+MISC ChangeLog 497 SHA256 24ce9e04e4b38c81638e2f54ad1c4e2356ff0fc4909eeb5bd16f7a4c5b852711 SHA512 6d4b4a3e7553d9fad6f0fe551b8b5003c47a6c60f81c522f9ad0035aaba3708e24fbd96143acd32cfebf7ab789b25fd0043a35e7b578c44b4452991feff38cde WHIRLPOOL 7773a70c3070ee95498dd56d2a33184a162f2822c7e70e366653fbab776e4b7c4b4bea2de9859152eff3228f829d2143155fd548e9c8d65d690ea795575df6fa
MISC metadata.xml 283 SHA256 a67211bd66a225a5cbd098890a8653364a869047eda0566b9ff2738f18db87f0 SHA512 090353d13c44b2c38aa22cea94705cad17ee459bd7ef2c0a0593861b546c548756e1bebf94ba7edadcad808072f874588f83da3f52cf8f42a7df5dd896577ca6 WHIRLPOOL b3ed5aa6852b6b5562974b2993de308fbca03264878b009fe211e8972c43b807ccdd7c202f4c10c874eec4da9335a75d7285f89664635adc8ec5c89db7ea645b
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)
-iQEcBAEBCAAGBQJS4PNEAAoJEO1RxJ84ipLkKQwH/3bKkhGNMYXq4Y4zthyuHPVF
-i+i5+TJEbBTlSwMbEuEVFoD4J1HnDNXq7C9R4nhJ/hTFJNoWr/ri4/Q9nZcGms2D
-ldld56Mvyh22XQN7ZL1CypL5NWfikZOmcCVvhZwzduVmNKbtzFuvFZ7h20q2d9wE
-/zdXpCfwA2TMr3zjj6Z8VMZm58S0sjdJyCnPdBihiR7PRxilwWOMIQhJOJvR+rF0
-fp4xlXb0NxrLXDG6KyZNiIG0GSI6hvJ39OnS/dc6D9pAkihcw+cuyT76rAjYMcmQ
-vZIJirpgdxiCmViIhVQlNpyyMXOipfwofY1nEWLqbexKISj92FWko1SU6NHF7Co=
-=ufzZ
+iQEcBAEBCAAGBQJS6f0fAAoJEO1RxJ84ipLkrroIAJ/m6TidWJ3eS7nWcIYPSsKZ
+7s8QT9i1FSofbBEm6sCAO8HFql6Kd3Eand3HzTv3gc4Lul2JQm9Np9AOJFKy508w
+q5CbNIQ5ZJUOdDBm0P/ug1RqcWHP/Ylq8i7ZAhWZqDskK9mtj1MaBc9Lxr6bgkQN
+Ma4wi95qW2MX6GlixpqxPLu4+TKK87hmCRBUzzX3pju4pQW7SvtPaiiTJbhfg3kk
+DEWqZorREPXE9W1B/D0TTq+BV5/VbpiXgT7yN+K6wlsZOEh6i8uAV7ULabGNYnC3
+OeipvWThz3G1ZxeEEh1TtbFXvEDAHjkBeDTUJfT4cYYtV/C66zxl6LxgIIUqXXo=
+=Wwme
-----END PGP SIGNATURE-----
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