Exiv2 is a C++ library and a command line utility for managing image and video metadata.
This package is known to build and work properly using an LFS 12.1 platform.
Download (HTTP): https://github.com/Exiv2/exiv2/archive/v0.28.2/exiv2-0.28.2.tar.gz
Download MD5 sum: 75a8766216a15ad104f09ab4a0eab7ca
Download size: 43 MB
Estimated disk space required: 127 MB (with tests)
Estimated build time: 0.3 SBU (Using parallelism=4, with tests)
Brotli-1.1.0, cURL-8.6.0, and inih-58
Install Exiv2 by running the following commands:
mkdir build &&
cd build &&
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DEXIV2_ENABLE_VIDEO=yes \
-DEXIV2_ENABLE_WEBREADY=yes \
-DEXIV2_ENABLE_CURL=yes \
-DEXIV2_BUILD_SAMPLES=no \
-G "Unix Makefiles" .. &&
make
To test the results, issue: make test
Now, as the root user:
make install
-DEXIV2_ENABLE_VIDEO=yes:
This switch enables managing video metadata.
-DEXIV2_ENABLE_WEBREADY=yes: This
switch enables managing web image metadata.
-DEXIV2_BUILD_SAMPLES=no:
This switch is necessary to suppress building and installing sample
programs. If the sample programs are built, 34 additional programs
are installed in /usr/bin.
-DEXIV2_ENABLE_CURL=yes:
This switch is necessary to enable network/http capabilities.
-DEXIV2_ENABLE_INIH=no: Use this switch
if you have not installed inih-58.
-DEXIV2_ENABLE_BROTLI=no: Use this
switch if you have not installed Brotli-1.1.0.