mirror of
https://github.com/SlackBuildsOrg/slackbuilds
synced 2024-09-28 15:21:00 +02:00
libraries/aubio: Updated for version 0.4.6, changed maintainer.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
This commit is contained in:
parent
dd34f8d21c
commit
f5edc35d73
2 changed files with 14 additions and 13 deletions
|
@ -3,6 +3,7 @@
|
|||
# Slackware build script for aubio
|
||||
|
||||
# Copyright 2008-2016 Heinz Wiesinger, Amsterdam, The Netherlands
|
||||
# Copyright 2018 Matteo Bernardini, 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=aubio
|
||||
VERSION=${VERSION:-0.4.2}
|
||||
VERSION=${VERSION:-0.4.6}
|
||||
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"
|
||||
|
@ -67,14 +68,14 @@ 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 640 -o -perm 600 -o -perm 444 \
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
|
||||
|
||||
# Fix detecting ffmpeg
|
||||
sed -i "s|'HAVE_' + i in ctx.env.define_key|'HAVE_' + i in ctx.env|" \
|
||||
wscript
|
||||
wscript || exit 1
|
||||
|
||||
# Fix the build system...
|
||||
sed -i "s|'\${PREFIX}' + '/share/doc/libaubio-doc'|'\${DOCDIR}'|" wscript
|
||||
sed -i "s|'\${DATAROOTDIR}' + '/doc/libaubio-doc'|'\${DOCDIR}'|" wscript || exit 1
|
||||
|
||||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
|
@ -98,7 +99,7 @@ if ! [ "${BINDINGS:-no}" = "no" ]; then
|
|||
cd ..
|
||||
fi
|
||||
|
||||
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
|
||||
|
||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
PRGNAM="aubio"
|
||||
VERSION="0.4.2"
|
||||
VERSION="0.4.6"
|
||||
HOMEPAGE="https://aubio.org/"
|
||||
DOWNLOAD="https://aubio.org/pub/aubio-0.4.2.tar.bz2"
|
||||
MD5SUM="c0f6d8355e92669722501c3a762ba548"
|
||||
DOWNLOAD="https://aubio.org/pub/aubio-0.4.6.tar.bz2"
|
||||
MD5SUM="78d326e5e44d19b0d21a5abf834bae20"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES=""
|
||||
MAINTAINER="Heinz Wiesinger"
|
||||
EMAIL="pprkut@liwjatan.at"
|
||||
MAINTAINER="Matteo Bernardini"
|
||||
EMAIL="ponce@slackbuilds.org"
|
||||
|
|
Loading…
Reference in a new issue