summaryrefslogtreecommitdiff
path: root/app-admin
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2015-05-31 13:29:24 +0100
committerV3n3RiX <venerix@rogentos.ro>2015-05-31 13:29:24 +0100
commit65e272e056fb25f8b9e90757c60b46aef9896838 (patch)
tree23a4e3e0c35d35a222023c38966e3826f1fa1909 /app-admin
parent70dcfab63a8fd8c179808bfb79aac1baecadd9fd (diff)
do not rely on qtchooser, and make sure calamares builds against qt5, fix from vlc ebuild
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/calamares/calamares-999.ebuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/app-admin/calamares/calamares-999.ebuild b/app-admin/calamares/calamares-999.ebuild
index 31bc3140..a4ac0eef 100644
--- a/app-admin/calamares/calamares-999.ebuild
+++ b/app-admin/calamares/calamares-999.ebuild
@@ -52,6 +52,10 @@ RDEPEND=">=dev-qt/qtcore-5.4.0:5
virtual/udev[systemd]"
src_prepare() {
+ # If qtchooser is installed, it may break the build, because moc,rcc and uic binaries for wrong qt version may be used.
+ # Setting QT_SELECT environment variable will enforce correct binaries (fix taken from vlc ebuild)
+ export QT_SELECT=qt5
+
git submodule init
git submodule update
}