From 01dde60b32b23b870014c352e803550d0abaccd4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joachim=20Mairb=C3=B6ck?= Date: Sat, 6 Jul 2024 19:38:05 +0200 Subject: [PATCH] exiftool: bump version, cleanup like other perl packages --- ...ool-12.67.recipe => exiftool-12.87.recipe} | 30 ++++++++----------- 1 file changed, 13 insertions(+), 17 deletions(-) rename media-libs/exiftool/{exiftool-12.67.recipe => exiftool-12.87.recipe} (52%) diff --git a/media-libs/exiftool/exiftool-12.67.recipe b/media-libs/exiftool/exiftool-12.87.recipe similarity index 52% rename from media-libs/exiftool/exiftool-12.67.recipe rename to media-libs/exiftool/exiftool-12.87.recipe index f86f5285f..c0cb51cab 100644 --- a/media-libs/exiftool/exiftool-12.67.recipe +++ b/media-libs/exiftool/exiftool-12.87.recipe @@ -3,23 +3,26 @@ DESCRIPTION="ExifTool is both a Perl library and a command-line script that \ enables editing of the metadata of a large variety of files. This includes all \ major image formats which support metadata as well as the vendor-specific \ metadata of numerous digital cameras." -HOMEPAGE="https://www.sno.phy.queensu.ca/~phil/exiftool/" -COPYRIGHT="2003-2023 Phil Harvey" +HOMEPAGE="https://exiftool.org/" +COPYRIGHT="2003-2024 Phil Harvey" LICENSE="GNU GPL v1 Artistic" REVISION="1" -SOURCE_URI="https://github.com/exiftool/exiftool/archive/$portVersion.tar.gz" -CHECKSUM_SHA256="1cbb0b319ddb19c6baf50c633ed6378b20bb9d3167f31aacb402e3fdd53cb7eb" +SOURCE_URI="https://exiftool.org/Image-ExifTool-$portVersion.tar.gz" +CHECKSUM_SHA256="7da3428d374cb18b2ab7011278d29b85bcac560e0d551efc7a6704ef0e7f2c21" +SOURCE_DIR="Image-ExifTool-$portVersion" ARCHITECTURES="any" PROVIDES=" exiftool = $portVersion cmd:exiftool = $portVersion + image_exiftool = $portVersion # this is the perl module name " REQUIRES=" haiku - cmd:perl >= 5.0.0 + cmd:perl + vendor_perl " BUILD_REQUIRES=" @@ -38,19 +41,12 @@ BUILD() INSTALL() { - make install + make pure_install - cd "$libDir"/perl5 - # delete 5.x.y/`uname -m`-haiku/perllocal.pod - perllocal=*/*-haiku/perllocal.pod - rm $perllocal - rmdir -p `dirname $perllocal` - - cd vendor_perl/5.* - # delete `uname -m`-haiku/auto/auto/Image/ExifTool/.packlist - packlist=*-haiku/auto/Image/ExifTool/.packlist - rm $packlist - rmdir -p `dirname $packlist` + # remove architecture-specific files + cd $prefix + rm -r $(perl -V:vendorarch | cut -d\' -f2 | cut -d/ -f5-) + # cut extracts the quoted string and strips the prefix (which is perl's and not ours) } TEST()