commit:     a0a701d1456974ba5e8ce8b69809889c2c569271
Author:     Jon C <goeland86 <AT> gmail <DOT> com>
AuthorDate: Tue Sep 21 19:57:56 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Sep 25 02:50:28 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a0a701d1

media-gfx/exiv2: Add ISOBMFF build option

Closes: https://bugs.gentoo.org/814212
Signed-off-by: Jon Charnas <goeland86 <AT> gmail.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 media-gfx/exiv2/exiv2-0.27.4-r2.ebuild | 3 ++-
 media-gfx/exiv2/metadata.xml           | 1 +
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/media-gfx/exiv2/exiv2-0.27.4-r2.ebuild 
b/media-gfx/exiv2/exiv2-0.27.4-r2.ebuild
index 1f03916fcf7..7acbc098873 100644
--- a/media-gfx/exiv2/exiv2-0.27.4-r2.ebuild
+++ b/media-gfx/exiv2/exiv2-0.27.4-r2.ebuild
@@ -21,7 +21,7 @@ HOMEPAGE="https://www.exiv2.org/";
 
 LICENSE="GPL-2"
 SLOT="0/27"
-IUSE="doc examples nls +png test webready +xmp"
+IUSE="+bmff doc examples nls +png test webready +xmp"
 RESTRICT="!test? ( test )"
 
 BDEPEND="
@@ -78,6 +78,7 @@ multilib_src_configure() {
                -DEXIV2_ENABLE_SSH=$(usex webready)
                -DEXIV2_ENABLE_WEBREADY=$(usex webready)
                -DEXIV2_ENABLE_XMP=$(usex xmp)
+               -DEXIV2_ENABLE_BMFF=$(usex bmff)
                $(multilib_is_native_abi || echo -DEXIV2_BUILD_EXIV2_COMMAND=NO)
                $(multilib_is_native_abi && echo -DEXIV2_BUILD_DOC=$(usex doc))
                $(multilib_is_native_abi && echo 
-DEXIV2_BUILD_UNIT_TESTS=$(usex test))

diff --git a/media-gfx/exiv2/metadata.xml b/media-gfx/exiv2/metadata.xml
index 1acfecb60cd..06b54e427aa 100644
--- a/media-gfx/exiv2/metadata.xml
+++ b/media-gfx/exiv2/metadata.xml
@@ -10,6 +10,7 @@
                write EXIF, IPTC and XMP image metadata.
        </longdescription>
        <use>
+               <flag name="bmff">Add support for the ISOBMFF format</flag>
                <flag name="webready">Support reading metadata over the 
internet</flag>
        </use>
 </pkgmetadata>

Reply via email to