Updated to OpenCSG 1.4.1
This commit is contained in:
parent
ba26a08d1b
commit
4a0ac7b2fa
2 changed files with 23 additions and 2 deletions
21
patches/OpenCSG-1.4.1-MacOSX-port.patch
Normal file
21
patches/OpenCSG-1.4.1-MacOSX-port.patch
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
diff --git a/opencsg.pro b/opencsg.pro
|
||||
index b56e622..5cf2d6d 100644
|
||||
--- a/opencsg.pro
|
||||
+++ b/opencsg.pro
|
||||
@@ -1,2 +1,2 @@
|
||||
TEMPLATE = subdirs
|
||||
-SUBDIRS = src example
|
||||
+SUBDIRS = src
|
||||
diff --git a/src/src.pro b/src/src.pro
|
||||
index 9091251..598112a 100644
|
||||
--- a/src/src.pro
|
||||
+++ b/src/src.pro
|
||||
@@ -7,6 +7,8 @@ TARGET = opencsg
|
||||
}
|
||||
|
||||
CONFIG += opengl warn_on release
|
||||
+CONFIG += absolute_library_soname
|
||||
+QMAKE_STRIP = echo
|
||||
INCLUDEPATH += ../include ../ $$INSTALLDIR/include
|
||||
CONFIG -= qt
|
||||
LIBS += -L$$INSTALLDIR/lib -lGLEW
|
||||
|
|
@ -44,7 +44,7 @@ PACKAGES=(
|
|||
"gettext 0.19.8"
|
||||
"libffi 3.2.1"
|
||||
"glib2 2.46.1"
|
||||
"opencsg 1.4.0"
|
||||
"opencsg 1.4.1"
|
||||
"freetype 2.6.3"
|
||||
"ragel 6.9"
|
||||
"harfbuzz 1.2.7"
|
||||
|
|
@ -420,7 +420,7 @@ build_opencsg()
|
|||
tar xzf OpenCSG-$version.tar.gz
|
||||
cd OpenCSG-$version
|
||||
patch -p1 < $OPENSCADDIR/patches/OpenCSG-$version-MacOSX-port.patch
|
||||
qmake -r QMAKE_CXXFLAGS+="-I$DEPLOYDIR/include $CXXSTDFLAGS" QMAKE_LFLAGS+="-L$DEPLOYDIR/lib $LDSTDFLAGS" CONFIG+="x86_64" DESTDIR=$DEPLOYDIR
|
||||
qmake -r INSTALLDIR=$DEPLOYDIR
|
||||
make install
|
||||
install_name_tool -id @rpath/libopencsg.dylib $DEPLOYDIR/lib/libopencsg.dylib
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue