You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/media-gfx/meshlab/files/2016.12/0001-use-external-lib3ds.patch

49 lines
1.7 KiB

From 911bc805f89c464540fdce4c16e15f64476cf161 Mon Sep 17 00:00:00 2001
From: Sobhan Mohammadpour <www.sobhan.mohammadpour@gmail.com>
Date: Wed, 22 Nov 2017 19:25:35 +0330
Subject: [PATCH] use-external-lib3ds
---
meshlabplugins/io_3ds/io_3ds.pro | 24 ------------------------
1 file changed, 24 deletions(-)
diff --git a/meshlabplugins/io_3ds/io_3ds.pro b/meshlabplugins/io_3ds/io_3ds.pro
index 601f5da..5a19589 100644
--- a/meshlabplugins/io_3ds/io_3ds.pro
+++ b/meshlabplugins/io_3ds/io_3ds.pro
@@ -9,31 +9,7 @@ HEADERS = meshio.h \
io_3ds.h
SOURCES += meshio.cpp \
-
-DEFINES += LIB3DS_STATIC
TARGET = io_3ds
-INCLUDEPATH += ../../external/lib3ds-1.3.0/
-
-# Notes on the paths of lib3ds files.
-# Once you have compiled the library put the lib files in a dir named lib/XXX/
-# where XXX is the name of your system according to the QT naming style.
-# Linux users can rely on their own package managers and hope that it is installing the last version of lib3ds
-
-win32-msvc2015:LIBS += ../../external/lib/win32-msvc2015/3ds.lib
-win32-msvc.net:LIBS += ../../external/lib/win32-msvc.net/3ds.lib
-win32-msvc2005:LIBS += ../../external/lib/win32-msvc2005/3ds.lib
-win32-msvc2008:LIBS += ../../external/lib/win32-msvc2008/3ds.lib
-win32-g++:LIBS += ../../external/lib/win32-gcc/lib3ds.a
-linux-g++:LIBS += ../../external/lib/linux-g++/lib3ds.a
-linux-g++-32:LIBS += ../../external/lib/linux-g++-32/lib3ds.a
-linux-g++-64:LIBS += ../../external/lib/linux-g++-64/lib3ds.a
-
-# unix:LIBS += -L../../../../code/lib/lib3ds-1.3.0/lib3ds/lib/unix -l3ds
-
-# mac:LIBS -= -l3ds
-# mac:LIBS += ../../../../code/lib/lib3ds-1.3.0/lib/mac/lib3ds.a
-
-macx:LIBS += $$MACLIBDIR/lib3ds.a
--
2.15.0