summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"