[arch-commits] Commit in coin/repos (4 files)
Florian Pritz
bluewind at archlinux.org
Fri Dec 5 17:20:38 UTC 2014
Date: Friday, December 5, 2014 @ 18:20:38
Author: bluewind
Revision: 123483
archrelease: copy trunk to community-i686, community-x86_64
Added:
coin/repos/community-i686/
coin/repos/community-i686/PKGBUILD
(from rev 123482, coin/trunk/PKGBUILD)
coin/repos/community-x86_64/
coin/repos/community-x86_64/PKGBUILD
(from rev 123482, coin/trunk/PKGBUILD)
---------------------------+
community-i686/PKGBUILD | 67 ++++++++++++++++++++++++++++++++++++++++++++
community-x86_64/PKGBUILD | 67 ++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 134 insertions(+)
Copied: coin/repos/community-i686/PKGBUILD (from rev 123482, coin/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2014-12-05 17:20:38 UTC (rev 123483)
@@ -0,0 +1,67 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+# Contributor: Christian Hesse <mail at eworm.de>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: mickele
+# Contributor: marcus fritzsch <fritschy at googlemail.com>
+
+pkgname=coin
+pkgver=3.1.3
+pkgrel=13
+pkgdesc='A high-level 3D graphics toolkit on top of OpenGL'
+url='http://www.coin3d.org/'
+license=('GPL')
+arch=('i686' 'x86_64')
+depends=('libgl' 'expat')
+makedepends=('doxygen')
+optdepends=('openal: sound/dynamic linking support'
+ 'fontconfig: dynamic linking support'
+ 'zlib: dynamic linking support'
+ 'freetype2: dynamic linking support'
+ 'js: dynamic linking support'
+ 'simage: image format support')
+source=("https://bitbucket.org/Coin3D/coin/downloads/Coin-${pkgver}.tar.gz")
+
+build() {
+ cd Coin-${pkgver}
+
+ # fix prefix in coin-config
+ sed -i '/^prefix/c prefix="/usr/"' bin/coin-config
+
+ # fix compilation
+ sed -i '/^#include "fonts\/freetype.h"$/i #include <cstdlib>\n#include <cmath>' src/fonts/freetype.cpp
+
+ # fix http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667139
+ sed -i '/^#include <Inventor\/C\/basic.h>$/i #include <Inventor/C/errors/debugerror.h>' include/Inventor/SbBasic.h
+
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --enable-optimization \
+ --enable-3ds-import \
+ --enable-javascript-api \
+ --enable-threadsafe \
+ --enable-exceptions \
+ --enable-man \
+ --enable-html \
+ --with-mesa \
+ --disable-debug \
+ --enable-shared \
+ --disable-maintainer-mode \
+ --disable-dependency-tracking \
+ --enable-system-expat
+
+ make
+}
+
+package() {
+ cd Coin-${pkgver}
+
+ make DESTDIR=${pkgdir} install
+
+ # final adjustments
+ for _FILE in threads deprecated errors events ; do
+ mv "${pkgdir}/usr/share/man/man3/${_FILE}.3" "${pkgdir}/usr/share/man/man3/coin-${_FILE}.3"
+ done
+}
+
+sha256sums=('583478c581317862aa03a19f14c527c3888478a06284b9a46a0155fa5886d417')
Copied: coin/repos/community-x86_64/PKGBUILD (from rev 123482, coin/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2014-12-05 17:20:38 UTC (rev 123483)
@@ -0,0 +1,67 @@
+# Maintainer: Florian Pritz <bluewind at xinu.at>
+# Contributor: Christian Hesse <mail at eworm.de>
+# Contributor: Thomas Dziedzic < gostrc at gmail >
+# Contributor: mickele
+# Contributor: marcus fritzsch <fritschy at googlemail.com>
+
+pkgname=coin
+pkgver=3.1.3
+pkgrel=13
+pkgdesc='A high-level 3D graphics toolkit on top of OpenGL'
+url='http://www.coin3d.org/'
+license=('GPL')
+arch=('i686' 'x86_64')
+depends=('libgl' 'expat')
+makedepends=('doxygen')
+optdepends=('openal: sound/dynamic linking support'
+ 'fontconfig: dynamic linking support'
+ 'zlib: dynamic linking support'
+ 'freetype2: dynamic linking support'
+ 'js: dynamic linking support'
+ 'simage: image format support')
+source=("https://bitbucket.org/Coin3D/coin/downloads/Coin-${pkgver}.tar.gz")
+
+build() {
+ cd Coin-${pkgver}
+
+ # fix prefix in coin-config
+ sed -i '/^prefix/c prefix="/usr/"' bin/coin-config
+
+ # fix compilation
+ sed -i '/^#include "fonts\/freetype.h"$/i #include <cstdlib>\n#include <cmath>' src/fonts/freetype.cpp
+
+ # fix http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=667139
+ sed -i '/^#include <Inventor\/C\/basic.h>$/i #include <Inventor/C/errors/debugerror.h>' include/Inventor/SbBasic.h
+
+ ./configure \
+ --prefix=/usr \
+ --mandir=/usr/share/man \
+ --enable-optimization \
+ --enable-3ds-import \
+ --enable-javascript-api \
+ --enable-threadsafe \
+ --enable-exceptions \
+ --enable-man \
+ --enable-html \
+ --with-mesa \
+ --disable-debug \
+ --enable-shared \
+ --disable-maintainer-mode \
+ --disable-dependency-tracking \
+ --enable-system-expat
+
+ make
+}
+
+package() {
+ cd Coin-${pkgver}
+
+ make DESTDIR=${pkgdir} install
+
+ # final adjustments
+ for _FILE in threads deprecated errors events ; do
+ mv "${pkgdir}/usr/share/man/man3/${_FILE}.3" "${pkgdir}/usr/share/man/man3/coin-${_FILE}.3"
+ done
+}
+
+sha256sums=('583478c581317862aa03a19f14c527c3888478a06284b9a46a0155fa5886d417')
More information about the arch-commits
mailing list