summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSławomir Lis <slis@gentoo.org>2015-09-08 08:30:53 +0200
committerSławomir Lis <slis@gentoo.org>2015-09-08 08:30:53 +0200
commitc7c422d3d93efb17ef1d2253b2013ad3b201614c (patch)
tree49dccd36acde2aad58e28fd853f4056f7616d56a /media-gfx
parentsys-auth/consolekit: Mark ~hppa (bug #559770). (diff)
downloadgentoo-c7c422d3d93efb17ef1d2253b2013ad3b201614c.tar.gz
gentoo-c7c422d3d93efb17ef1d2253b2013ad3b201614c.tar.bz2
gentoo-c7c422d3d93efb17ef1d2253b2013ad3b201614c.zip
version bump (thanks to dxli)
Pull request at: https://github.com/gentoo/gentoo/pull/46 Package-Manager: portage-2.2.20.1
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/librecad/Manifest1
-rw-r--r--media-gfx/librecad/librecad-2.0.8.ebuild67
-rw-r--r--media-gfx/librecad/librecad-9999.ebuild70
-rw-r--r--media-gfx/librecad/metadata.xml3
4 files changed, 140 insertions, 1 deletions
diff --git a/media-gfx/librecad/Manifest b/media-gfx/librecad/Manifest
index e1de478d536b..b31d576e710c 100644
--- a/media-gfx/librecad/Manifest
+++ b/media-gfx/librecad/Manifest
@@ -1,3 +1,4 @@
DIST librecad-2.0.5.zip 16743868 SHA256 00fba891ccf90328f122c081e9a55f5cf6a908932b92b4414f4ee3b186b48f87 SHA512 afacc5dd833d8a9daba0e9a93f9578f066ada6dff3de4676d8604bbfbce6fba5615c75f498b9ee242b3a7bfcb2746b97a3fbd6b97526990b4ad39757344e3cc5 WHIRLPOOL 5b79ebecec469083a5b13b3e71b76fd116baf935d09c04e979efd583ec58fd17a3bef9e707b3603bba3256527a845f9be4a10271daeaec3fee09ce7fe82fca36
DIST librecad-2.0.6.zip 17401781 SHA256 09a58f9a4b578eb7381f299414344f82c6e320156c20b3ff1e9e1ae5f2770a30 SHA512 0f8452674659adc943d87aa3d70763682b3e5e7c82530afee98d50dfa4977e8f2e0efcd224087eed68a51727a234d58b8740b00ed0941b6af78dc2938ed15241 WHIRLPOOL 6bb40ae33f28b5ad6adfc91334741d3fe50c6a7f42b0e253554bfacd8f4e7152a495b9e62b8760f28de8c69c77aed73750e094db96d2757fad7cd58ed3200897
DIST librecad-2.0.7.zip 17457197 SHA256 36d2fa1c60324bb743f0ddde0b9da1dc6b57a370422de714adef27a0cd32d9d2 SHA512 afbe094dd565e2b058c5b1c28e88b76b883d1b9f20f60047e5a7771ec5d353e6a3e73abee8e4d7ac5f916ead7fb15719cf7bab034d670f7d7f54ca394d314803 WHIRLPOOL 5d196be5e54e4ceb7f2650015f35bf6ba77440b7a81d51f68a9a15408d399779f5c61289a5adaacbf1538735f7f0761152371291bab8bc8c8fb8109c3e1ddfc3
+DIST librecad-2.0.8.zip 23469997 SHA256 3f3affbff85fd16746a0e551777c4f234d2b03384d04edf9483d36db1c7144a3 SHA512 d0dd1fdcaafbb7b83a8d0791e132633e9a72648d7d8d7ffdfc02bb092348472a05917df7ea1f2096404afabc92d586b75f6cafa3bc54da535bcaf005c96ed8a7 WHIRLPOOL 14ae2c433345b5081c92426913744d57f2fa4a97621fb55143995365381d5fbed6c8ad6a1f3a6d215dc4791e3493259b3e09801bfb288a85de7db87f010aae49
diff --git a/media-gfx/librecad/librecad-2.0.8.ebuild b/media-gfx/librecad/librecad-2.0.8.ebuild
new file mode 100644
index 000000000000..f2f38129f6bb
--- /dev/null
+++ b/media-gfx/librecad/librecad-2.0.8.ebuild
@@ -0,0 +1,67 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils qmake-utils
+
+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="3d debug doc tools qt4 +qt5"
+REQUIRED_USE="|| ( qt4 qt5 )"
+
+DEPEND="
+ qt4? (
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ dev-qt/qtsvg:4
+ dev-qt/qthelp:4
+ )
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qthelp:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtxml:5
+ )
+ dev-libs/boost
+ dev-cpp/muParser
+ media-libs/freetype"
+
+RDEPEND="${DEPEND}"
+S="${WORKDIR}/LibreCAD-${PV}"
+
+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 || die
+}
+
+src_configure() {
+ if use qt4
+ then
+ eqmake4 -r
+ else
+ eqmake5 -r
+ fi
+}
+
+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/*
+ insinto /usr/share/appdata
+ doins unix/appdata/librecad.appdata.xml
+ doicon librecad/res/main/"${PN}".png
+ make_desktop_entry ${PN} LibreCAD ${PN} Graphics
+}
diff --git a/media-gfx/librecad/librecad-9999.ebuild b/media-gfx/librecad/librecad-9999.ebuild
new file mode 100644
index 000000000000..0c9ba9ba0ee9
--- /dev/null
+++ b/media-gfx/librecad/librecad-9999.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit eutils git-r3 qmake-utils
+
+DESCRIPTION="Generic 2D CAD program"
+HOMEPAGE="http://www.librecad.org/"
+SRC_URI=""
+EGIT_REPO_URI="https://github.com/LibreCAD/LibreCAD.git"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS=""
+IUSE="3d debug doc tools qt4 +qt5"
+REQUIRED_USE="|| ( qt4 qt5 )"
+
+DEPEND="
+ qt4? (
+ dev-qt/qtcore:4
+ dev-qt/qtgui:4
+ dev-qt/qtsvg:4
+ dev-qt/qthelp:4
+ )
+ qt5? (
+ dev-qt/qtcore:5
+ dev-qt/qtgui:5
+ dev-qt/qthelp:5
+ dev-qt/qtprintsupport:5
+ dev-qt/qtsvg:5
+ dev-qt/qtwidgets:5
+ dev-qt/qtxml:5
+ )
+
+ dev-libs/boost
+ dev-cpp/muParser
+ media-libs/freetype"
+
+RDEPEND="${DEPEND}"
+S="${WORKDIR}/librecad-${PV}"
+
+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 || die
+}
+
+src_configure() {
+ if use qt4
+ then
+ eqmake4 -r
+ else
+ eqmake5 -r
+ fi
+}
+
+src_install() {
+ dobin unix/librecad
+ use tools && dobin unix/ttf2lff
+ insinto /usr/share
+ doins -r unix/appdata
+ insinto /usr/share/${PN}
+ doins -r unix/resources/*
+ use doc && dohtml -r librecad/support/doc/*
+ insinto /usr/share/appdata
+ doins unix/appdata/librecad.appdata.xml
+ doicon librecad/res/main/${PN}.png
+ make_desktop_entry ${PN} LibreCAD ${PN} Graphics
+}
diff --git a/media-gfx/librecad/metadata.xml b/media-gfx/librecad/metadata.xml
index ab2b883492bc..d34c73e9be18 100644
--- a/media-gfx/librecad/metadata.xml
+++ b/media-gfx/librecad/metadata.xml
@@ -5,7 +5,8 @@
<email>slis@gentoo.org</email>
</maintainer>
<use>
- <flag name="tools">Build additional tool programs</flag>
+ <flag name="3d">Require all 2D coordinates stored as 3D</flag>
+ <flag name="tools">Build additional tool programs: tff2lff</flag>
</use>
<upstream>
<remote-id type="github">LibreCAD/LibreCAD</remote-id>