diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2018-08-10 16:32:47 +0200 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-08-11 07:23:13 +0700 |
commit | e94dd6e6535e5cfb76aa6d022372f9a490669bf1 (patch) | |
tree | 80077efd3dd65263150195f1a7ea4d63b2fa95f6 | |
parent | 40fb166516ee8d7793055fd7f972db21ffc8735d (diff) | |
download | slackbuilds-e94dd6e6535e5cfb76aa6d022372f9a490669bf1.tar.gz |
network/kvirc: Updated for version 20180605_8db6192, changed maint.
Added the new dependency qt5-webkit
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r-- | network/kvirc/kvirc.SlackBuild | 39 | ||||
-rw-r--r-- | network/kvirc/kvirc.info | 12 |
2 files changed, 27 insertions, 24 deletions
diff --git a/network/kvirc/kvirc.SlackBuild b/network/kvirc/kvirc.SlackBuild index 2315523a57..651e5b51d8 100644 --- a/network/kvirc/kvirc.SlackBuild +++ b/network/kvirc/kvirc.SlackBuild @@ -3,6 +3,7 @@ # Slackware build script for KVIrc # Copyright 2011 Elvio "HelLViS69" Basello <hellvis69@slackware.it> +# Copyright 2018 Matteo Bernardini <ponce@slackbuilds.org>, Pisa, Italy # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -23,13 +24,13 @@ # ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. PRGNAM=kvirc -VERSION=${VERSION:-r6366} +VERSION=${VERSION:-20180605_8db6192} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -40,8 +41,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -64,36 +65,38 @@ tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* cd $PRGNAM-$VERSION chown -R root:root . find -L . \ - \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \ - -exec chmod 755 {} \; -o \ - \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ - -exec chmod 644 {} \; + \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ + -o -perm 511 \) -exec chmod 755 {} \; -o \ + \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ + -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -# -DMANUAL_REVISION=6366 \ +# use our *FLAGS +sed -i "s|\"-O3|\"$SLKCFLAGS|" CMakeLists.txt -mkdir release -cd release - CFLAGS="$SLKCFLAGS" \ - CXXFLAGS="$SLKCFLAGS" \ +mkdir build +cd build cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ + -DMANDIR=/usr/man \ -DLIB_SUFFIX=${LIBDIRSUFFIX} \ - -DMANDIR=man \ - -DMANUAL_REVISION=6366 \ - -DWANT_DCC_VIDEO="ON" \ + -DCMAKE_BUILD_TYPE:STRING="Release" \ + -DWANT_PERL=ON \ + -DWANT_AUDIOFILE=ON \ + -DWANT_VERBOSE=ON \ + -DWANT_STRIP=ON \ .. make make install DESTDIR=$PKG cd .. -find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ +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 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a ChangeLog LICENSE doc/* $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING README.md RELEASES doc/*LICENSE* $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/network/kvirc/kvirc.info b/network/kvirc/kvirc.info index 1a9d335dc0..ad9abe5f13 100644 --- a/network/kvirc/kvirc.info +++ b/network/kvirc/kvirc.info @@ -1,10 +1,10 @@ PRGNAM="kvirc" -VERSION="r6366" +VERSION="20180605_8db6192" HOMEPAGE="http://kvirc.net" -DOWNLOAD="http://ponce.cc/slackware/sources/repo/kvirc-r6366.tar.xz" -MD5SUM="3ece4daec045a9a3176f4289aa936b95" +DOWNLOAD="http://ponce.cc/slackware/sources/repo/kvirc-20180605_8db6192.tar.xz" +MD5SUM="0e68590319cd733d81bc5e8c13007b5e" DOWNLOAD_x86_64="" MD5SUM_x86_64="" -REQUIRES="" -MAINTAINER="Elvio Basello (HelLViS69)" -EMAIL="hellvis69@slackware.it" +REQUIRES="qt5-webkit" +MAINTAINER="Matteo Bernardini" +EMAIL="ponce@slackbuilds.org" |