[arch-commits] Commit in freecad/repos (8 files)

Bartłomiej Piotrowski bpiotrowski at archlinux.org
Sat Oct 8 12:27:49 UTC 2016


    Date: Saturday, October 8, 2016 @ 12:27:48
  Author: bpiotrowski
Revision: 191635

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  freecad/repos/community-staging-i686/
  freecad/repos/community-staging-i686/PKGBUILD
    (from rev 191634, freecad/trunk/PKGBUILD)
  freecad/repos/community-staging-i686/freecad.desktop
    (from rev 191634, freecad/trunk/freecad.desktop)
  freecad/repos/community-staging-i686/freecad.xml
    (from rev 191634, freecad/trunk/freecad.xml)
  freecad/repos/community-staging-x86_64/
  freecad/repos/community-staging-x86_64/PKGBUILD
    (from rev 191634, freecad/trunk/PKGBUILD)
  freecad/repos/community-staging-x86_64/freecad.desktop
    (from rev 191634, freecad/trunk/freecad.desktop)
  freecad/repos/community-staging-x86_64/freecad.xml
    (from rev 191634, freecad/trunk/freecad.xml)

------------------------------------------+
 community-staging-i686/PKGBUILD          |   75 +++++++++++++++++++++++++++++
 community-staging-i686/freecad.desktop   |   14 +++++
 community-staging-x86_64/PKGBUILD        |   75 +++++++++++++++++++++++++++++
 community-staging-x86_64/freecad.desktop |   14 +++++
 4 files changed, 178 insertions(+)

Copied: freecad/repos/community-staging-i686/PKGBUILD (from rev 191634, freecad/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-10-08 12:27:48 UTC (rev 191635)
@@ -0,0 +1,75 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+# Contributor: Jonas Heinrich <onny at project-insanity.org>
+# Contributor: Jonas Heinrich <onny at project-insanity.org>
+# Contributor: Jordi De Groof <jordi (dot) degroof (at) gmail (dot) com>
+# Contributor: mickele
+# Contributor: manwithgrenade
+# Contributor: bricem13
+# Contributor: gborzi
+
+pkgname=freecad
+pkgver=0.16
+pkgrel=6
+pkgdesc='A general purpose 3D CAD modeler'
+arch=('i686' 'x86_64')
+url='http://www.freecadweb.org/'
+license=('LGPL')
+depends=('boost-libs' 'curl' 'opencascade>=6.6.0' 'python2-pivy' 'xerces-c'
+         'libspnav' 'shared-mime-info' 'hicolor-icon-theme'
+         'python2-matplotlib' 'python2-shiboken' 'python2-pyside-tools' 'pyside-tools-common' 'qtwebkit')
+makedepends=('boost' 'eigen' 'gcc-fortran' 'swig' 'xerces-c' 'desktop-file-utils' 'cmake' 'coin>=3.1.3-9')
+# TODO add reasons
+optdepends=('python2-matplotlib' 'pycollada-git' 'python2-pyqt4')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/FreeCAD/FreeCAD/archive/$pkgver.tar.gz"
+	"${pkgname}.desktop"
+	"${pkgname}.xml")
+md5sums=('6e992c98ae2b8448bcf428e3e9efb02f'
+         '382cd66757dae635b53105d207679fce'
+         'c2f4154c8e4678825411de8e7fa54c6b')
+
+prepare() {
+  cd "${srcdir}/FreeCAD-${pkgver}/"
+
+  sed -i \
+    -e "46i\\\tModDir = '/usr/share/freecad/Mod'" \
+    -e "50i\\\tLibDir = '/usr/lib/freecad'" \
+    src/App/FreeCADInit.py
+
+  # http://www.freecadweb.org/tracker/view.php?id=2347
+  sed -i 's/boost::re_detail/boost::BOOST_REGEX_DETAIL_NS/' \
+    src/Mod/Drawing/App/FeaturePage.cpp
+}
+
+build() {
+  cd "${srcdir}/FreeCAD-${pkgver}/"
+  cmake \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX:PATH="/usr" \
+    -DCMAKE_INSTALL_DOCDIR:PATH="share/freecad/doc" \
+    -DCMAKE_INSTALL_DATADIR:PATH="share/freecad" \
+    -DCMAKE_INSTALL_LIBDIR:PATH="lib/freecad" \
+    -DOCC_INCLUDE_DIR:PATH=/opt/opencascade/inc/ \
+    -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python2 \
+    -DFREECAD_USE_EXTERNAL_PIVY:BOOL=ON
+  make
+}
+
+package() {
+  cd "${srcdir}/FreeCAD-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+
+  # Symlink to /usr/bin
+  ln -sf "FreeCAD" "${pkgdir}/usr/bin/freecad"
+  ln -sf "FreeCADCmd" "${pkgdir}/usr/bin/freecadcmd"
+
+  cp -ra "${pkgdir}/usr/Mod" "${pkgdir}/usr/share/freecad/"
+  rm -r "${pkgdir}/usr/Mod"
+
+  # Install pixmaps and desktop shortcut
+  desktop-file-install \
+    --dir="${pkgdir}/usr/share/applications" \
+    "${srcdir}/${pkgname}.desktop"
+
+  # Mime info
+  install -D -m644 "${srcdir}/${pkgname}.xml" "${pkgdir}/usr/share/mime/packages/${pkgname}.xml"
+}

