office/kchmviewer: Updated for version 6.0.

Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
This commit is contained in:
Michiel van Wessem 2012-01-30 23:06:10 -06:00 committed by Robby Workman
parent 9edb1e4ca8
commit 6cb0764779
3 changed files with 5 additions and 22 deletions

View File

@ -24,7 +24,7 @@
# OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=kchmviewer
VERSION=${VERSION:-5.3}
VERSION=${VERSION:-6.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@ -70,10 +70,6 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
# Apply a patch added patch for using the version of kio_msits.so provided
# by kdegraphics (by disabling it to build here).
patch -p1 < $CWD/kchmviewer_no_msits.patch
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \

View File

@ -1,10 +1,10 @@
PRGNAM="kchmviewer"
VERSION="5.3"
VERSION="6.0"
HOMEPAGE="http://www.kchmviewer.net"
DOWNLOAD="http://downloads.sourceforge.net/kchmviewer/kchmviewer-5.3.tar.gz"
MD5SUM="619bae91bcaf9cc81d9907f0d593798f"
DOWNLOAD="http://downloads.sourceforge.net/kchmviewer/kchmviewer-6.0.tar.gz"
MD5SUM="940fdeeb5f50cdd0d0611f7a13e003f9"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Michiel van Wessem"
EMAIL="michiel@slackbuilds.org"
APPROVED="Niels Horn"
APPROVED="rworkman"

View File

@ -1,13 +0,0 @@
diff -Naur kchmviewer-5.3/CMakeLists.txt kchmviewer-5.3_patched/CMakeLists.txt
--- kchmviewer-5.3/CMakeLists.txt 2009-12-15 06:02:57.000000000 +0000
+++ kchmviewer-5.3_patched/CMakeLists.txt 2011-03-31 02:02:00.936125068 +0000
@@ -18,7 +18,8 @@
# Run in those subdirectories
ADD_SUBDIRECTORY( lib/libchmfile )
-ADD_SUBDIRECTORY( lib/kio-msits )
+# Disable use of kio-msits so it uses KDE's own.
+#ADD_SUBDIRECTORY( lib/kio-msits )
ADD_SUBDIRECTORY( src )
ADD_SUBDIRECTORY( po )
ADD_SUBDIRECTORY( packages )