diff options
Diffstat (limited to 'audio/vocoder')
-rw-r--r-- | audio/vocoder/slack-desc | 2 | ||||
-rw-r--r-- | audio/vocoder/vocoder.SlackBuild | 22 | ||||
-rw-r--r-- | audio/vocoder/vocoder.info | 4 | ||||
-rw-r--r-- | audio/vocoder/vocoder.png | bin | 14595 -> 28971 bytes |
4 files changed, 15 insertions, 13 deletions
diff --git a/audio/vocoder/slack-desc b/audio/vocoder/slack-desc index fb9a1f72e697..6f3c9db18791 100644 --- a/audio/vocoder/slack-desc +++ b/audio/vocoder/slack-desc @@ -12,7 +12,7 @@ vocoder: A vocoder is a sound effect that can make a human voice sound vocoder: synthetic. It is often used to speak like a robot, with a metallic vocoder: and monotonous voice. vocoder: -vocoder: homepage: http://www.sirlab.de/linux/descr_vocoder.html +vocoder: Homepage: https://www.sirlab.de/linux/descr_vocoder.html vocoder: vocoder: vocoder: diff --git a/audio/vocoder/vocoder.SlackBuild b/audio/vocoder/vocoder.SlackBuild index 37c24dce1f3a..03c31e704256 100644 --- a/audio/vocoder/vocoder.SlackBuild +++ b/audio/vocoder/vocoder.SlackBuild @@ -6,6 +6,7 @@ # Licensed under the WTFPL. See http://www.wtfpl.net/txt/copying/ for details. +# 20211130 bkw: BUILD=3, new-style icons. # 20170312 bkw: # - actually use SLKCFLAGS # - stop fluid from writing to /root/.fltk/ @@ -16,7 +17,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=vocoder VERSION=${VERSION:-0.29} -BUILD=${BUILD:-2} +BUILD=${BUILD:-3} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -28,9 +29,6 @@ if [ -z "$ARCH" ]; then 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 @@ -63,11 +61,8 @@ rm -rf $PRGNAM tar xvf $CWD/$PRGNAM-jack-$VERSION.tar.gz cd $PRGNAM 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 {} \; +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ sed -i "s,-O2,$SLKCFLAGS -include unistd.h," src/Makefile sed -i "/^CFLAGS/s,\$, $SLKCFLAGS -include unistd.h," util/Makefile @@ -85,8 +80,15 @@ install -s -m0755 src/$PRGNAM $PKG/usr/bin/$PRGNAM # icon made for this slackbuild, by crudely stitching together a generic Tux # plus http://openclipart.org/detail/24414/old-style-microphone-by-boobaloo +for px in 16 32 48 64 128; do + size=${px}x${px} + dir=$PKG/usr/share/icons/hicolor/$size/apps + mkdir -p $dir + convert -resize $size $CWD/$PRGNAM.png $dir/$PRGNAM.png +done + mkdir -p $PKG/usr/share/pixmaps -cat $CWD/$PRGNAM.png > $PKG/usr/share/pixmaps/$PRGNAM.png +ln -s ../icons/hicolor/48x48/apps/$PRGNAM.png $PKG/usr/share/pixmaps/$PRGNAM.png # .desktop written for this slackbuild. mkdir -p $PKG/usr/share/applications diff --git a/audio/vocoder/vocoder.info b/audio/vocoder/vocoder.info index 43e3c65eb303..75054ce3d00d 100644 --- a/audio/vocoder/vocoder.info +++ b/audio/vocoder/vocoder.info @@ -1,7 +1,7 @@ PRGNAM="vocoder" VERSION="0.29" -HOMEPAGE="http://www.sirlab.de/linux/descr_vocoder.html" -DOWNLOAD="http://www.sirlab.de/linux/download/vocoder-jack-0.29.tar.gz" +HOMEPAGE="https://www.sirlab.de/linux/descr_vocoder.html" +DOWNLOAD="https://www.sirlab.de/linux/download/vocoder-jack-0.29.tar.gz" MD5SUM="298f47a4bb42a12de1d28726a8fe8c07" DOWNLOAD_x86_64="" MD5SUM_x86_64="" diff --git a/audio/vocoder/vocoder.png b/audio/vocoder/vocoder.png Binary files differindex b14e76e98bc0..a6dbc7fd98c0 100644 --- a/audio/vocoder/vocoder.png +++ b/audio/vocoder/vocoder.png |