summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDongxu Li <dongxuli2011@gmail.com>2016-01-14 10:04:36 -0500
committerDongxu Li <dongxuli2011@gmail.com>2016-01-14 10:04:36 -0500
commit9b1cdc9741e6a0950bd9690aed3a40db19e72f86 (patch)
treee9b4f9c2be60ceda9fe3a24769118797f1dffdea /media-gfx
parentmedia-gfx/librecad: version bump 2.0.9 (diff)
downloadgentoo-9b1cdc9741e6a0950bd9690aed3a40db19e72f86.tar.gz
gentoo-9b1cdc9741e6a0950bd9690aed3a40db19e72f86.tar.bz2
gentoo-9b1cdc9741e6a0950bd9690aed3a40db19e72f86.zip
media-gfx/librecad: cleanup
Diffstat (limited to 'media-gfx')
-rw-r--r--media-gfx/librecad/librecad-2.0.9.ebuild11
1 files changed, 6 insertions, 5 deletions
diff --git a/media-gfx/librecad/librecad-2.0.9.ebuild b/media-gfx/librecad/librecad-2.0.9.ebuild
index 01275c7c363..fb31be3b1a8 100644
--- a/media-gfx/librecad/librecad-2.0.9.ebuild
+++ b/media-gfx/librecad/librecad-2.0.9.ebuild
@@ -42,12 +42,13 @@ 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
+ if ! use 3d; then
+ sed -i -e '/RS_VECTOR2D/ s/^#//' librecad/src/src.pro || die
+ fi
}
src_configure() {
- if use qt4
- then
+ if use qt4; then
eqmake4 -r
else
eqmake5 -r
@@ -59,9 +60,9 @@ src_install() {
use tools && dobin unix/ttf2lff
insinto /usr/share/${PN}
doins -r unix/resources/*
- use doc && dohtml -r librecad/support/doc/*
+ use doc && instinto html && dodoc -r librecad/support/doc/*
insinto /usr/share/appdata
doins unix/appdata/librecad.appdata.xml
- doicon librecad/res/main/"${PN}".png
+ doicon librecad/res/main/${PN}.png
make_desktop_entry ${PN} LibreCAD ${PN} Graphics
}