mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 02:42:49 -04:00
Don't try to locate that much thirdparty packages in a runtime build
This commit is contained in:
parent
aa719e845c
commit
1e07f44712
@ -397,25 +397,26 @@ if (COMPILER=="LINUX"):
|
|||||||
fcollada_libs = ("FColladaD", "FColladaSD")
|
fcollada_libs = ("FColladaD", "FColladaSD")
|
||||||
|
|
||||||
# Name pkg-config libs, include(dir)s
|
# Name pkg-config libs, include(dir)s
|
||||||
PkgEnable("ARTOOLKIT", "", ("AR"), "AR/ar.h")
|
if (not RUNTIME):
|
||||||
PkgEnable("FCOLLADA", "", ChooseLib(*fcollada_libs), ("FCollada", "FCollada.h"))
|
PkgEnable("ARTOOLKIT", "", ("AR"), "AR/ar.h")
|
||||||
PkgEnable("FFMPEG", ffmpeg_libs, ffmpeg_libs, ffmpeg_libs)
|
PkgEnable("FCOLLADA", "", ChooseLib(*fcollada_libs), ("FCollada", "FCollada.h"))
|
||||||
PkgEnable("FFTW", "", ("fftw", "rfftw"), ("fftw.h", "rfftw.h"))
|
PkgEnable("FFMPEG", ffmpeg_libs, ffmpeg_libs, ffmpeg_libs)
|
||||||
PkgEnable("FMODEX", "", ("fmodex"), ("fmodex", "fmodex/fmod.h"))
|
PkgEnable("FFTW", "", ("fftw", "rfftw"), ("fftw.h", "rfftw.h"))
|
||||||
PkgEnable("FREETYPE", "freetype2", ("freetype"), ("freetype2", "freetype2/freetype/freetype.h"))
|
PkgEnable("FMODEX", "", ("fmodex"), ("fmodex", "fmodex/fmod.h"))
|
||||||
PkgEnable("GLUT", "gl", ("GL"), ("GL/gl.h", "GL/glu.h"), framework = "OpenGL")
|
PkgEnable("FREETYPE", "freetype2", ("freetype"), ("freetype2", "freetype2/freetype/freetype.h"))
|
||||||
PkgEnable("GTK2", "gtk+-2.0")
|
PkgEnable("GLUT", "gl", ("GL"), ("GL/gl.h", "GL/glu.h"), framework = "OpenGL")
|
||||||
|
PkgEnable("GTK2", "gtk+-2.0")
|
||||||
|
PkgEnable("NVIDIACG", "", ("Cg"), "Cg/cg.h", framework = "Cg")
|
||||||
|
PkgEnable("ODE", "", ("ode"), "ode/ode.h")
|
||||||
|
PkgEnable("OPENAL", "openal", ("openal"), "AL/al.h", framework = "OpenAL")
|
||||||
|
PkgEnable("OPENCV", "", ("cv", "highgui", "cvaux", "ml", "cxcore"), ("opencv", "opencv/cv.h"))
|
||||||
|
PkgEnable("SQUISH", "", ("squish"), "squish.h")
|
||||||
|
PkgEnable("TIFF", "", ("tiff"), "tiff.h")
|
||||||
|
PkgEnable("VRPN", "", ("vrpn", "quat"), ("vrpn", "quat.h", "vrpn/vrpn_Types.h"))
|
||||||
PkgEnable("JPEG", "", ("jpeg"), "jpeglib.h")
|
PkgEnable("JPEG", "", ("jpeg"), "jpeglib.h")
|
||||||
PkgEnable("NVIDIACG", "", ("Cg"), "Cg/cg.h", framework = "Cg")
|
|
||||||
PkgEnable("ODE", "", ("ode"), "ode/ode.h")
|
|
||||||
PkgEnable("OPENAL", "openal", ("openal"), "AL/al.h", framework = "OpenAL")
|
|
||||||
PkgEnable("OPENCV", "", ("cv", "highgui", "cvaux", "ml", "cxcore"), ("opencv", "opencv/cv.h"))
|
|
||||||
PkgEnable("OPENSSL", "openssl", ("ssl", "crypto"), ("openssl/ssl.h", "openssl/crypto.h"))
|
PkgEnable("OPENSSL", "openssl", ("ssl", "crypto"), ("openssl/ssl.h", "openssl/crypto.h"))
|
||||||
PkgEnable("PNG", "libpng", ("png"), "png.h")
|
PkgEnable("PNG", "libpng", ("png"), "png.h")
|
||||||
PkgEnable("SQUISH", "", ("squish"), "squish.h")
|
|
||||||
PkgEnable("TIFF", "", ("tiff"), "tiff.h")
|
|
||||||
PkgEnable("TINYXML", "", ("tinyxml"), "tinyxml.h")
|
PkgEnable("TINYXML", "", ("tinyxml"), "tinyxml.h")
|
||||||
PkgEnable("VRPN", "", ("vrpn", "quat"), ("vrpn", "quat.h", "vrpn/vrpn_Types.h"))
|
|
||||||
PkgEnable("ZLIB", "", ("z"), "zlib.h")
|
PkgEnable("ZLIB", "", ("z"), "zlib.h")
|
||||||
if (RTDIST and sys.platform == "darwin" and "PYTHONVERSION" in SDK):
|
if (RTDIST and sys.platform == "darwin" and "PYTHONVERSION" in SDK):
|
||||||
# Don't use the framework for the OSX rtdist build. I'm afraid it gives problems somewhere.
|
# Don't use the framework for the OSX rtdist build. I'm afraid it gives problems somewhere.
|
||||||
@ -426,7 +427,7 @@ if (COMPILER=="LINUX"):
|
|||||||
PkgEnable("WX", tool = "wx-config")
|
PkgEnable("WX", tool = "wx-config")
|
||||||
if (RUNTIME):
|
if (RUNTIME):
|
||||||
PkgEnable("NPAPI", "", (), ("xulrunner-*/stable", "xulrunner-*/stable/npapi.h", "nspr/prtypes.h", "nspr"))
|
PkgEnable("NPAPI", "", (), ("xulrunner-*/stable", "xulrunner-*/stable/npapi.h", "nspr/prtypes.h", "nspr"))
|
||||||
if (sys.platform != "darwin"):
|
if (sys.platform != "darwin" and not RUNTIME):
|
||||||
# CgGL is covered by the Cg framework, and we don't need X11 components on OSX
|
# CgGL is covered by the Cg framework, and we don't need X11 components on OSX
|
||||||
if (PkgSkip("NVIDIACG")==0):
|
if (PkgSkip("NVIDIACG")==0):
|
||||||
PkgEnable("CGGL", "", ("CgGL"), "Cg/cgGL.h")
|
PkgEnable("CGGL", "", ("CgGL"), "Cg/cgGL.h")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user