mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-16 19:50:19 +01:00
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>
This commit is contained in:
parent
fb7ecac683
commit
4bd56508cf
4 changed files with 34 additions and 41 deletions
|
@ -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.
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue