PySide now installs its type system files.

The pyside.pc file now has a "typesystemdir" variable pointing to
the directory where the type system files are installed.

Example usage: pkg-config pyside --variable=typesystemdir

Also set the "PYSIDE_TYPESYSTEMS" CMake variable on
libpyside/PySideConfig.cmake.in to point to the same path
of pkg-config's "typesystemdir".

Reviewed by Hugo Parente <hugo.lima@openbossa.org>
Reviewed by Luciano Wolf <luciano.wolf@openbossa.org>
This commit is contained in:
Marcelo Lira 2010-06-21 15:21:25 -03:00
commit e323cd90f7
21 changed files with 60 additions and 2 deletions

View file

@ -1,5 +1,7 @@
# PYSIDE_INCLUDE_DIR - Directories to include to use PySide
# PYSIDE_LIBRARIES - Files to link against to use PySide
# PYSIDE_TYPESYSTEMS - Type system files that should be used by other bindings extending PySide
SET(PYSIDE_INCLUDE_DIR "@CMAKE_INSTALL_PREFIX@/include/PySide")
SET(PYSIDE_LIBRARY "@LIB_INSTALL_DIR@/@CMAKE_SHARED_LIBRARY_PREFIX@pyside@CMAKE_SHARED_LIBRARY_SUFFIX@")
SET(PYSIDE_TYPESYSTEMS "@CMAKE_INSTALL_PREFIX@/shared/PySide/typesystems")

View file

@ -2,6 +2,7 @@ prefix=@CMAKE_INSTALL_PREFIX@
exec_prefix=@CMAKE_INSTALL_PREFIX@
libdir=@LIB_INSTALL_DIR@
includedir=@CMAKE_INSTALL_PREFIX@/include/PySide
typesystemdir=@CMAKE_INSTALL_PREFIX@/share/PySide/typesystems
Name: PySide
Description: Support library for Python bindings of Qt-based libraries.