diff options
author | Andrew Strong <andrew.david.strong@gmail.com> | 2022-03-09 07:52:44 +0000 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-03-09 17:20:46 +0700 |
commit | 6966da4b1fc3859cee42231f988d6e7ea640808f (patch) | |
tree | 28e3be131a96864695ea8e2654b899dd52697bb3 /audio | |
parent | d235eb3212bb3586580680686d8a14a0f388479f (diff) |
audio/wavbreaker: Updated for version 0.13.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/wavbreaker/README | 15 | ||||
-rw-r--r-- | audio/wavbreaker/slack-desc | 18 | ||||
-rw-r--r-- | audio/wavbreaker/wavbreaker.SlackBuild | 50 | ||||
-rw-r--r-- | audio/wavbreaker/wavbreaker.info | 10 |
4 files changed, 39 insertions, 54 deletions
diff --git a/audio/wavbreaker/README b/audio/wavbreaker/README index 7ea0c8301151..0c8cdbacda07 100644 --- a/audio/wavbreaker/README +++ b/audio/wavbreaker/README @@ -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). diff --git a/audio/wavbreaker/slack-desc b/audio/wavbreaker/slack-desc index bcce2cdfc514..d65f2591e4ee 100644 --- a/audio/wavbreaker/slack-desc +++ b/audio/wavbreaker/slack-desc @@ -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: diff --git a/audio/wavbreaker/wavbreaker.SlackBuild b/audio/wavbreaker/wavbreaker.SlackBuild index 490ccfb27f51..d7b80bcf2554 100644 --- a/audio/wavbreaker/wavbreaker.SlackBuild +++ b/audio/wavbreaker/wavbreaker.SlackBuild @@ -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 - -make -make install DESTDIR=$PKG +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 .. + +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 diff --git a/audio/wavbreaker/wavbreaker.info b/audio/wavbreaker/wavbreaker.info index 035b41a92758..ae40deff6451 100644 --- a/audio/wavbreaker/wavbreaker.info +++ b/audio/wavbreaker/wavbreaker.info @@ -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" |