Skip to content

Commit 9c14019

Browse files
committed
exiv2: Add port
1 parent 4953218 commit 9c14019

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

bootstrap.d/media-libs.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,48 @@ packages:
3636
environ:
3737
DESTDIR: '@THIS_COLLECT_DIR@'
3838

39+
- name: exiv2
40+
architecture: '@OPTION:arch@'
41+
metadata:
42+
summary: EXIF, IPTC and XMP metadata C++ library and command line utility
43+
description: This package provides a C++ library and a command line utility for managing image and video metadata.
44+
spdx: 'GPL-2.0-only'
45+
website: 'https://exiv2.org/'
46+
maintainer: "Dennis Bonke <[email protected]>"
47+
categories: ['media-libs']
48+
source:
49+
subdir: ports
50+
git: 'https://github.com/Exiv2/exiv2.git'
51+
tag: 'v0.28.1'
52+
version: '0.28.1'
53+
tools_required:
54+
- host-cmake
55+
- system-gcc
56+
pkgs_required:
57+
- mlibc
58+
- curl
59+
- brotli
60+
configure:
61+
- args:
62+
- 'cmake'
63+
- '-DCMAKE_TOOLCHAIN_FILE=@SOURCE_ROOT@/scripts/CMakeToolchain-@OPTION:[email protected]'
64+
- '-DCMAKE_INSTALL_PREFIX=/usr'
65+
- '-DBUILD_SHARED_LIBS=ON'
66+
- '-DEXIV2_ENABLE_VIDEO=yes'
67+
- '-DEXIV2_ENABLE_WEBREADY=yes'
68+
- '-DEXIV2_ENABLE_CURL=yes'
69+
- '-DEXIV2_BUILD_SAMPLES=no'
70+
- '-DEXIV2_ENABLE_INIH=no'
71+
- '@THIS_SOURCE_DIR@'
72+
environ:
73+
CC: '@OPTION:arch-triple@-gcc'
74+
CXX: '@OPTION:arch-triple@-g++'
75+
build:
76+
- args: ['make', '-j@PARALLELISM@']
77+
- args: ['make', 'install']
78+
environ:
79+
DESTDIR: '@THIS_COLLECT_DIR@'
80+
3981
- name: flac
4082
architecture: '@OPTION:arch@'
4183
metadata:

0 commit comments

Comments
 (0)