diff options
author | B. Watson <yalhcru@gmail.com> | 2018-07-31 09:08:06 -0400 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2018-08-04 08:40:08 +0700 |
commit | 5a99a1e2edb81b0d88d858a0a2dbd49817953455 (patch) | |
tree | 6c64990dfe2724cb446bf2d03bbe1c8ce198c214 /audio | |
parent | 6a96140598553329942e4324791cb310691d90c0 (diff) | |
download | slackbuilds-5a99a1e2edb81b0d88d858a0a2dbd49817953455.tar.gz |
audio/id3tool: New maintainer, minor tweaks.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'audio')
-rw-r--r-- | audio/id3tool/README | 4 | ||||
-rw-r--r-- | audio/id3tool/id3tool.SlackBuild | 46 | ||||
-rw-r--r-- | audio/id3tool/id3tool.info | 4 | ||||
-rw-r--r-- | audio/id3tool/slack-desc | 10 |
4 files changed, 31 insertions, 33 deletions
diff --git a/audio/id3tool/README b/audio/id3tool/README index 0322fd1e3c..193e7d13b2 100644 --- a/audio/id3tool/README +++ b/audio/id3tool/README @@ -1,2 +1,4 @@ -id3tool is a program for manipulating mp3 ID3 Tags. +id3tool (command line utility for manipulating ID3 tags) +id3tool is a command line utility for easy manipulation of the ID3 tags +present in MPEG Layer 3 (mp3) audio files. diff --git a/audio/id3tool/id3tool.SlackBuild b/audio/id3tool/id3tool.SlackBuild index 34e1927ef3..ed798cc590 100644 --- a/audio/id3tool/id3tool.SlackBuild +++ b/audio/id3tool/id3tool.SlackBuild @@ -2,7 +2,8 @@ # Slackware build script for id3tool -# Copyright 2012 Markus Hutmacher markus.hutmacher@gmail.com +# Copyright 2012 Markus Hutmacher <email removed> +# Copyright 2018 B. Watson <yalhcru@gmail.com> # All rights reserved. # # Permission to use, copy, modify, and distribute this software for any purpose @@ -20,14 +21,23 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# 20180729 bkw: +# - Take over maintenance. +# - i486 => i586. +# - Reword README and slack-desc (less awkward now). +# - Remove --enable-sudo and --infodir from configure (they did nothing). +# - Don't install useless INSTALL doc. +# - BUILD=2. +# - Simplify script a bit. + PRGNAM=id3tool VERSION=${VERSION:-1.2a} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} 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 @@ -38,8 +48,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" @@ -52,8 +62,6 @@ else LIBDIRSUFFIX="" fi -DOCS="COPYING README INSTALL CHANGELOG" - set -e rm -rf $PKG @@ -63,34 +71,22 @@ rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION 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 {} \; - -[ "$SUDO" = "true" ] && ENABLE_SUDO="--enable-sudo" +find -L . -perm /111 -a \! -perm 755 -a -exec chmod 755 {} \+ -o \ + \! -perm /111 -a \! -perm 644 -a -exec chmod 644 {} \+ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ --mandir=/usr/man \ - --infodir=/usr/doc/$PRGNAM-$VERSION \ - --build=$ARCH-slackware-linux \ - ${ENABLE_SUDO} + --build=$ARCH-slackware-linux make -make install DESTDIR=$PKG - -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 - -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 +make install-strip DESTDIR=$PKG +gzip $PKG/usr/man/man1/$PRGNAM.1 mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION +cp -a COPYING README CHANGELOG $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/audio/id3tool/id3tool.info b/audio/id3tool/id3tool.info index 509124efa4..2ad55b045b 100644 --- a/audio/id3tool/id3tool.info +++ b/audio/id3tool/id3tool.info @@ -6,5 +6,5 @@ MD5SUM="061185562c0d0e6327406d9fc2f194b2" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="Markus Hutmacher" -EMAIL="mailing@markhu.de" +MAINTAINER="B. Watson" +EMAIL="yalhcru@gmail.com" diff --git a/audio/id3tool/slack-desc b/audio/id3tool/slack-desc index 0041ffce78..70cf3ab280 100644 --- a/audio/id3tool/slack-desc +++ b/audio/id3tool/slack-desc @@ -6,12 +6,12 @@ # customary to leave one space after the ':' except on otherwise blank lines. |-----handy-ruler------------------------------------------------------| -id3tool: id3tool (command line utility for manipulation ID3 tags) +id3tool: id3tool (command line utility for manipulating ID3 tags) +id3tool: +id3tool: id3tool is a command line utility for easy manipulation of the ID3 +id3tool: tags present in MPEG Layer 3 (mp3) audio files. +id3tool: id3tool: -id3tool: ID3 tags are present in MPEG-Layer-3 (mp3) files. -id3tool: They include the information which is shown by audio-devices when an -id3tool: mp3-file is played. -id3tool: id3tool allows for manipulating those ID3 tags on the commandline. id3tool: id3tool: id3tool: |