Copied: freecad/repos/community-staging-i686/freecad.desktop (from rev 191634, freecad/trunk/freecad.desktop)
===================================================================
--- community-staging-i686/freecad.desktop	                        (rev 0)
+++ community-staging-i686/freecad.desktop	2016-10-08 12:27:48 UTC (rev 191635)
@@ -0,0 +1,14 @@
+[Desktop Entry]
+Version=1.0
+Encoding=UTF-8
+Name=FreeCAD
+Comment=A general purpose 3D CAD modeler
+GenericName=CAD Application
+Exec=/usr/bin/freecad %F
+Path=/usr/share/freecad
+Terminal=false
+Type=Application
+Icon=/usr/share/freecad/freecad.xpm
+Categories=Application;Science;Math;Education;
+StartupNotify=true
+MimeType=application/x-extension-fcstd;

Copied: freecad/repos/community-staging-i686/freecad.xml (from rev 191634, freecad/trunk/freecad.xml)
===================================================================
(Binary files differ)

Copied: freecad/repos/community-staging-x86_64/PKGBUILD (from rev 191634, freecad/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-10-08 12:27:48 UTC (rev 191635)
@@ -0,0 +1,75 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+# Contributor: Jonas Heinrich <onny at project-insanity.org>
+# Contributor: Jonas Heinrich <onny at project-insanity.org>
+# Contributor: Jordi De Groof <jordi (dot) degroof (at) gmail (dot) com>
+# Contributor: mickele
+# Contributor: manwithgrenade
+# Contributor: bricem13
+# Contributor: gborzi
+
+pkgname=freecad
+pkgver=0.16
+pkgrel=6
+pkgdesc='A general purpose 3D CAD modeler'
+arch=('i686' 'x86_64')
+url='http://www.freecadweb.org/'
+license=('LGPL')
+depends=('boost-libs' 'curl' 'opencascade>=6.6.0' 'python2-pivy' 'xerces-c'
+         'libspnav' 'shared-mime-info' 'hicolor-icon-theme'
+         'python2-matplotlib' 'python2-shiboken' 'python2-pyside-tools' 'pyside-tools-common' 'qtwebkit')
+makedepends=('boost' 'eigen' 'gcc-fortran' 'swig' 'xerces-c' 'desktop-file-utils' 'cmake' 'coin>=3.1.3-9')
+# TODO add reasons
+optdepends=('python2-matplotlib' 'pycollada-git' 'python2-pyqt4')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/FreeCAD/FreeCAD/archive/$pkgver.tar.gz"
+	"${pkgname}.desktop"
+	"${pkgname}.xml")
+md5sums=('6e992c98ae2b8448bcf428e3e9efb02f'
+         '382cd66757dae635b53105d207679fce'
+         'c2f4154c8e4678825411de8e7fa54c6b')
+
+prepare() {
+  cd "${srcdir}/FreeCAD-${pkgver}/"
+
+  sed -i \
+    -e "46i\\\tModDir = '/usr/share/freecad/Mod'" \
+    -e "50i\\\tLibDir = '/usr/lib/freecad'" \
+    src/App/FreeCADInit.py
+
+  # http://www.freecadweb.org/tracker/view.php?id=2347
+  sed -i 's/boost::re_detail/boost::BOOST_REGEX_DETAIL_NS/' \
+    src/Mod/Drawing/App/FeaturePage.cpp
+}
+
+build() {
+  cd "${srcdir}/FreeCAD-${pkgver}/"
+  cmake \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX:PATH="/usr" \
+    -DCMAKE_INSTALL_DOCDIR:PATH="share/freecad/doc" \
+    -DCMAKE_INSTALL_DATADIR:PATH="share/freecad" \
+    -DCMAKE_INSTALL_LIBDIR:PATH="lib/freecad" \
+    -DOCC_INCLUDE_DIR:PATH=/opt/opencascade/inc/ \
+    -DPYTHON_EXECUTABLE:FILEPATH=/usr/bin/python2 \
+    -DFREECAD_USE_EXTERNAL_PIVY:BOOL=ON
+  make
+}
+
+package() {
+  cd "${srcdir}/FreeCAD-${pkgver}"
+  make DESTDIR="${pkgdir}" install
+
+  # Symlink to /usr/bin
+  ln -sf "FreeCAD" "${pkgdir}/usr/bin/freecad"
+  ln -sf "FreeCADCmd" "${pkgdir}/usr/bin/freecadcmd"
+
+  cp -ra "${pkgdir}/usr/Mod" "${pkgdir}/usr/share/freecad/"
+  rm -r "${pkgdir}/usr/Mod"
+
+  # Install pixmaps and desktop shortcut
+  desktop-file-install \
+    --dir="${pkgdir}/usr/share/applications" \
+    "${srcdir}/${pkgname}.desktop"
+
+  # Mime info
+  install -D -m644 "${srcdir}/${pkgname}.xml" "${pkgdir}/usr/share/mime/packages/${pkgname}.xml"
+}

Copied: freecad/repos/community-staging-x86_64/freecad.desktop (from rev 191634, freecad/trunk/freecad.desktop)
===================================================================
--- community-staging-x86_64/freecad.desktop	                        (rev 0)
+++ community-staging-x86_64/freecad.desktop	2016-10-08 12:27:48 UTC (rev 191635)
@@ -0,0 +1,14 @@
+[Desktop Entry]
+Version=1.0
+Encoding=UTF-8
+Name=FreeCAD
+Comment=A general purpose 3D CAD modeler
+GenericName=CAD Application
+Exec=/usr/bin/freecad %F
+Path=/usr/share/freecad
+Terminal=false
+Type=Application
+Icon=/usr/share/freecad/freecad.xpm
+Categories=Application;Science;Math;Education;
+StartupNotify=true
+MimeType=application/x-extension-fcstd;

Copied: freecad/repos/community-staging-x86_64/freecad.xml (from rev 191634, freecad/trunk/freecad.xml)
===================================================================
(Binary files differ)



More information about the arch-commits mailing list