summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorCristiano Urban <cristiano.urban.slack@gmail.com>2016-11-24 21:29:50 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-11-26 11:47:24 +0700
commit421864d2280c56ea18560c0c78434ccb0f416329 (patch)
tree3f35b61fe87884ac7fbda3ca8a3b034dfa65bb67 /misc
parent80f0a734f8dd32b185b90f7aef1160578de44fb2 (diff)
downloadslackbuilds-421864d2280c56ea18560c0c78434ccb0f416329.tar.gz
misc/QCMA: Updated for version 0.4.1.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'misc')
-rw-r--r--misc/QCMA/QCMA.SlackBuild16
-rw-r--r--misc/QCMA/QCMA.info8
-rw-r--r--misc/QCMA/README8
3 files changed, 9 insertions, 23 deletions
diff --git a/misc/QCMA/QCMA.SlackBuild b/misc/QCMA/QCMA.SlackBuild
index 0a0a8a3cc1..f4d3139eee 100644
--- a/misc/QCMA/QCMA.SlackBuild
+++ b/misc/QCMA/QCMA.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=QCMA
-VERSION=${VERSION:-0.3.13}
+VERSION=${VERSION:-0.4.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,7 +62,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/$SRCNAM-$VERSION.tar.gz || tar xvf $CWD/v$VERSION.tar.gz
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
@@ -71,15 +71,9 @@ 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 {} \;
-if [ "${QT5:-no}" == "yes" ]; then
- lrelease-qt5 $SRCNAM.pro
- qmake-qt5 LIBS+="-L/usr/lib${LIBDIRSUFFIX}" QMAKE_CFLAGS+="$SLKCFLAGS" \
- QMAKE_CXXFLAGS+="$SLKCFLAGS" -o Makefile $SRCNAM.pro
-else
- lrelease $SRCNAM.pro
- qmake LIBS+="-L/usr/lib${LIBDIRSUFFIX}" QMAKE_CFLAGS+="$SLKCFLAGS" \
- QMAKE_CXXFLAGS+="$SLKCFLAGS" -o Makefile $SRCNAM.pro
-fi
+lrelease-qt5 $SRCNAM.pro
+qmake-qt5 LIBS+="-L/usr/lib${LIBDIRSUFFIX}" QMAKE_CFLAGS+="$SLKCFLAGS" \
+QMAKE_CXXFLAGS+="$SLKCFLAGS" -o Makefile $SRCNAM.pro
make
sed -i "s|usr/local|usr/|g" */Makefile
diff --git a/misc/QCMA/QCMA.info b/misc/QCMA/QCMA.info
index d3f4a8a892..97766e0e28 100644
--- a/misc/QCMA/QCMA.info
+++ b/misc/QCMA/QCMA.info
@@ -1,10 +1,10 @@
PRGNAM="QCMA"
-VERSION="0.3.13"
+VERSION="0.4.1"
HOMEPAGE="https://codestation.github.io/qcma/"
-DOWNLOAD="https://github.com/codestation/qcma/archive/v0.3.13.tar.gz"
-MD5SUM="ee33b911def7e4772282c8db3d1b6658"
+DOWNLOAD="https://github.com/codestation/qcma/archive/v0.4.1/qcma-0.4.1.tar.gz"
+MD5SUM="129a37bca669df139e7efea755c289fb"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="ffmpeg VitaMTP"
+REQUIRES="ffmpeg qt5 VitaMTP"
MAINTAINER="Cristiano Urban"
EMAIL="cristiano.urban.slack@gmail.com"
diff --git a/misc/QCMA/README b/misc/QCMA/README
index f2620e8cb4..89b4f22aad 100644
--- a/misc/QCMA/README
+++ b/misc/QCMA/README
@@ -2,11 +2,3 @@ QCMA is a cross-platform application to provide a Open Source
implementation of the original Content Manager Assistant that
comes with the PS Vita. QCMA is meant to be compatible with
Linux, Windows and MAC OS X.
-
-By default QCMA is built using the qt4 library. If you want to
-build QCMA using the qt5 library, you have to launch the script
-by passing the QT5 parameter:
-
-QT5=yes ./QCMA.SlackBuild
-
-qt5 is an optional dependency.