mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-14 15:36:47 +03:00
phonon : fix configuration paths
This commit is contained in:
parent
4df02f777b
commit
b6e63fba6d
@ -47,8 +47,8 @@ stdenv.mkDerivation rec {
|
||||
postPatch = ''
|
||||
sed -i PhononConfig.cmake.in \
|
||||
-e "/get_filename_component(rootDir/ s/^.*$//" \
|
||||
-e "s,\\(set(PHONON_INCLUDE_DIR\\).*$,\\1 \"''${!outputDev}/include\")," \
|
||||
-e "s,\\(set(PHONON_LIBRARY_DIR\\).*$,\\1 \"''${!outputLib}/lib\")," \
|
||||
-e "s,\\(set(PHONON_BUILDSYSTEM_DIR\\).*$,\\1 \"''${!outputDev}/share/phonon${if withQt5 then "4qt5" else ""}/buildsystem\"),"
|
||||
-e "/^set(PHONON_INCLUDE_DIR/ s,\''${rootDir},''${!outputDev}," \
|
||||
-e "/^set(PHONON_LIBRARY_DIR/ s,\''${rootDir}/,," \
|
||||
-e "/^set(PHONON_BUILDSYSTEM_DIR/ s,\''${rootDir},''${!outputDev},"
|
||||
'';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user