summaryrefslogtreecommitdiffstats
path: root/remote/modules/beamergui/module.build
diff options
context:
space:
mode:
Diffstat (limited to 'remote/modules/beamergui/module.build')
-rw-r--r--remote/modules/beamergui/module.build7
1 files changed, 6 insertions, 1 deletions
diff --git a/remote/modules/beamergui/module.build b/remote/modules/beamergui/module.build
index 2ff35bfc..1afde34e 100644
--- a/remote/modules/beamergui/module.build
+++ b/remote/modules/beamergui/module.build
@@ -6,6 +6,11 @@ fetch_source() {
build() {
local SRCDIR="${MODULE_DIR}/src/"
+ if [[ "$SYS_DISTRIBUTION" == "opensuse" && "$SYS_VERSION" == "13.2" ]]; then
+ QMAKE="/usr/$LIB64/qt4/bin/qmake"
+ else
+ QMAKE="$(which qmake-qt4)"
+ fi
# first activate qt 4
activate_qt 4
@@ -13,7 +18,7 @@ build() {
mkdir -p "$MODULE_BUILD_DIR/opt/openslx/bin"
cd "${MODULE_BUILD_DIR}/opt/openslx/bin" || perror "Could not cd!"
pinfo "Running qmake"
- qmake-qt4 "$SRCDIR/src/beamergui.pro" -r -spec linux-g++ || perror "'qmake-qt4' failed (e.g. not installed)."
+ "$QMAKE" "$SRCDIR/src/beamergui.pro" -r -spec linux-g++ || perror "'qmake-qt4' failed (e.g. not installed)."
pinfo "Running make"
make || perror "'make' failed."
}