aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Brehler <marbre@linux.sungazer.de>2015-01-15 20:25:49 +0100
committerMarius Brehler <marbre@linux.sungazer.de>2015-01-15 20:25:49 +0100
commit3ae785be115472e6e0702c7ca57d9d4c73235bad (patch)
tree857c37d769910956ac1e00d4a608fd4c6bee62a8
parentMerge branch 'master' into librecad (diff)
downloadsci-3ae785be115472e6e0702c7ca57d9d4c73235bad.tar.gz
sci-3ae785be115472e6e0702c7ca57d9d4c73235bad.tar.bz2
sci-3ae785be115472e6e0702c7ca57d9d4c73235bad.zip
Cleanup media-gfx/librecad-2.0.7
-rw-r--r--media-gfx/librecad/ChangeLog4
-rw-r--r--media-gfx/librecad/librecad-2.0.7.ebuild19
2 files changed, 12 insertions, 11 deletions
diff --git a/media-gfx/librecad/ChangeLog b/media-gfx/librecad/ChangeLog
index e719749de..ed65ea18c 100644
--- a/media-gfx/librecad/ChangeLog
+++ b/media-gfx/librecad/ChangeLog
@@ -3,6 +3,10 @@
# $Header$
15 Jan 2015; Marius Brehler <marbre@linux.sungazer.de>
+ librecad-2.0.7.ebuild:
+ Cleanup
+
+ 15 Jan 2015; Marius Brehler <marbre@linux.sungazer.de>
librecad-1.0.3.ebuild, librecad-1.0.4.ebuild:
Move to EAPI=5
diff --git a/media-gfx/librecad/librecad-2.0.7.ebuild b/media-gfx/librecad/librecad-2.0.7.ebuild
index 1700aa8ba..03a8276a7 100644
--- a/media-gfx/librecad/librecad-2.0.7.ebuild
+++ b/media-gfx/librecad/librecad-2.0.7.ebuild
@@ -4,7 +4,7 @@
EAPI=5
-inherit qt4-r2 eutils flag-o-matic
+inherit eutils flag-o-matic qt4-r2 vcs-snapshot
DESCRIPTION="Generic 2D CAD program"
HOMEPAGE="http://www.librecad.org/"
@@ -21,18 +21,15 @@ DEPEND="
dev-qt/qtsvg:4
dev-libs/boost
dev-cpp/muParser
- media-libs/freetype
- "
-RDEPEND="${DEPEND}"
+ media-libs/freetype"
-src_unpack() {
- unpack ${A}
- mv * ${P}
-}
+RDEPEND="${DEPEND}"
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
+ if ! use 3d; then
+ sed -i -e '/RS_VECTOR2D/ s/^#//' librecad/src/src.pro || die
+ fi
}
src_install() {
@@ -40,6 +37,6 @@ src_install() {
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
+ doicon librecad/res/main/"${PN}".png
+ make_desktop_entry "${PN}" LibreCAD "${PN}" Graphics
}