[arch-commits] Commit in opencascade/repos (10 files)

Florian Pritz bluewind at archlinux.org
Fri May 15 12:31:29 UTC 2015


    Date: Friday, May 15, 2015 @ 14:31:28
  Author: bluewind
Revision: 133508

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

Added:
  opencascade/repos/community-testing-i686/
  opencascade/repos/community-testing-i686/PKGBUILD
    (from rev 133506, opencascade/trunk/PKGBUILD)
  opencascade/repos/community-testing-i686/env.sh
    (from rev 133506, opencascade/trunk/env.sh)
  opencascade/repos/community-testing-i686/opencascade.conf
    (from rev 133506, opencascade/trunk/opencascade.conf)
  opencascade/repos/community-testing-i686/opencascade.sh
    (from rev 133506, opencascade/trunk/opencascade.sh)
  opencascade/repos/community-testing-x86_64/
  opencascade/repos/community-testing-x86_64/PKGBUILD
    (from rev 133507, opencascade/trunk/PKGBUILD)
  opencascade/repos/community-testing-x86_64/env.sh
    (from rev 133507, opencascade/trunk/env.sh)
  opencascade/repos/community-testing-x86_64/opencascade.conf
    (from rev 133507, opencascade/trunk/opencascade.conf)
  opencascade/repos/community-testing-x86_64/opencascade.sh
    (from rev 133507, opencascade/trunk/opencascade.sh)

-------------------------------------------+
 community-testing-i686/PKGBUILD           |   46 ++++++++++++++++++++++++++++
 community-testing-i686/env.sh             |   22 +++++++++++++
 community-testing-i686/opencascade.conf   |    1 
 community-testing-i686/opencascade.sh     |    2 +
 community-testing-x86_64/PKGBUILD         |   46 ++++++++++++++++++++++++++++
 community-testing-x86_64/env.sh           |   22 +++++++++++++
 community-testing-x86_64/opencascade.conf |    1 
 community-testing-x86_64/opencascade.sh   |    2 +
 8 files changed, 142 insertions(+)

Copied: opencascade/repos/community-testing-i686/PKGBUILD (from rev 133506, opencascade/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2015-05-15 12:31:28 UTC (rev 133508)
@@ -0,0 +1,46 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+# Contributor: Giuseppe Borzi <gborzi at ieee.org>
+# Contributor: Brice M<E9>alier <mealier_brice at yahoo.fr>
+# Contributor: Michele Mocciola <mickele>
+pkgname=opencascade
+pkgver=6.9.0
+pkgrel=1
+pkgdesc="Open CASCADE Technology, 3D modeling & numerical simulation"
+arch=('i686' 'x86_64')
+url="http://www.opencascade.org"
+license=('custom')
+depends=('tk' 'mesa' 'java-runtime' 'libxmu' 'ftgl' 'vtk')
+makedepends=('java-environment')
+source=("http://files.opencascade.com/OCCT/OCC_${pkgver}_release/$pkgname-${pkgver}.tgz" "env.sh" "opencascade.sh" "opencascade.conf")
+md5sums=('ba87fe9f5ca47e3dfd62aad7223f0e7f'
+         'a96f28ee7f4273ae1771ee033a2a3af3'
+         'd9368b8d348ced3ec4462012977552d2'
+         '2924ecf57c95d25888f51071fdc72ad0')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # fix for automake 1.13
+  sed -i -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.ac
+  ./build_configure
+  ./configure --disable-debug --enable-production \
+    --with-java-include=/usr/lib/jvm/default/include \
+    --with-vtk-library=/usr/lib/ --with-vtk-include=/usr/include/vtk-6.1/ \
+    --prefix=/opt/$pkgname
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # no DESTDIR support so use prefix. This has to suffix match the prefix in ./configure
+  make prefix="$pkgdir/opt/$pkgname" install
+  cp -r src/UnitsAPI/ "${pkgdir}/opt/$pkgname/src"
+  install -D -m644 "${srcdir}/opencascade.conf" "${pkgdir}/etc/ld.so.conf.d/opencascade.conf"
+  install -D -m 755 "${srcdir}/opencascade.sh" "${pkgdir}/etc/profile.d/opencascade.sh"
+  install -m 755 "${srcdir}/env.sh" "${pkgdir}/opt/$pkgname"
+  install -dm755 "$pkgdir/usr/share/licenses/$pkgname/"
+  install -m644 LICENSE_LGPL_21.txt OCCT_LGPL_EXCEPTION.txt "$pkgdir/usr/share/licenses/$pkgname"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: opencascade/repos/community-testing-i686/env.sh (from rev 133506, opencascade/trunk/env.sh)
===================================================================
--- community-testing-i686/env.sh	                        (rev 0)
+++ community-testing-i686/env.sh	2015-05-15 12:31:28 UTC (rev 133508)
@@ -0,0 +1,22 @@
+#!/bin/sh -f
+
+export PATH="$PATH:$CASROOT/bin"
+export LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}$CASROOT/lib"
+
+export CSF_LANGUAGE=us
+export MMGT_CLEAR=1
+export CSF_EXCEPTION_PROMPT=1
+
+export CSF_SHMessage="$CASROOT"/src/SHMessage
+export CSF_MDTVTexturesDirectory="$CASROOT"/src/Textures
+export CSF_XSMessage="$CASROOT"/src/XSMessage
+export CSF_StandardDefaults="$CASROOT"/src/StdResource
+export CSF_PluginDefaults="$CASROOT"/src/StdResource
+export CSF_XCAFDefaults="$CASROOT"/src/StdResource
+export CSF_StandardLiteDefaults="$CASROOT"/src/StdResource
+export CSF_UnitsLexicon="$CASROOT"/src/UnitsAPI/Lexi_Expr.dat
+export CSF_UnitsDefinition="$CASROOT"/src/UnitsAPI/Units.dat
+export CSF_IGESDefaults="$CASROOT"/src/XSTEPResource
+export CSF_STEPDefaults="$CASROOT"/src/XSTEPResource
+export CSF_XmlOcafResource="$CASROOT"/src/XmlOcafResource
+export CSF_GraphicShr="$CASROOT"/lib/libTKOpenGl.so

Copied: opencascade/repos/community-testing-i686/opencascade.conf (from rev 133506, opencascade/trunk/opencascade.conf)
===================================================================
--- community-testing-i686/opencascade.conf	                        (rev 0)
+++ community-testing-i686/opencascade.conf	2015-05-15 12:31:28 UTC (rev 133508)
@@ -0,0 +1 @@
+/opt/opencascade/lib

Copied: opencascade/repos/community-testing-i686/opencascade.sh (from rev 133506, opencascade/trunk/opencascade.sh)
===================================================================
--- community-testing-i686/opencascade.sh	                        (rev 0)
+++ community-testing-i686/opencascade.sh	2015-05-15 12:31:28 UTC (rev 133508)
@@ -0,0 +1,2 @@
+export CASROOT=/opt/opencascade
+source /opt/opencascade/env.sh

Copied: opencascade/repos/community-testing-x86_64/PKGBUILD (from rev 133507, opencascade/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2015-05-15 12:31:28 UTC (rev 133508)
@@ -0,0 +1,46 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+# Contributor: Giuseppe Borzi <gborzi at ieee.org>
+# Contributor: Brice M<E9>alier <mealier_brice at yahoo.fr>
+# Contributor: Michele Mocciola <mickele>
+pkgname=opencascade
+pkgver=6.9.0
+pkgrel=1
+pkgdesc="Open CASCADE Technology, 3D modeling & numerical simulation"
+arch=('i686' 'x86_64')
+url="http://www.opencascade.org"
+license=('custom')
+depends=('tk' 'mesa' 'java-runtime' 'libxmu' 'ftgl' 'vtk')
+makedepends=('java-environment')
+source=("http://files.opencascade.com/OCCT/OCC_${pkgver}_release/$pkgname-${pkgver}.tgz" "env.sh" "opencascade.sh" "opencascade.conf")
+md5sums=('ba87fe9f5ca47e3dfd62aad7223f0e7f'
+         'a96f28ee7f4273ae1771ee033a2a3af3'
+         'd9368b8d348ced3ec4462012977552d2'
+         '2924ecf57c95d25888f51071fdc72ad0')
+
+build() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # fix for automake 1.13
+  sed -i -e 's/AM_CONFIG_HEADER/AC_CONFIG_HEADERS/' configure.ac
+  ./build_configure
+  ./configure --disable-debug --enable-production \
+    --with-java-include=/usr/lib/jvm/default/include \
+    --with-vtk-library=/usr/lib/ --with-vtk-include=/usr/include/vtk-6.1/ \
+    --prefix=/opt/$pkgname
+  make
+}
+
+package() {
+  cd "$srcdir/$pkgname-$pkgver"
+
+  # no DESTDIR support so use prefix. This has to suffix match the prefix in ./configure
+  make prefix="$pkgdir/opt/$pkgname" install
+  cp -r src/UnitsAPI/ "${pkgdir}/opt/$pkgname/src"
+  install -D -m644 "${srcdir}/opencascade.conf" "${pkgdir}/etc/ld.so.conf.d/opencascade.conf"
+  install -D -m 755 "${srcdir}/opencascade.sh" "${pkgdir}/etc/profile.d/opencascade.sh"
+  install -m 755 "${srcdir}/env.sh" "${pkgdir}/opt/$pkgname"
+  install -dm755 "$pkgdir/usr/share/licenses/$pkgname/"
+  install -m644 LICENSE_LGPL_21.txt OCCT_LGPL_EXCEPTION.txt "$pkgdir/usr/share/licenses/$pkgname"
+}
+
+# vim:set ts=2 sw=2 et:

