diff options
author | Edinaldo P. Silva <edps.mundognu@gmail.com> | 2017-03-20 08:09:56 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2017-03-20 08:09:56 +0700 |
commit | da44751e8d9cec83494956782ded3ee408cd702b (patch) | |
tree | 54a232b7cf54f789e82a895566df93fdd0eea50f /development/fuel | |
parent | de49f90d49befbec6876b0efcffddd290fd0991a (diff) |
development/fuel: Build with Qt4.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/fuel')
-rw-r--r-- | development/fuel/README | 4 | ||||
-rw-r--r-- | development/fuel/fuel.SlackBuild | 24 | ||||
-rw-r--r-- | development/fuel/fuel.info | 2 | ||||
-rw-r--r-- | development/fuel/slack-desc | 4 |
4 files changed, 13 insertions, 21 deletions
diff --git a/development/fuel/README b/development/fuel/README index 2efed6e538c4..ff72f8518110 100644 --- a/development/fuel/README +++ b/development/fuel/README @@ -1,5 +1,5 @@ fuel (GUI front-end for Fossil) Fuel is cross-platform GUI front-end for the excellent Fossil SCM tool -written in Qt. Fuel runs on Windows, OSX as well as various flavors of -Unix including Linux and FreeBSD. +written in Qt. Fuel runs on Windows, OSX as well as various flavors +of Unix including Linux and FreeBSD. diff --git a/development/fuel/fuel.SlackBuild b/development/fuel/fuel.SlackBuild index ca4799a8443e..1c00e4a59de2 100644 --- a/development/fuel/fuel.SlackBuild +++ b/development/fuel/fuel.SlackBuild @@ -2,7 +2,7 @@ # # Slackware build script for fuel. # -# Copyright 2015 Edinaldo P. Silva, Rio de Janeiro, Brazil. +# Copyright 2015-2017 Edinaldo P. Silva, Rio de Janeiro, Brazil. # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,12 +24,12 @@ PRGNAM=fuel VERSION=${VERSION:-1.0.1} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$(uname -m)" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$(uname -m) ;; esac @@ -40,8 +40,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" @@ -59,7 +59,7 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-src-$VERSION +rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . @@ -71,21 +71,13 @@ find -L . \ qmake fuel.pro make - -install -d $PKG/usr/bin -install -D -m755 fuel $PKG/usr/bin/fuel -install -d $PKG/usr/share/applications -install -D -m644 rsrc/fuel.desktop $PKG/usr/share/applications/fuel.desktop -install -d /usr/share/icons/hicolor/256x256/apps/ -install -D -m644 rsrc/icons/fuel.png $PKG/usr/share/icons/hicolor/256x256/apps/fuel.png +make INSTALL_ROOT=$PKG install find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true -DOCS="doc/Building.md doc/Changes.md doc/License.txt" - mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION/ +cp -a doc/{Building.md,Changes.md,License.txt} $PKG/usr/doc/$PRGNAM-$VERSION/ cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/development/fuel/fuel.info b/development/fuel/fuel.info index 347ea5aa0891..871bde54ec48 100644 --- a/development/fuel/fuel.info +++ b/development/fuel/fuel.info @@ -5,6 +5,6 @@ DOWNLOAD="https://fuel-scm.org/files/releases/fuel-1.0.1.tar.gz" MD5SUM="2dc6067711d7aff02bbe1b1585e55108" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="qt5 fossil" +REQUIRES="fossil" MAINTAINER="Edinaldo P. Silva" EMAIL="edps.mundognu@gmail.com" diff --git a/development/fuel/slack-desc b/development/fuel/slack-desc index f77890ed0d5f..dc34e00873ac 100644 --- a/development/fuel/slack-desc +++ b/development/fuel/slack-desc @@ -9,10 +9,10 @@ fuel: fuel (GUI front-end for Fossil) fuel: fuel: Fuel is cross-platform GUI front-end for the excellent Fossil SCM tool -fuel: written in Qt. Fuel runs on Windows, OSX as well as various flavors +fuel: written in Qt. Fuel runs on Windows, OSX as well as various flavors fuel: of Unix including Linux and FreeBSD. fuel: -fuel: Home Page: https://fuel-scm.org/fossil/home/ +fuel: Home page: https://fuel-scm.org/fossil/home/ fuel: fuel: fuel: |