From a76195912a53ae6a1d59e733c1f754fa15d10a3e Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Sun, 27 Feb 2022 19:47:44 +0100 Subject: academic/iTest: Use qt4. Signed-off-by: Matteo Bernardini --- academic/iTest/iTest.SlackBuild | 8 +++++--- academic/iTest/iTest.info | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/academic/iTest/iTest.SlackBuild b/academic/iTest/iTest.SlackBuild index a569a2df93..9ba531b79c 100644 --- a/academic/iTest/iTest.SlackBuild +++ b/academic/iTest/iTest.SlackBuild @@ -33,7 +33,7 @@ PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -51,8 +51,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -87,6 +87,8 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +. /etc/profile.d/qt4.sh + cd iTestServer lrelease iTestServer.pro cd .. diff --git a/academic/iTest/iTest.info b/academic/iTest/iTest.info index 093a59a20d..a4933c1590 100644 --- a/academic/iTest/iTest.info +++ b/academic/iTest/iTest.info @@ -5,6 +5,6 @@ DOWNLOAD="http://sourceforge.net/projects/itest/files/itest-prereleases/iTest-1. MD5SUM="8e4b055c42850ec740cccc18db681bd6" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" +REQUIRES="qt4" MAINTAINER="R. S. Ananda Murthy" EMAIL="rsamurti@gmail.com" -- cgit v1.2.3