diff options
Diffstat (limited to 'development/tiled/tiled.SlackBuild')
-rw-r--r-- | development/tiled/tiled.SlackBuild | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/development/tiled/tiled.SlackBuild b/development/tiled/tiled.SlackBuild index 2a1ede10ed5c2..4126bb606ee2a 100644 --- a/development/tiled/tiled.SlackBuild +++ b/development/tiled/tiled.SlackBuild @@ -25,7 +25,7 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=tiled -VERSION=${VERSION:-1.3.5} +VERSION=${VERSION:-1.4.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -81,14 +81,12 @@ if [ "$ARCH" = "x86_64" ]; then patch -p0 < $CWD/tiled_lib64.patch fi +qbs setup-qt /usr/bin/qmake-qt5 qt5 CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ - qmake-qt5 -r PREFIX=/usr LIBDIR=/usr/lib${LIBDIRSUFFIX} RPATH=no USE_FHS_PLUGIN_PATH=yes + qbs profile:qt5 qbs.installPrefix:"/usr" projects.Tiled.useRPaths:false -CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS" \ - make -make install INSTALL_ROOT=$PKG +qbs install --install-root $PKG 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 |