From 2f774bb5b23b227530814d849b87c884da64183b Mon Sep 17 00:00:00 2001 From: Matteo Bernardini Date: Tue, 16 Oct 2018 05:32:23 +0200 Subject: development/extra-cmake-modules: Updated for version 5.51.0. Make Sphinx an optional dependency Signed-off-by: Matteo Bernardini --- development/extra-cmake-modules/README | 2 ++ development/extra-cmake-modules/extra-cmake-modules.SlackBuild | 8 +++++--- development/extra-cmake-modules/extra-cmake-modules.info | 8 ++++---- 3 files changed, 11 insertions(+), 7 deletions(-) (limited to 'development/extra-cmake-modules') diff --git a/development/extra-cmake-modules/README b/development/extra-cmake-modules/README index 230a01a59c58..02464a57ba36 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 694c7eeef88a..89815ccc56f0 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 88a37cbf818e..42220ec3df14 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" -- cgit v1.2.3