1
0
mirror of https://github.com/dguglielmi/sunny-overlay.git synced 2025-12-06 20:22:38 +01:00

- app-misc/qlcplus: fix qt5 deps

This commit is contained in:
2015-10-24 18:09:40 +02:00
parent 70e82ab6dd
commit aa31619e73
3 changed files with 13 additions and 11 deletions

View File

@@ -34,6 +34,7 @@ DEPEND="
>=dev-qt/qtscript-5.4:5
>=dev-qt/qtwidgets-5.4:5
>=dev-qt/qtxml-5.4:5
>=dev-qt/linguist-tools-5.4:5
)
opendmx? (
>=dev-embedded/libftdi-0.17
@@ -56,12 +57,12 @@ src_prepare() {
sed -i -e '/^unix:!macx:LIBSDIR =/s#lib#'$(get_libdir)'#1' variables.pri || die
if use qt5 ; then
export QT_SELECT=qt5
sed -i -e '/^unix:!macx:PLUGINDIR =/s#qt4#qt5#1' variables.pri || die
else
export QT_SELECT=qt4
fi
if use qt5 ; then
export QT_SELECT=qt5
sed -i -e '/^unix:!macx:PLUGINDIR =/s#qt4#qt5#1' variables.pri || die
else
export QT_SELECT=qt4
fi
if ! use fixtures-editor ; then
sed -i -e '/SUBDIRS += fixtureeditor/d' qlc.pro || die