summaryrefslogtreecommitdiff
path: root/community/qcad/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/qcad/PKGBUILD')
-rw-r--r--community/qcad/PKGBUILD11
1 files changed, 7 insertions, 4 deletions
diff --git a/community/qcad/PKGBUILD b/community/qcad/PKGBUILD
index 28cacf696..610f3b6a4 100644
--- a/community/qcad/PKGBUILD
+++ b/community/qcad/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 63722 2012-02-05 12:09:17Z ibiru $
+# $Id: PKGBUILD 77657 2012-10-13 11:44:42Z allan $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
# Contributor: Giovanni Scafora <linuxmania@gmail.com>
@@ -6,12 +6,13 @@
pkgname=qcad
pkgver=2.0.5.0
-pkgrel=9
+pkgrel=11
pkgdesc="A 2D CAD package based upon Qt"
arch=('i686' 'x86_64')
url="http://www.ribbonsoft.com/qcad.html"
license=('GPL2')
depends=('qt3')
+makedepends=('glu')
options=(libtool)
source=(http://www.ribbonsoft.com/archives/$pkgname/$pkgname-$pkgver-1-community.src.tar.gz
qcad.xpm
@@ -31,8 +32,10 @@ build() {
cd ${srcdir}/${pkgname}-2.0.5.0-1-community.src
- #Arch64 fix - gentoo patch
- [ "$CARCH" = "x86_64" ] && patch -p1 < ../qcad-intptr.patch
+ [ "$CARCH" = "x86_64" ] && {
+ patch -p1 < ../qcad-intptr.patch;
+ sed -i '1,1i#include <stdint.h>' qcadlib/src/engine/rs_layer.cpp qcadlib/src/engine/rs_entity.cpp;
+ }
patch -p1 < ../qcad.patch
sed -i "s:"-pedantic"::g" mkspecs/defs.pro