Mercurial > mxe-octave
annotate src/taglib.mk @ 5947:09d3533acacf
* src/build-cmake.mk, src/cmake.mk: update v3.21.4
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Thu, 11 Nov 2021 09:49:11 -0500 |
parents | b19fb3ed330c |
children |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2301
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. |
533
aba85d15295c
new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
3 |
aba85d15295c
new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
4 PKG := taglib |
aba85d15295c
new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
5 $(PKG)_IGNORE := |
3480
13be64f9f16d
move version info from index.html to src/*.mk files
John W. Eaton <jwe@octave.org>
parents:
3048
diff
changeset
|
6 $(PKG)_VERSION := 1.7.2 |
2511 | 7 $(PKG)_CHECKSUM := e657384ccf3284db2daba32dccece74534286012 |
1465
b680227d8892
improved update script of package taglib
Volker Grabsch <vog@notjusthosting.com>
parents:
956
diff
changeset
|
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
1499
9e587ca588dc
remove $($PKG)_SUBDIR) from FILE and URL defintions
Mark Brand <mabrand@mabrand.nl>
parents:
1465
diff
changeset
|
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.gz |
4618
de2eedecd6ba
update broken PKG_UPDATE rules, handle missing update rules
John Donoghue
parents:
3480
diff
changeset
|
10 $(PKG)_URL := https://taglib.github.io/releases/$($(PKG)_FILE) |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
2525
diff
changeset
|
11 $(PKG)_DEPS := zlib |
533
aba85d15295c
new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 |
aba85d15295c
new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
13 define $(PKG)_UPDATE |
4618
de2eedecd6ba
update broken PKG_UPDATE rules, handle missing update rules
John Donoghue
parents:
3480
diff
changeset
|
14 $(WGET) -q -O- 'https://github.com/taglib/taglib/tags' | \ |
de2eedecd6ba
update broken PKG_UPDATE rules, handle missing update rules
John Donoghue
parents:
3480
diff
changeset
|
15 $(SED) -n 's|.*releases/tag/v\([^"]*\).*|\1|p' | \ |
de2eedecd6ba
update broken PKG_UPDATE rules, handle missing update rules
John Donoghue
parents:
3480
diff
changeset
|
16 $(SORT) -Vr | \ |
533
aba85d15295c
new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 head -1 |
aba85d15295c
new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
18 endef |
aba85d15295c
new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
19 |
aba85d15295c
new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
20 define $(PKG)_BUILD |
1652 | 21 mkdir '$(1)/build' |
1663
9577f70222f8
add cmake toolchain file and simplify build rules of relevant packages
Tony Theodore <tonyt@logyst.com>
parents:
1652
diff
changeset
|
22 cd '$(1)/build' && cmake .. \ |
5541
d862fd40cc42
Use ccache for packages built with cmake.
Markus Mützel <markus.muetzel@gmx.de>
parents:
4618
diff
changeset
|
23 $(CMAKE_CCACHE_FLAGS) \ |
5571
b19fb3ed330c
use cmake command line to set build shared/static options (bug #59373)
John W. Eaton <jwe@octave.org>
parents:
5541
diff
changeset
|
24 $(CMAKE_BUILD_SHARED_OR_STATIC) \ |
1670 | 25 -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ |
1652 | 26 -DENABLE_STATIC=ON |
27 $(MAKE) -C '$(1)/build' -j '$(JOBS)' install | |
533
aba85d15295c
new package: taglib (by Sven Oliver Moll)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
28 endef |