diff options
author | Alexander Verbovetsky <alik@ejik.org> | 2022-07-29 18:29:37 +0100 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2022-07-30 11:26:18 +0700 |
commit | 4bd56508cf95c9b9e27574e897d8528706208b0d (patch) | |
tree | 75a204a0c13756fb68649c2430fe0ec0b08e9811 /libraries/exiftool | |
parent | fb7ecac683bb2fe01a9a1dc1516ae63a5a26c33a (diff) |
libraries/exiftool: Updated for version 12.44. New maintainer.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org>
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/exiftool')
-rw-r--r-- | libraries/exiftool/README | 7 | ||||
-rw-r--r-- | libraries/exiftool/exiftool.SlackBuild | 48 | ||||
-rw-r--r-- | libraries/exiftool/exiftool.info | 12 | ||||
-rw-r--r-- | libraries/exiftool/slack-desc | 8 |
4 files changed, 34 insertions, 41 deletions
diff --git a/libraries/exiftool/README b/libraries/exiftool/README index fff95354c076f..43be30b693f61 100644 --- a/libraries/exiftool/README +++ b/libraries/exiftool/README @@ -1,7 +1,8 @@ -ExifTool is a platform-independent Perl library (Image::ExifTool) -plus a command-line application (exiftool) for reading, writing, and +ExifTool is a platform-independent Perl library (Image::ExifTool) plus +a command-line application (exiftool) for reading, writing, and editing meta information in image, audio, and video files. ExifTool supports many different types of metadata including EXIF, GPS, IPTC, XMP, JFIF, GeoTIFF, ICC Profile, Photoshop IRB, FlashPix, -AFCP, and ID3, as well as the maker notes of many digital cameras. +AFCP, ID3, and Lyrics3, as well as the maker notes of many digital +cameras. diff --git a/libraries/exiftool/exiftool.SlackBuild b/libraries/exiftool/exiftool.SlackBuild index d26cf632e89df..f4fe4e476ef49 100644 --- a/libraries/exiftool/exiftool.SlackBuild +++ b/libraries/exiftool/exiftool.SlackBuild @@ -1,8 +1,9 @@ #!/bin/bash -# Slackware build script for Exiftool +# Slackware build script for exiftool # Copyright 2011 David Spencer, Baildon, West Yorkshire, U.K. +# Copyright 2022 Alexander Verbovetsky, Moscow, Russia # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -25,22 +26,15 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=exiftool -VERSION=${VERSION:-11.11} +VERSION=${VERSION:-12.44} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} -if [ -z "$ARCH" ]; then - case "$( uname -m )" in - i?86) ARCH=i586 ;; - arm*) ARCH=arm ;; - *) ARCH=$( uname -m ) ;; - esac -fi +SRCNAM=Image-ExifTool + +ARCH=noarch -# 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 @@ -55,9 +49,9 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf Image-ExifTool-$VERSION -tar xvf $CWD/Image-ExifTool-$VERSION.tar.gz -cd Image-ExifTool-$VERSION +rm -rf $SRCNAM-$VERSION +tar xvf $CWD/$SRCNAM-$VERSION.tar.gz +cd $SRCNAM-$VERSION chown -R root:root . find -L . \ \( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \ @@ -65,26 +59,24 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -perl Makefile.PL INSTALLDIRS=vendor +perl Makefile.PL \ + PREFIX=/usr \ + INSTALLDIRS=vendor \ + INSTALLVENDORMAN1DIR=/usr/man/man1 \ + INSTALLVENDORMAN3DIR=/usr/man/man3 +make make test -make install INSTALLDIRS=vendor DESTDIR=$PKG - -mv $PKG/usr/share/man $PKG/usr/man +make install DESTDIR=$PKG 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 -find $PKG -name perllocal.pod \ - -o -name ".packlist" \ - -o -name "*.bs" \ - | xargs rm -f +find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f || true -# Kill some empty directories -eval $(perl '-V:archlib') -eval $(perl '-V:vendorarch') -rmdir -p $PKG/$vendorarch/auto/Image/ExifTool $PKG/$archlib 2>/dev/null || true +find $PKG -depth -type d -empty -delete || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a Changes README html/ $PKG/usr/doc/$PRGNAM-$VERSION +cp -a Changes README arg_files config_files fmt_files html $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/exiftool/exiftool.info b/libraries/exiftool/exiftool.info index 45fb34d49857d..1e2eeafb0b058 100644 --- a/libraries/exiftool/exiftool.info +++ b/libraries/exiftool/exiftool.info @@ -1,10 +1,10 @@ PRGNAM="exiftool" -VERSION="11.11" -HOMEPAGE="https://www.sno.phy.queensu.ca/~phil/exiftool/" -DOWNLOAD="https://cpan.metacpan.org/authors/id/E/EX/EXIFTOOL/Image-ExifTool-11.11.tar.gz" -MD5SUM="336b640f885f7807070436bcf12c8912" +VERSION="12.44" +HOMEPAGE="https://exiftool.org" +DOWNLOAD="https://exiftool.org/Image-ExifTool-12.44.tar.gz" +MD5SUM="7643151477352888a8cce00a819cadcf" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" -MAINTAINER="David Spencer" -EMAIL="baildon.research@googlemail.com" +MAINTAINER="Alexander Verbovetsky" +EMAIL="alik@ejik.org" diff --git a/libraries/exiftool/slack-desc b/libraries/exiftool/slack-desc index 5aa3eef8ea2b7..149d98401e87d 100644 --- a/libraries/exiftool/slack-desc +++ b/libraries/exiftool/slack-desc @@ -12,8 +12,8 @@ exiftool: ExifTool is a platform-independent Perl library (Image::ExifTool) exiftool: plus a command-line application (exiftool) for reading, writing, exiftool: and editing meta information in image, audio, and video files. exiftool: ExifTool supports many different types of metadata including EXIF, -exiftool: GPS, IPTC, XMP, JFIF, GeoTIFF, ICC Profile, Photoshop IRB, AFCP, -exiftool: FlashPix, AFCP, and ID3, and maker notes of many digital cameras. -exiftool: -exiftool: Homepage: http://www.sno.phy.queensu.ca/~phil/exiftool/ +exiftool: GPS, IPTC, XMP, JFIF, GeoTIFF, ICC Profile, Photoshop IRB, FlashPix, +exiftool: AFCP, ID3, and Lyrics3, as well as the maker notes of many digital +exiftool: cameras. exiftool: +exiftool: Homepage: https://exiftool.org |