Date: Saturday, March 5, 2022 @ 11:58:38
  Author: arojas
Revision: 1142191

archrelease: copy trunk to community-testing-x86_64

Added:
  qcad/repos/community-testing-x86_64/
  qcad/repos/community-testing-x86_64/PKGBUILD
    (from rev 1142190, qcad/trunk/PKGBUILD)
  qcad/repos/community-testing-x86_64/RRulerQt.patch
    (from rev 1142190, qcad/trunk/RRulerQt.patch)
  qcad/repos/community-testing-x86_64/qt5.15.patch
    (from rev 1142190, qcad/trunk/qt5.15.patch)

----------------+
 PKGBUILD       |   92 +++++++++++++++++++++++++++++++++++++++++++++++++++++++
 RRulerQt.patch |   20 +++++++++++
 qt5.15.patch   |   12 +++++++
 3 files changed, 124 insertions(+)

Copied: qcad/repos/community-testing-x86_64/PKGBUILD (from rev 1142190, 
qcad/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD                           (rev 0)
+++ community-testing-x86_64/PKGBUILD   2022-03-05 11:58:38 UTC (rev 1142191)
@@ -0,0 +1,92 @@
+# Maintainer: BlackIkeEagle <ike DOT devolder AT gmail DOT com>
+# Contributor: Sergej Pupykin <pupykin.s+a...@gmail.com>
+# Contributor: Stefan Husmann <stefan-husm...@t-online.de>
+# Contributor: Giovanni Scafora <linuxma...@gmail.com>
+# Contributor: Daniel J Griffiths <ghost1...@archlinux.us>
+
+pkgname=qcad
+pkgver=3.27.1.6
+pkgrel=3
+pkgdesc='A 2D CAD package based upon Qt'
+arch=('x86_64')
+url="https://www.qcad.org";
+license=('GPL3')
+options=(debug)
+depends=('qt5-script' 'qt5-svg' 'gcc-libs' 'qt5-xmlpatterns' 'qt5-tools')
+makedepends=('glu')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/qcad/qcad/archive/v${pkgver}.tar.gz";)
+sha512sums=('8ee0ec9293030f94730ece0098b35793af14d884062c2aba1b0f50ff8ba22610fef8063722db56a3426009f709fd5e15ca2f3c1cd9781597defa99ecbfcc4ef8')
+
+prepare() {
+  rm *.tar.gz
+  cd qcad-$pkgver
+  sed -e 's|$${QT_VERSION}|5.5.0|g' \
+      -i src/3rdparty/3rdparty.pro # Don't require specific Qt version
+}
+
+build() {
+  cd qcad-$pkgver
+  qmake-qt5 qcad.pro
+  make
+}
+
+package() {
+  cd qcad-$pkgver
+
+  # remove project files
+  find . \( -name '*.pri' -or -name '.pro' -or -name '*.ts' \) -delete
+  find . \( -name 'Makefile' -name '.gitignore' \) -delete
+
+  install -dm755 "$pkgdir"/usr/lib/qcad
+  cp -r examples fonts libraries linetypes patterns scripts themes ts \
+      "$pkgdir"/usr/lib/qcad
+  cp release/{*.so,qcad-bin} "$pkgdir"/usr/lib/qcad
+
+  # install man
+  install -Dm644 qcad.1 "$pkgdir"/usr/share/man/man1/qcad.1
+
+  # readme
+  install -Dm644 readme.txt "$pkgdir"/usr/lib/qcad/readme.txt
+
+  # qt
+  cp -r plugins platforminputcontexts platforms xcbglintegrations \
+      "$pkgdir"/usr/lib/qcad
+  #install -dm755 
"$pkgdir"/usr/lib/qcad/plugins/{designer,imageformats,printsupport,sqldrivers}
+  #for sofiles in /usr/lib/qt/plugins/designer/*.so
+  #do
+    #ln -sf ${sofiles} "$pkgdir"/usr/lib/qcad/plugins/designer/${sofiles##/*/}
+  #done
+  #for sofiles in /usr/lib/qt/plugins/imageformats/*.so
+  #do
+    #ln -sf ${sofiles} 
"$pkgdir"/usr/lib/qcad/plugins/imageformats/${sofiles##/*/}
+  #done
+  #for sofiles in /usr/lib/qt/plugins/printsupport/*.so
+  #do
+    #ln -sf ${sofiles} 
"$pkgdir"/usr/lib/qcad/plugins/printsupport/${sofiles##/*/}
+  #done
+  #for sofiles in /usr/lib/qt/plugins/sqldrivers/*.so
+  #do
+    #ln -sf ${sofiles} 
"$pkgdir"/usr/lib/qcad/plugins/sqldrivers/${sofiles##/*/}
+  #done
+  #install -dm755 
"$pkgdir"/usr/lib/qcad/{platforminputcontexts,platforms,xcbglintegrations}
+  #for sofiles in /usr/lib/qt/plugins/platforminputcontexts/*.so
+  #do
+    #ln -sf ${sofiles} 
"$pkgdir"/usr/lib/qcad/platforminputcontexts/${sofiles##/*/}
+  #done
+  #for sofiles in /usr/lib/qt/plugins/platforms/*.so
+  #do
+    #ln -sf ${sofiles} "$pkgdir"/usr/lib/qcad/platforms/${sofiles##/*/}
+  #done
+  #for sofiles in /usr/lib/qt/plugins/xcbglintegrations/*.so
+  #do
+    #ln -sf ${sofiles} "$pkgdir"/usr/lib/qcad/xcbglintegrations/${sofiles##/*/}
+  #done
+
+  install -Dm644 scripts/qcad_icon.png 
"$pkgdir"/usr/share/pixmaps/qcad_icon.png
+  install -Dm644 qcad.desktop "$pkgdir"/usr/share/applications/qcad.desktop
+
+  install -dm755 "$pkgdir"/usr/bin
+  echo -e 
'#!/bin/sh\nLD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}"/usr/lib/qcad"
 exec /usr/lib/qcad/qcad-bin "$@"' >"$pkgdir"/usr/bin/qcad
+
+  chmod 0755 "$pkgdir"/usr/bin/qcad
+}

Copied: qcad/repos/community-testing-x86_64/RRulerQt.patch (from rev 1142190, 
qcad/trunk/RRulerQt.patch)
===================================================================
--- community-testing-x86_64/RRulerQt.patch                             (rev 0)
+++ community-testing-x86_64/RRulerQt.patch     2022-03-05 11:58:38 UTC (rev 
1142191)
@@ -0,0 +1,20 @@
+diff --git a/src/gui/RRulerQt.h b/src/gui/RRulerQt.h
+index 5c1cdd910..48817da0b 100644
+--- a/src/gui/RRulerQt.h
++++ b/src/gui/RRulerQt.h
+@@ -1,6 +1,6 @@
+ /**
+  * Copyright (c) 2011-2018 by Andrew Mustun. All rights reserved.
+- * 
++ *
+  * This file is part of the QCAD project.
+  *
+  * QCAD is free software: you can redistribute it and/or modify
+@@ -24,6 +24,7 @@
+ 
+ #include <QFrame>
+ #include <QMetaType>
++#include <QPainterPath>
+ 
+ #include "RCoordinateListener.h"
+ #include "RRuler.h"

Copied: qcad/repos/community-testing-x86_64/qt5.15.patch (from rev 1142190, 
qcad/trunk/qt5.15.patch)
===================================================================
--- community-testing-x86_64/qt5.15.patch                               (rev 0)
+++ community-testing-x86_64/qt5.15.patch       2022-03-05 11:58:38 UTC (rev 
1142191)
@@ -0,0 +1,12 @@
+diff --git a/src/gui/RRulerQt.h b/src/gui/RRulerQt.h
+index 5c1cdd910..8f250461c 100644
+--- a/src/gui/RRulerQt.h
++++ b/src/gui/RRulerQt.h
+@@ -24,6 +24,7 @@
+ 
+ #include <QFrame>
+ #include <QMetaType>
++#include <QPainterPath>
+ 
+ #include "RCoordinateListener.h"
+ #include "RRuler.h"

Reply via email to