diff options
author | Johannes Schoepfer <slackbuilds@schoepfer.info> | 2022-03-04 19:57:53 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-03-04 19:57:53 +0700 |
commit | 5d86bb00ce8f0da913895682546368957d944450 (patch) | |
tree | 4752162aa57b20cb94983fa5a516a269ae197eca /libraries/ganv | |
parent | f00ebe9943be8bd4373dc60f08387e6216b13c13 (diff) |
libraries/ganv: Updated for version 1.8.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/ganv')
-rw-r--r-- | libraries/ganv/ganv.SlackBuild | 57 | ||||
-rw-r--r-- | libraries/ganv/ganv.info | 12 | ||||
-rw-r--r-- | libraries/ganv/slack-desc | 2 |
3 files changed, 34 insertions, 37 deletions
diff --git a/libraries/ganv/ganv.SlackBuild b/libraries/ganv/ganv.SlackBuild index be8972380a4d..49be8a1f580b 100644 --- a/libraries/ganv/ganv.SlackBuild +++ b/libraries/ganv/ganv.SlackBuild @@ -1,46 +1,43 @@ #!/bin/bash -# -# Slackware build script for ganv -# -# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org - -# This program is free software: you can redistribute it and/or modify -# it under the terms of the GNU General Public License as published by -# the Free Software Foundation; either version 2 of the License, or -# (at your option) any later version, with the following exception: -# the text of the GPL license may be omitted. -# This program is distributed in the hope that it will be useful, but -# without any warranty; without even the implied warranty of -# merchantability or fitness for a particular purpose. Compiling, -# interpreting, executing or merely reading the text of the program -# may result in lapses of consciousness and/or very being, up to and -# including the end of all existence and the Universe as we know it. -# See the GNU General Public License for more details. +# Slackware build script for ganv -# You may have received a copy of the GNU General Public License along -# with this program (most likely, a file named COPYING). If not, see -# <http://www.gnu.org/licenses/>. +# Ryan P.C. McQuen | Everett, WA | ryanpcmcquen@member.fsf.org +# Copyright 2022 Johannes Schoepfer, Germany +# +# Redistribution and use of this script, with or without modification, is +# permitted provided that the following conditions are met: +# +# 1. Redistributions of this script must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# +# THIS SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND ANY EXPRESS OR IMPLIED +# WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +# MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO +# EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, +# SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. cd $(dirname $0) ; CWD=$(pwd) PRGNAM=ganv -VERSION=${VERSION:-1.4.2} +VERSION=${VERSION:-1.8.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac fi -# If the variable PRINT_PACKAGE_NAME is set, then this script will report what -# the name of the created package would be, and then exit. This information -# could be useful to other scripts. if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE" exit 0 @@ -50,8 +47,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,7 +61,7 @@ else LIBDIRSUFFIX="" fi -set -eu +set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT @@ -80,7 +77,7 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; CFLAGS="$SLKCFLAGS" \ -CXXFLAGS="$SLKCFLAGS -std=c++11" \ +CXXFLAGS="$SLKCFLAGS" \ ./waf configure \ --prefix=/usr \ --libdir=/usr/lib${LIBDIRSUFFIX} \ @@ -93,7 +90,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS COPYING INSTALL NEWS README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a AUTHORS COPYING NEWS README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/ganv/ganv.info b/libraries/ganv/ganv.info index 31bc537cbdcf..1bfd14483db5 100644 --- a/libraries/ganv/ganv.info +++ b/libraries/ganv/ganv.info @@ -1,10 +1,10 @@ PRGNAM="ganv" -VERSION="1.4.2" -HOMEPAGE="http://drobilla.net/software/ganv/" -DOWNLOAD="http://download.drobilla.net/ganv-1.4.2.tar.bz2" -MD5SUM="30c2c36d0c64d0a3b73e0bc7c564861c" +VERSION="1.8.0" +HOMEPAGE="https://drobilla.net/software/ganv.html" +DOWNLOAD="http://download.drobilla.net/ganv-1.8.0.tar.bz2" +MD5SUM="37419b39a90622de9cf27e034fdb33c1" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Ryan P.C. McQuen" -EMAIL="ryanpcmcquen@member.fsf.org" +MAINTAINER="Johannes Schoepfer" +EMAIL="slackbuilds@schoepfer.info" diff --git a/libraries/ganv/slack-desc b/libraries/ganv/slack-desc index de41bcf58f95..881d9c71baa8 100644 --- a/libraries/ganv/slack-desc +++ b/libraries/ganv/slack-desc @@ -12,7 +12,7 @@ ganv: Ganv is an interactive Gtk widget for interactive "boxes and lines" ganv: or graph-like environments (e.g. modular synths or finite ganv: state machine diagrams). ganv: -ganv: http://drobilla.net/software/ganv/ +ganv: https://drobilla.net/software/ganv.html ganv: ganv: ganv: |