development/extra-cmake-modules: Updated for version 5.51.0.

Make Sphinx an optional dependency

Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
Matteo Bernardini 2018-10-16 05:32:23 +02:00 committed by Willy Sudiarto Raharjo
parent 1b399e2d9c
commit 2f774bb5b2
No known key found for this signature in database
GPG key ID: 887B8374D7333381
3 changed files with 11 additions and 7 deletions

View file

@ -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.

View file

@ -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

View file

@ -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"