audio/wavbreaker: Updated for version 0.13.

Signed-off-by: Dave Woodfall <dave@slackbuilds.org>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Andrew Strong 2022-03-09 07:52:44 +00:00 committed by Willy Sudiarto Raharjo
parent d235eb3212
commit 6966da4b1f
No known key found for this signature in database
GPG Key ID: 3F617144D7238786
4 changed files with 38 additions and 53 deletions

View File

@ -1,11 +1,6 @@
Wavbreaker is a GTK wave file splitter for Linux and Unix-like operating
systems licensed under the terms of the GNU General Public License.
wavbreaker is an open source WAV and MP3 file splitter.
This application's purpose in life is to take a wave file and break it
up into multiple wave files. It makes a clean break at the correct
position to burn the files to an audio cd without any dead air between
the tracks. It will only read wave files, so use an appropriate tool
such as SoX to convert other filetypes (e.g., ogg, mp3, etc.) and then
break them up. Also included is a command line tool, wavmerge, which
merges wave files together. This tool will only work on files that are
alike. For example, 44100 khz sample rate, 16-bit sample size, etc.
wavbreaker is a GTK gui application which takes WAV or MP3 files and
breaks them up into multiple sections. For MP3 manipulation wavbreaker
uses libmpg123. It also has command line tools which will merge WAV
files (wavmerge) and display format information for WAV files (wavinfo).

View File

@ -6,14 +6,14 @@
# customary to leave one space after the ':' except on otherwise blank lines.
|-----handy-ruler------------------------------------------------------|
wavbreaker: wavbreaker (wave file splitter)
wavbreaker: wavbreaker (a WAV and MP3 file splitter)
wavbreaker:
wavbreaker: This application's purpose in life is to take a wave file and
wavbreaker: break it up into multiple wave files. It makes a clean break
wavbreaker: at the correct position to burn the files to an audio cd
wavbreaker: without any dead air between the tracks. It will only read
wavbreaker: wave files, so use an appropriate tool to convert other file
wavbreaker: types (e.g., ogg, mp3, etc.) and then break them up. There is
wavbreaker: also a command line tool to merge wave files together,
wavbreaker: wavmerge.
wavbreaker: This application takes WAV or MP3 files and breaks them into multiple
wavbreaker: sections. It also has command line tools which will merge WAV files
wavbreaker: (wavmerge) and display format information for WAV files (wavinfo).
wavbreaker:
wavbreaker:
wavbreaker:
wavbreaker: https://wavbreaker.sourceforge.io/
wavbreaker:
wavbreaker:

View File

@ -3,6 +3,7 @@
# Slackware build script for wavbreaker
# Copyright 2013, Josiah Boothby, Seattle
# Copyright 2022 Andrew Strong, Blue Mountains
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -25,14 +26,14 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=wavbreaker
VERSION=${VERSION:-0.11}
VERSION=${VERSION:-0.13}
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
@ -50,8 +51,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"
@ -79,19 +80,20 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--sysconfdir=/etc \
--localstatedir=/var \
--mandir=/usr/man \
--docdir=/usr/doc/$PRGNAM-$VERSION \
--build=$ARCH-slackware-linux
mkdir build
cd build
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
meson .. \
--buildtype=release \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--mandir=/usr/man \
--prefix=/usr
"${NINJA:=ninja}"
DESTDIR=$PKG $NINJA install
cd ..
make
make install DESTDIR=$PKG
rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
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
@ -100,20 +102,8 @@ 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 \
AUTHORS \
CONTRIBUTORS \
COPYING \
ChangeLog \
NEWS \
NOTES \
README \
README.PulseAudio \
TODO \
$PKG/usr/doc/$PRGNAM-$VERSION
cp -a AUTHORS CONTRIBUTORS COPYING README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
cat $CWD/slack-desc > $PKG/usr/doc/$PRGNAM-$VERSION/slack-desc
cat $CWD/doinst.sh > $PKG/usr/doc/$PRGNAM-$VERSION/doinst.sh
mkdir -p $PKG/install
cat $CWD/slack-desc > $PKG/install/slack-desc

View File

@ -1,10 +1,10 @@
PRGNAM="wavbreaker"
VERSION="0.11"
VERSION="0.13"
HOMEPAGE="http://wavbreaker.sourceforge.net"
DOWNLOAD="http://downloads.sourceforge.net/wavbreaker/wavbreaker-0.11.tar.gz"
MD5SUM="97f981baa6ca0d4d52b88314defeea4c"
DOWNLOAD="https://github.com/thp/wavbreaker/archive/0.13/wavbreaker-0.13.tar.gz"
MD5SUM="cc32a1afd0b52692a81ce7895b5ee767"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""
MAINTAINER="Josiah Boothby"
EMAIL="josiahb@gmail.com"
MAINTAINER="Andrew Strong"
EMAIL="andrew.david.strong@gmail.com"