qscintilla: fix qmake install paths
This commit is contained in:
parent
d817095208
commit
abb3479fcb
@ -21,11 +21,23 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
cd Qt4Qt5
|
cd Qt4Qt5
|
||||||
|
${if withQt5
|
||||||
|
then ''
|
||||||
|
sed -i -e "s,\$\$\\[QT_INSTALL_LIBS\\],$out/lib," \
|
||||||
|
-e "s,\$\$\\[QT_INSTALL_HEADERS\\],$out/include/," \
|
||||||
|
-e "s,\$\$\\[QT_INSTALL_TRANSLATIONS\\],$out/translations," \
|
||||||
|
-e "s,\$\$\\[QT_HOST_DATA\\]/mkspecs,$out/mkspecs," \
|
||||||
|
-e "s,\$\$\\[QT_INSTALL_DATA\\]/mkspecs,$out/mkspecs," \
|
||||||
|
-e "s,\$\$\\[QT_INSTALL_DATA\\],$out/share," \
|
||||||
|
qscintilla.pro
|
||||||
|
''
|
||||||
|
else ''
|
||||||
sed -i -e "s,\$\$\\[QT_INSTALL_LIBS\\],$out/lib," \
|
sed -i -e "s,\$\$\\[QT_INSTALL_LIBS\\],$out/lib," \
|
||||||
-e "s,\$\$\\[QT_INSTALL_HEADERS\\],$out/include/," \
|
-e "s,\$\$\\[QT_INSTALL_HEADERS\\],$out/include/," \
|
||||||
-e "s,\$\$\\[QT_INSTALL_TRANSLATIONS\\],$out/share/qt/translations," \
|
-e "s,\$\$\\[QT_INSTALL_TRANSLATIONS\\],$out/share/qt/translations," \
|
||||||
-e "s,\$\$\\[QT_INSTALL_DATA\\],$out/share/qt," \
|
-e "s,\$\$\\[QT_INSTALL_DATA\\],$out/share/qt," \
|
||||||
qscintilla.pro
|
qscintilla.pro
|
||||||
|
''}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user