Mercurial > mxe-octave
annotate src/exiv2.mk @ 6072:9cfc0cda57e9
exiv2: update to v0.27.5
* src/exiv2.mk: update for new version, use cmake
* src/exiv2-r2796.patch,
src/exiv2-issue847.patch: removed
* dist-files.mk: removed ref to removed files
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Thu, 03 Feb 2022 12:28:36 -0500 |
parents | e17999e1f45f |
children | 4d3365458027 |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2153
diff
changeset
|
1 # This file is part of MXE. |
2353
99516e73b368
Move doc/index.html -> index.html
Volker Grabsch <vog@notjusthosting.com>
parents:
2349
diff
changeset
|
2 # See index.html for further information. |
616 | 3 |
4 PKG := exiv2 | |
5 $(PKG)_IGNORE := | |
6072
9cfc0cda57e9
exiv2: update to v0.27.5
John Donoghue <john.donoghue@ieee.org>
parents:
4921
diff
changeset
|
6 $(PKG)_VERSION := 0.27.5 |
9cfc0cda57e9
exiv2: update to v0.27.5
John Donoghue <john.donoghue@ieee.org>
parents:
4921
diff
changeset
|
7 $(PKG)_CHECKSUM := 775f9c5ddeb92b682da8b7737f9811009595dc6a |
9cfc0cda57e9
exiv2: update to v0.27.5
John Donoghue <john.donoghue@ieee.org>
parents:
4921
diff
changeset
|
8 $(PKG)_SUBDIR := exiv2-$($(PKG)_VERSION)-Source |
9cfc0cda57e9
exiv2: update to v0.27.5
John Donoghue <john.donoghue@ieee.org>
parents:
4921
diff
changeset
|
9 $(PKG)_FILE := exiv2-$($(PKG)_VERSION)-Source.tar.gz |
9cfc0cda57e9
exiv2: update to v0.27.5
John Donoghue <john.donoghue@ieee.org>
parents:
4921
diff
changeset
|
10 $(PKG)_URL := https://github.com/Exiv2/exiv2/releases/download/v$($(PKG)_VERSION)/$($(PKG)_FILE) |
9cfc0cda57e9
exiv2: update to v0.27.5
John Donoghue <john.donoghue@ieee.org>
parents:
4921
diff
changeset
|
11 $(PKG)_DEPS := gettext libiconv zlib expat |
616 | 12 |
13 define $(PKG)_UPDATE | |
6072
9cfc0cda57e9
exiv2: update to v0.27.5
John Donoghue <john.donoghue@ieee.org>
parents:
4921
diff
changeset
|
14 $(WGET) -q -O- 'https://www.exiv2.org/download.html' | \ |
9cfc0cda57e9
exiv2: update to v0.27.5
John Donoghue <john.donoghue@ieee.org>
parents:
4921
diff
changeset
|
15 $(SED) -n 's,.*exiv2-\([0-9][^>]*\)-Source\.tar.*,\1,p' | \ |
616 | 16 head -1 |
17 endef | |
18 | |
19 define $(PKG)_BUILD | |
6072
9cfc0cda57e9
exiv2: update to v0.27.5
John Donoghue <john.donoghue@ieee.org>
parents:
4921
diff
changeset
|
20 cd '$(1)' && cmake \ |
9cfc0cda57e9
exiv2: update to v0.27.5
John Donoghue <john.donoghue@ieee.org>
parents:
4921
diff
changeset
|
21 $($(PKG)_CMAKE_FLAGS) \ |
9cfc0cda57e9
exiv2: update to v0.27.5
John Donoghue <john.donoghue@ieee.org>
parents:
4921
diff
changeset
|
22 -DBUILD_TESTING=no \ |
9cfc0cda57e9
exiv2: update to v0.27.5
John Donoghue <john.donoghue@ieee.org>
parents:
4921
diff
changeset
|
23 -DEXIV2_BUILD_SAMPLES=OFF \ |
9cfc0cda57e9
exiv2: update to v0.27.5
John Donoghue <john.donoghue@ieee.org>
parents:
4921
diff
changeset
|
24 $(CMAKE_CCACHE_FLAGS) \ |
9cfc0cda57e9
exiv2: update to v0.27.5
John Donoghue <john.donoghue@ieee.org>
parents:
4921
diff
changeset
|
25 $(CMAKE_BUILD_SHARED_OR_STATIC) \ |
9cfc0cda57e9
exiv2: update to v0.27.5
John Donoghue <john.donoghue@ieee.org>
parents:
4921
diff
changeset
|
26 -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ |
9cfc0cda57e9
exiv2: update to v0.27.5
John Donoghue <john.donoghue@ieee.org>
parents:
4921
diff
changeset
|
27 . |
9cfc0cda57e9
exiv2: update to v0.27.5
John Donoghue <john.donoghue@ieee.org>
parents:
4921
diff
changeset
|
28 |
9cfc0cda57e9
exiv2: update to v0.27.5
John Donoghue <john.donoghue@ieee.org>
parents:
4921
diff
changeset
|
29 $(MAKE) -C '$(1)' -j '$(JOBS)' VERBOSE=1 |
9cfc0cda57e9
exiv2: update to v0.27.5
John Donoghue <john.donoghue@ieee.org>
parents:
4921
diff
changeset
|
30 $(MAKE) -C '$(1)' -j '1' VERBOSE=1 DESTDIR='$(3)' install |
616 | 31 endef |