summaryrefslogtreecommitdiff
path: root/development/extra-cmake-modules
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2018-10-16 05:32:23 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2018-10-21 06:47:06 +0700
commit2f774bb5b23b227530814d849b87c884da64183b (patch)
tree7425fe0e960d004a37d0cedf628042361397c0d1 /development/extra-cmake-modules
parent1b399e2d9c6f2cb4c4b00da74bf524d279dfc17e (diff)
downloadslackbuilds-2f774bb5b23b227530814d849b87c884da64183b.tar.gz
development/extra-cmake-modules: Updated for version 5.51.0.
Make Sphinx an optional dependency Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'development/extra-cmake-modules')
-rw-r--r--development/extra-cmake-modules/README2
-rw-r--r--development/extra-cmake-modules/extra-cmake-modules.SlackBuild8
-rw-r--r--development/extra-cmake-modules/extra-cmake-modules.info8
3 files changed, 11 insertions, 7 deletions
diff --git a/development/extra-cmake-modules/README b/development/extra-cmake-modules/README
index 230a01a59c..02464a57ba 100644
--- a/development/extra-cmake-modules/README
+++ b/development/extra-cmake-modules/README
@@ -2,3 +2,5 @@ CMake extra modules (extra cmake modules for compiling KDE Frameworks)
This package contains additional cmake modules required for compiling
KDE Frameworks 5.
+
+Sphinx is an optional dependency to build the modules documentation.
diff --git a/development/extra-cmake-modules/extra-cmake-modules.SlackBuild b/development/extra-cmake-modules/extra-cmake-modules.SlackBuild
index 694c7eeef8..89815ccc56 100644
--- a/development/extra-cmake-modules/extra-cmake-modules.SlackBuild
+++ b/development/extra-cmake-modules/extra-cmake-modules.SlackBuild
@@ -25,7 +25,7 @@
# Adapted by Fellype do Nascimento - fellype(at)gmail.com
PRGNAM=extra-cmake-modules
-VERSION=${VERSION:-5.50.0}
+VERSION=${VERSION:-5.51.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -87,8 +87,10 @@ cd -
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
+if [ $(which sphinx-build 2>/dev/null) ]; then
+ 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
+fi
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a COPYING-CMAKE-SCRIPTS README.rst $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/development/extra-cmake-modules/extra-cmake-modules.info b/development/extra-cmake-modules/extra-cmake-modules.info
index 88a37cbf81..42220ec3df 100644
--- a/development/extra-cmake-modules/extra-cmake-modules.info
+++ b/development/extra-cmake-modules/extra-cmake-modules.info
@@ -1,10 +1,10 @@
PRGNAM="extra-cmake-modules"
-VERSION="5.50.0"
+VERSION="5.51.0"
HOMEPAGE="https://cgit.kde.org/extra-cmake-modules.git"
-DOWNLOAD="https://github.com/KDE/extra-cmake-modules/archive/v5.50.0/extra-cmake-modules-5.50.0.tar.gz"
-MD5SUM="4a5ad60ad50527e12f63e3e189ef0d67"
+DOWNLOAD="https://github.com/KDE/extra-cmake-modules/archive/v5.51.0/extra-cmake-modules-5.51.0.tar.gz"
+MD5SUM="9801d0bca6cc3ae9cbdcfe2eb02b9e94"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="Sphinx"
+REQUIRES=""
MAINTAINER="Fellype do Nascimento"
EMAIL="fellype(at)gmail.com"