diff options
author | Dugan Chen <thedoogster [at] gmail [dot] com> | 2013-02-10 00:48:52 -0600 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2013-02-14 00:26:52 -0600 |
commit | 1014d099332f9bc8021d5c9d0d4e9580140c477e (patch) | |
tree | 8d0cf368a1c4227c22999217cf44620250a40641 /development/tiled-qt | |
parent | d5c83a73fd0760c57e9a5013b7f1a9fb24ef1910 (diff) |
development/tiled-qt: Updated for version 0.9.0.
Signed-off-by: Erik Hanson <erik@slackbuilds.org>
Diffstat (limited to 'development/tiled-qt')
-rw-r--r-- | development/tiled-qt/manpage_location.patch | 34 | ||||
-rw-r--r-- | development/tiled-qt/tiled-qt.SlackBuild | 27 | ||||
-rw-r--r-- | development/tiled-qt/tiled-qt.info | 8 |
3 files changed, 63 insertions, 6 deletions
diff --git a/development/tiled-qt/manpage_location.patch b/development/tiled-qt/manpage_location.patch new file mode 100644 index 000000000000..27586df6e030 --- /dev/null +++ b/development/tiled-qt/manpage_location.patch @@ -0,0 +1,34 @@ +diff -rupN tiled-qt-0.9.0.old/src/tiled/tiled.pro tiled-qt-0.9.0/src/tiled/tiled.pro +--- tiled-qt-0.9.0.old/src/tiled/tiled.pro 2013-01-27 14:35:01.000000000 -0800 ++++ tiled-qt-0.9.0/src/tiled/tiled.pro 2013-02-05 20:09:03.592075258 -0800 +@@ -278,7 +278,7 @@ desktopfile.path = $${PREFIX}/share/appl + desktopfile.files += ../../docs/tiled.desktop + INSTALLS += desktopfile + +-manpage.path = $${PREFIX}/share/man/man1/ ++manpage.path = $${PREFIX}/man/man1/ + manpage.files += ../../docs/tiled.1 + INSTALLS += manpage + +diff -rupN tiled-qt-0.9.0.old/src/tmxrasterizer/tmxrasterizer.pro tiled-qt-0.9.0/src/tmxrasterizer/tmxrasterizer.pro +--- tiled-qt-0.9.0.old/src/tmxrasterizer/tmxrasterizer.pro 2013-01-27 14:35:01.000000000 -0800 ++++ tiled-qt-0.9.0/src/tmxrasterizer/tmxrasterizer.pro 2013-02-05 20:16:54.903093428 -0800 +@@ -39,6 +39,6 @@ SOURCES += main.cpp \ + + HEADERS += tmxrasterizer.h + +-manpage.path = $${PREFIX}/share/man/man1/ ++manpage.path = $${PREFIX}/man/man1/ + manpage.files += ../../docs/tmxrasterizer.1 + INSTALLS += manpage +diff -rupN tiled-qt-0.9.0.old/src/tmxviewer/tmxviewer.pro tiled-qt-0.9.0/src/tmxviewer/tmxviewer.pro +--- tiled-qt-0.9.0.old/src/tmxviewer/tmxviewer.pro 2013-01-27 14:35:01.000000000 -0800 ++++ tiled-qt-0.9.0/src/tmxviewer/tmxviewer.pro 2013-02-05 20:22:31.367106374 -0800 +@@ -39,6 +39,6 @@ SOURCES += main.cpp \ + + HEADERS += tmxviewer.h + +-manpage.path = $${PREFIX}/share/man/man1/ ++manpage.path = $${PREFIX}/man/man1/ + manpage.files += ../../docs/tmxviewer.1 + INSTALLS += manpage diff --git a/development/tiled-qt/tiled-qt.SlackBuild b/development/tiled-qt/tiled-qt.SlackBuild index 5916672e6acd..2ccd9280792d 100644 --- a/development/tiled-qt/tiled-qt.SlackBuild +++ b/development/tiled-qt/tiled-qt.SlackBuild @@ -2,10 +2,28 @@ # Slackware build script for tiled -# Written by Dugan Chen (thedoogster@gmail.com) +# Copyright 2012 Dugan Chen Canada +# All rights reserved. +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=tiled-qt -VERSION=${VERSION:-0.8.1} +VERSION=${VERSION:-0.9.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -51,6 +69,8 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +patch -p1 < $CWD/manpage_location.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ qmake -r PREFIX=/usr LIBDIR=/usr/lib${LIBDIRSUFFIX} @@ -59,6 +79,9 @@ make 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 +find $PKG/usr/man -type f -exec gzip -9 {} \; +for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done + mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ AUTHORS COPYING LICENSE* NEWS README.md docs/ examples/ \ diff --git a/development/tiled-qt/tiled-qt.info b/development/tiled-qt/tiled-qt.info index e31541caeaba..f179055dd73e 100644 --- a/development/tiled-qt/tiled-qt.info +++ b/development/tiled-qt/tiled-qt.info @@ -1,10 +1,10 @@ PRGNAM="tiled-qt" -VERSION="0.8.1" +VERSION="0.9.0" HOMEPAGE="http://www.mapeditor.org" -DOWNLOAD="http://downloads.sourceforge.net/tiled/tiled-qt-0.8.1.tar.gz" -MD5SUM="2a8b42e5b956562a184ab0f2b926cac7" +DOWNLOAD="http://downloads.sourceforge.net/tiled/tiled-qt-0.9.0.tar.gz" +MD5SUM="e2e21a54ff17e34b49b8a330cc8b657e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" MAINTAINER="Dugan Chen" -EMAIL="thedoogster@gmail.com" +EMAIL="thedoogster [at] gmail [dot] com" |