[arch-commits] Commit in freecad/repos/community-x86_64 (4 files)
Alexander Rødseth
arodseth at archlinux.org
Sun Mar 28 18:17:56 UTC 2021
Date: Sunday, March 28, 2021 @ 18:17:56
Author: arodseth
Revision: 907089
archrelease: copy trunk to community-x86_64
Added:
freecad/repos/community-x86_64/PKGBUILD
(from rev 907088, freecad/trunk/PKGBUILD)
freecad/repos/community-x86_64/freecad.xml
(from rev 907088, freecad/trunk/freecad.xml)
Deleted:
freecad/repos/community-x86_64/PKGBUILD
freecad/repos/community-x86_64/freecad.xml
-------------+
PKGBUILD | 185 ++++++++++++++++++++++++++--------------------------------
freecad.xml | 18 ++---
2 files changed, 93 insertions(+), 110 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-28 18:17:47 UTC (rev 907088)
+++ PKGBUILD 2021-03-28 18:17:56 UTC (rev 907089)
@@ -1,101 +0,0 @@
-# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
-# Contributor: loqs <bugs-archlinux at entropy-collector.net>
-# Contributor: Gabriel Souza Franco <gabrielfrancosouza at gmail.com>
-# Contributor: Florian Pritz
-# Contributor: Jonas Heinrich <onny at project-insanity.org>
-# Contributor: Jordi De Groof <jordi.degroof at gmail.com>
-# Contributor: mickele
-# Contributor: manwithgrenade
-# Contributor: bricem13
-# Contributor: gborzi
-
-pkgname=freecad
-pkgver=0.19.1
-pkgrel=1
-_commit=a88db11e0a908f6e38f92bfc5187b13ebe470438 # tag: 0.19.1
-pkgdesc='General purpose 3D CAD modeler'
-arch=(x86_64)
-url='https://freecadweb.org/'
-license=(LGPL)
-depends=(boost-libs glew jsoncpp libspnav med netcdf opencascade openmpi
- pyside2-tools python-matplotlib python-pivy python-ply python-pyside2
- qt5-svg qt5-tools qt5-webkit qt5-x11extras qt5-xmlpatterns
- shared-mime-info xerces-c)
-makedepends=(boost cmake coin eigen gcc-fortran gendesk git ninja pyside2
- python-shiboken2 shiboken2 swig)
-source=("git+https://github.com/FreeCAD/FreeCAD#commit=$_commit"
- freecad.xml)
-sha256sums=('SKIP'
- '4ee1daf47c8371a3e17173d85a0dd4a106dacd7899d783ccd97a6f3e0dd1a21f')
-
-prepare() {
- cd FreeCAD/src
-
-# # Fix missing "std::" qualifiers, sledge hammer style
-# find . \
-# ! -wholename "*/Mod/Sketcher/*" \
-# ! -wholename "*/Mod/PartDesign/*" \
-# -name "*.cpp" -type f \
-# -exec sed -i '1i using namespace std;' {} \;
-
- # Add missing include
-# sed -i '1i \#include <Inventor\/SbByteBuffer.h>' \
-# Gui/Quarter/QuarterWidget.cpp
-
- # Create desktop shortcut
- gendesk -f -n --pkgname "$pkgname" --pkgdesc "$pkgdesc" --name FreeCAD \
- --mimetypes='application/x-extension-fcstd' --startupnotify=true
-}
-
-build() {
- # OpenCascade requires that /bin comes before /usr/bin in $PATH
- export PATH="/usr/bin:$PATH"
-
- # Configure with CMake and build with Ninja
- # C++14 mode required by Boost.Geometry 1.75
- mkdir -p build
- cd build
- cmake ../FreeCAD \
- -D BUILD_ENABLE_CXX_STD=C++14 \
- -D BUILD_QT5=ON \
- -D CMAKE_BUILD_TYPE=Release \
- -D CMAKE_C_FLAGS="$CFLAGS -fPIC -w" \
- -D CMAKE_CXX_FLAGS="$CXXFLAGS -fPIC -w" \
- -D CMAKE_INSTALL_DATADIR="/usr/share/freecad" \
- -D CMAKE_INSTALL_DOCDIR="/usr/share/freecad/doc" \
- -D CMAKE_INSTALL_PREFIX="/usr/lib/freecad" \
- -D FREECAD_USE_EXTERNAL_PIVY=ON \
- -D FREECAD_USE_OCC_VARIANT="Official Version" \
- -D FREECAD_USE_QT_FILEDIALOG=ON \
- -D PYTHON_EXECUTABLE=/usr/bin/python \
- -G Ninja
- ninja
-}
-
-package() {
- DESTDIR="$pkgdir" ninja -C build install
-
- # Package desktop shortcut
- install -Dm644 FreeCAD/src/freecad.desktop \
- "$pkgdir/usr/share/applications/freecad.desktop"
-
- # Package MIME info
- install -Dm644 freecad.xml "$pkgdir/usr/share/mime/packages/freecad.xml"
-
- cd FreeCAD/src/Gui/Icons
-
- # Package icons
- for i in 16 32 48 64; do
- install -Dm644 "freecad-icon-$i.png" \
- "$pkgdir/usr/share/icons/hicolor/${i}x$i/apps/freecad.png"
- done
- install -Dm644 freecad.svg \
- "$pkgdir/usr/share/icons/hicolor/scalable/apps/freecad.svg"
-
- # Package symlinks in /usr/bin
- install -d "$pkgdir/usr/bin"
- ln -sf /usr/lib/freecad/bin/FreeCAD "$pkgdir/usr/bin/freecad"
- ln -sf /usr/lib/freecad/bin/FreeCAD "$pkgdir/usr/bin/FreeCAD"
- ln -sf /usr/lib/freecad/bin/FreeCADCmd "$pkgdir/usr/bin/freecadcmd"
- ln -sf /usr/lib/freecad/bin/FreeCADCmd "$pkgdir/usr/bin/FreeCADCmd"
-}
Copied: freecad/repos/community-x86_64/PKGBUILD (from rev 907088, freecad/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-03-28 18:17:56 UTC (rev 907089)
@@ -0,0 +1,84 @@
+# Maintainer: Alexander F. Rødseth <xyproto at archlinux.org>
+# Contributor: loqs <bugs-archlinux at entropy-collector.net>
+# Contributor: Gabriel Souza Franco <gabrielfrancosouza at gmail.com>
+# Contributor: Florian Pritz
+# Contributor: Jonas Heinrich <onny at project-insanity.org>
+# Contributor: Jordi De Groof <jordi.degroof at gmail.com>
+# Contributor: mickele
+# Contributor: manwithgrenade
+# Contributor: bricem13
+# Contributor: gborzi
+
+pkgname=freecad
+pkgver=0.19.1
+pkgrel=2
+_commit=a88db11e0a908f6e38f92bfc5187b13ebe470438 # tag: 0.19.1
+pkgdesc='General purpose 3D CAD modeler'
+arch=(x86_64)
+url='https://freecadweb.org/'
+license=(LGPL)
+depends=(boost-libs glew jsoncpp libspnav med netcdf opencascade openmpi
+ pyside2-tools python-matplotlib python-pivy python-ply python-pyside2
+ qt5-svg qt5-tools qt5-webkit qt5-x11extras qt5-xmlpatterns
+ xerces-c)
+makedepends=(boost cmake coin eigen gcc-fortran gendesk git ninja pyside2
+ python-shiboken2 shiboken2 swig)
+source=("git+https://github.com/FreeCAD/FreeCAD#commit=$_commit" freecad.xml)
+sha256sums=('SKIP'
+ '4ee1daf47c8371a3e17173d85a0dd4a106dacd7899d783ccd97a6f3e0dd1a21f')
+
+prepare() {
+ cd FreeCAD/src
+ gendesk -f -n --pkgname "$pkgname" --pkgdesc "$pkgdesc" --name FreeCAD \
+ --mimetypes='application/x-extension-fcstd' --startupnotify=true
+}
+
+build() {
+ # OpenCascade requires that /bin comes before /usr/bin in $PATH
+ export PATH="/usr/bin:$PATH"
+
+ mkdir -p build
+ cd build
+ cmake ../FreeCAD \
+ -D BUILD_ENABLE_CXX_STD=C++14 \
+ -D BUILD_QT5=ON \
+ -D CMAKE_BUILD_TYPE=Release \
+ -D CMAKE_C_FLAGS="$CFLAGS -fPIC -w" \
+ -D CMAKE_CXX_FLAGS="$CXXFLAGS -fPIC -w" \
+ -D CMAKE_INSTALL_DATADIR=/usr/share/freecad \
+ -D CMAKE_INSTALL_DOCDIR=/usr/share/freecad/doc \
+ -D CMAKE_INSTALL_PREFIX=/usr/lib/freecad \
+ -D FREECAD_USE_EXTERNAL_PIVY=ON \
+ -D FREECAD_USE_OCC_VARIANT='Official Version' \
+ -D FREECAD_USE_QT_FILEDIALOG=ON \
+ -D PYTHON_EXECUTABLE=/usr/bin/python \
+ -G Ninja
+ ninja
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C build install
+
+ # Package desktop shortcut
+ install -Dm644 FreeCAD/src/freecad.desktop \
+ "$pkgdir/usr/share/applications/freecad.desktop"
+
+ # Package MIME info
+ install -Dm644 freecad.xml "$pkgdir/usr/share/mime/packages/freecad.xml"
+
+ # Package icons
+ cd FreeCAD/src/Gui/Icons
+ for i in 16 32 48 64; do
+ install -Dm644 "freecad-icon-$i.png" \
+ "$pkgdir/usr/share/icons/hicolor/${i}x$i/apps/freecad.png"
+ done
+ install -Dm644 freecad.svg \
+ "$pkgdir/usr/share/icons/hicolor/scalable/apps/freecad.svg"
+
+ # Package symlinks in /usr/bin
+ install -d "$pkgdir/usr/bin"
+ ln -sf /usr/lib/freecad/bin/FreeCAD "$pkgdir/usr/bin/freecad"
+ ln -sf /usr/lib/freecad/bin/FreeCAD "$pkgdir/usr/bin/FreeCAD"
+ ln -sf /usr/lib/freecad/bin/FreeCADCmd "$pkgdir/usr/bin/freecadcmd"
+ ln -sf /usr/lib/freecad/bin/FreeCADCmd "$pkgdir/usr/bin/FreeCADCmd"
+}
Deleted: freecad.xml
===================================================================
--- freecad.xml 2021-03-28 18:17:47 UTC (rev 907088)
+++ freecad.xml 2021-03-28 18:17:56 UTC (rev 907089)
@@ -1,9 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
- <mime-type type="application/x-extension-fcstd">
- <sub-class-of type="application/zip"/>
- <comment>FreeCAD document</comment>
- <glob pattern="*.fcstd"/>
- <icon name="freecad"/>
- </mime-type>
-</mime-info>
Copied: freecad/repos/community-x86_64/freecad.xml (from rev 907088, freecad/trunk/freecad.xml)
===================================================================
--- freecad.xml (rev 0)
+++ freecad.xml 2021-03-28 18:17:56 UTC (rev 907089)
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<mime-info xmlns='http://www.freedesktop.org/standards/shared-mime-info'>
+ <mime-type type="application/x-extension-fcstd">
+ <sub-class-of type="application/zip"/>
+ <comment>FreeCAD document</comment>
+ <glob pattern="*.fcstd"/>
+ <icon name="freecad"/>
+ </mime-type>
+</mime-info>
More information about the arch-commits
mailing list