diff options
author | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-05-24 03:52:47 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2016-05-24 03:52:47 +0700 |
commit | 0f1b6b0a123d772a58753bb9533332422bcb5945 (patch) | |
tree | 7063a683d5f92cd9d833070c01536e0b663ab9cf /office/fbreader/fbreader.SlackBuild | |
parent | f9b270ccc5a6b21fdc420f2cf4752d8a4a1e6465 (diff) | |
download | slackbuilds-0f1b6b0a123d772a58753bb9533332422bcb5945.tar.gz |
office/fbreader: Remove GTK UI (No longer build).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'office/fbreader/fbreader.SlackBuild')
-rw-r--r-- | office/fbreader/fbreader.SlackBuild | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/office/fbreader/fbreader.SlackBuild b/office/fbreader/fbreader.SlackBuild index 09fe528408..d5c54adeac 100644 --- a/office/fbreader/fbreader.SlackBuild +++ b/office/fbreader/fbreader.SlackBuild @@ -23,11 +23,6 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -# If you want to build the gtk interface instead, then change this -# value to 'gtk' or run the script like this: -# UI=gtk ./fbreader.SlackBuild -UI=${UI:-qt4} - if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" LIBDIRSUFFIX="" @@ -59,18 +54,18 @@ find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ -o -perm 511 \) -exec chmod 755 {} \; -o \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ - -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; patch -p1 < $CWD/fbreader-0.99.4.patch export TARGET_ARCH=desktop -export UI_TYPE=$UI +export UI_TYPE=qt4 export TARGET_STATUS=release make LIBDIR=/usr/lib${LIBDIRSUFFIX} ZLSHARED=no MOC=/usr/bin/moc make install LIBDIR=/usr/lib${LIBDIRSUFFIX} ZLSHARED=no DESTDIR=$PKG -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +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 # Fix .desktop file |