summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-devtools/perl/exiftool_13.52.bb
blob: f40116144ef35b2863df24ce91962f067137dd68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
SUMMARY = "Exiftool"
DESCRIPTION = "ExifTool is a platform-independent Perl library plus a command-line application for reading, writing and editing meta information in a wide variety of files."
HOMEPAGE = "https://exiftool.org/"
SECTION = "libs"
LICENSE = "GPL-3.0-only"
LIC_FILES_CHKSUM = "file://perl-Image-ExifTool.spec;beginline=5;endline=5;md5=ffefffc98dab025cb49489bd4d88ee10"

inherit cpan

SRCREV = "02c78a2e051894b57ad8a11024f8cfa05957e725"
SRC_URI = "git://github.com/exiftool/exiftool;protocol=https;branch=master;tag=${PV}"

RDEPENDS:${PN} = " \
    perl \
    perl-module-list-util \
    perl-module-overload \
    perl-module-file-glob \
    perl-module-scalar-util \
    perl-module-compress-zlib \
"

do_install:append() {
    # Remove reference to TMPDIR [buildpaths]
    sed -i -e 's,${TMPDIR},,g' ${D}${bindir}/exiftool

    # Fix shebang and QA Issue [file-rdeps] to use target /usr/bin/env
    sed -i -e '1s|^#!.*env perl|#!/usr/bin/env perl|' ${D}${bindir}/exiftool
}