Copied: opencascade/repos/community-testing-x86_64/env.sh (from rev 133507, opencascade/trunk/env.sh)
===================================================================
--- community-testing-x86_64/env.sh	                        (rev 0)
+++ community-testing-x86_64/env.sh	2015-05-15 12:31:28 UTC (rev 133508)
@@ -0,0 +1,22 @@
+#!/bin/sh -f
+
+export PATH="$PATH:$CASROOT/bin"
+export LD_LIBRARY_PATH="${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}$CASROOT/lib"
+
+export CSF_LANGUAGE=us
+export MMGT_CLEAR=1
+export CSF_EXCEPTION_PROMPT=1
+
+export CSF_SHMessage="$CASROOT"/src/SHMessage
+export CSF_MDTVTexturesDirectory="$CASROOT"/src/Textures
+export CSF_XSMessage="$CASROOT"/src/XSMessage
+export CSF_StandardDefaults="$CASROOT"/src/StdResource
+export CSF_PluginDefaults="$CASROOT"/src/StdResource
+export CSF_XCAFDefaults="$CASROOT"/src/StdResource
+export CSF_StandardLiteDefaults="$CASROOT"/src/StdResource
+export CSF_UnitsLexicon="$CASROOT"/src/UnitsAPI/Lexi_Expr.dat
+export CSF_UnitsDefinition="$CASROOT"/src/UnitsAPI/Units.dat
+export CSF_IGESDefaults="$CASROOT"/src/XSTEPResource
+export CSF_STEPDefaults="$CASROOT"/src/XSTEPResource
+export CSF_XmlOcafResource="$CASROOT"/src/XmlOcafResource
+export CSF_GraphicShr="$CASROOT"/lib/libTKOpenGl.so

Copied: opencascade/repos/community-testing-x86_64/opencascade.conf (from rev 133507, opencascade/trunk/opencascade.conf)
===================================================================
--- community-testing-x86_64/opencascade.conf	                        (rev 0)
+++ community-testing-x86_64/opencascade.conf	2015-05-15 12:31:28 UTC (rev 133508)
@@ -0,0 +1 @@
+/opt/opencascade/lib

Copied: opencascade/repos/community-testing-x86_64/opencascade.sh (from rev 133507, opencascade/trunk/opencascade.sh)
===================================================================
--- community-testing-x86_64/opencascade.sh	                        (rev 0)
+++ community-testing-x86_64/opencascade.sh	2015-05-15 12:31:28 UTC (rev 133508)
@@ -0,0 +1,2 @@
+export CASROOT=/opt/opencascade
+source /opt/opencascade/env.sh



More information about the arch-commits mailing list