Lightspark and library settings

Lightspark is compiled within the CMAKE framework. Notorious are the setting where you want to have the results put (directory) in. The 12.2 distribution store libraries where you would expect them to be from OpenSUSE. However, whatever I do, whatever file I tweak, most libraries end up in the /usr/lib directory instead of the the /usr/lib directories. Also, the browser plugins end-up in the …/mozilla/plugins directory instead of the …/browser-plugins directory.

yes, I hate CMAKE because of the bewildering number of possible settings and their cross influences. However, have to live with it, but how do I setup parameters that libraries end up up where “I” want them to be?

OpenSUSE has things in the right place, maybe the developers have the right setting and/or an script to alter various (source) files.

Hope someone can help me,
regards, frans.

Ok, found out that I only have to use -DLIB_SUFFIX=64 as an extra option to all other options. Cmake…so many possibilities :frowning:

Found my clue at Ubuntucat

The build scripts are not secret: https://build.opensuse.org/package/rawlog?repository=openSUSE_12.2&project=multimedia:apps&package=lightspark&arch=x86_64

cmake -DCMAKE_BUILD_WITH_INSTALL_RPATH=1 -DCMAKE_VERBOSE_MAKEFILE=1 -DCMAKE_INSTALL_PREFIX=/usr -DLIB_SUFFIX=64 -DCMAKE_BUILD_TYPE=RelWithDebugInfo -DPLUGIN_DIRECTORY=/usr/lib64/browser-plugins -DENABLE_LIBAVCODEC=NO -DENABLE_RTMP=NO