summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDugan Chen <thedoogster [at] gmail [dot] com>2013-10-27 22:12:32 -0500
committerRobby Workman <rworkman@slackbuilds.org>2013-10-27 23:39:08 -0500
commite6c19d38af0899d3a795443ae97e96822533dc9c (patch)
tree078f1463962de214e6e1476af0a778b5ae58095a
parent7a1c6033678c4fa82a692b20ded778b37fe7f2bd (diff)
downloadslackbuilds-e6c19d38af0899d3a795443ae97e96822533dc9c.tar.gz
development/tiled-qt: Updated for version 0.9.1.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
-rw-r--r--development/tiled-qt/manpage_location.patch34
-rw-r--r--development/tiled-qt/tiled-qt.SlackBuild6
-rw-r--r--development/tiled-qt/tiled-qt.info6
3 files changed, 6 insertions, 40 deletions
diff --git a/development/tiled-qt/manpage_location.patch b/development/tiled-qt/manpage_location.patch
deleted file mode 100644
index 27586df6e0..0000000000
--- a/development/tiled-qt/manpage_location.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-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 2ccd928079..8bd55cfa2d 100644
--- a/development/tiled-qt/tiled-qt.SlackBuild
+++ b/development/tiled-qt/tiled-qt.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=tiled-qt
-VERSION=${VERSION:-0.9.0}
+VERSION=${VERSION:-0.9.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,8 +69,6 @@ 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}
@@ -79,6 +77,8 @@ 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
+mv $PKG/usr/share/man $PKG/usr/man
+
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
diff --git a/development/tiled-qt/tiled-qt.info b/development/tiled-qt/tiled-qt.info
index f179055dd7..7497e5249c 100644
--- a/development/tiled-qt/tiled-qt.info
+++ b/development/tiled-qt/tiled-qt.info
@@ -1,8 +1,8 @@
PRGNAM="tiled-qt"
-VERSION="0.9.0"
+VERSION="0.9.1"
HOMEPAGE="http://www.mapeditor.org"
-DOWNLOAD="http://downloads.sourceforge.net/tiled/tiled-qt-0.9.0.tar.gz"
-MD5SUM="e2e21a54ff17e34b49b8a330cc8b657e"
+DOWNLOAD="http://downloads.sourceforge.net/tiled/tiled-qt-0.9.1.tar.gz"
+MD5SUM="d032b18e0ff7d5a4a843a1ac93a9f638"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""