Mercurial > mxe-octave
annotate src/libsndfile.mk @ 7207:9ed6500e56d3 default tip @
maint: Merge release to default.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Fri, 17 May 2024 20:16:41 +0200 |
parents | 0982b9ab58c7 |
children |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
1933
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. |
514
28cdf34ea090
new packages: libmad, libsndfile, sdl_net and speex (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
3 |
28cdf34ea090
new packages: libmad, libsndfile, sdl_net and speex (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
4 PKG := libsndfile |
28cdf34ea090
new packages: libmad, libsndfile, sdl_net and speex (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
5 $(PKG)_IGNORE := |
6834
0982b9ab58c7
* src/libsndfile.mk: update to v1.2.2
John Donoghue <john.donoghue@ieee.org>
parents:
6768
diff
changeset
|
6 $(PKG)_VERSION := 1.2.2 |
0982b9ab58c7
* src/libsndfile.mk: update to v1.2.2
John Donoghue <john.donoghue@ieee.org>
parents:
6768
diff
changeset
|
7 $(PKG)_CHECKSUM := 28acc1c19b06c18f38f906d7efef404b2078a19a |
514
28cdf34ea090
new packages: libmad, libsndfile, sdl_net and speex (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
8 $(PKG)_SUBDIR := libsndfile-$($(PKG)_VERSION) |
28cdf34ea090
new packages: libmad, libsndfile, sdl_net and speex (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
9 $(PKG)_FILE := libsndfile-$($(PKG)_VERSION).tar.gz |
5683
d662e5f18584
* src/libsndfile.mk: update to v1.0.31
John Donoghue <john.donoghue@ieee.org>
parents:
5637
diff
changeset
|
10 $(PKG)_URL := https://github.com/$(PKG)/$(PKG)/archive/$($(PKG)_VERSION).tar.gz |
6768
06d8d561046e
* src/libsndfile.mk: add dependancy of lame
John Donoghue <john.donoghue@ieee.org>
parents:
6586
diff
changeset
|
11 $(PKG)_DEPS := sqlite flac lame mpg123 ogg opus vorbis |
514
28cdf34ea090
new packages: libmad, libsndfile, sdl_net and speex (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
12 |
28cdf34ea090
new packages: libmad, libsndfile, sdl_net and speex (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
13 define $(PKG)_UPDATE |
6510
4b8764444acb
Create common github call define and start using it
John Donoghue <john.donoghue@ieee.org>
parents:
6196
diff
changeset
|
14 $(call GITHUB_PKG_UPDATE,libsndfile,libsndfile,[v]*) |
514
28cdf34ea090
new packages: libmad, libsndfile, sdl_net and speex (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
15 endef |
28cdf34ea090
new packages: libmad, libsndfile, sdl_net and speex (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
16 |
28cdf34ea090
new packages: libmad, libsndfile, sdl_net and speex (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
17 define $(PKG)_BUILD |
5635
a7e3baa1e86e
* src/libsndfile.mk: update to v1.0.30, use cmake
John Donoghue <john.donoghue@ieee.org>
parents:
5437
diff
changeset
|
18 cd '$(1)' && cmake \ |
a7e3baa1e86e
* src/libsndfile.mk: update to v1.0.30, use cmake
John Donoghue <john.donoghue@ieee.org>
parents:
5437
diff
changeset
|
19 $($(PKG)_CMAKE_FLAGS) \ |
a7e3baa1e86e
* src/libsndfile.mk: update to v1.0.30, use cmake
John Donoghue <john.donoghue@ieee.org>
parents:
5437
diff
changeset
|
20 -DBUILD_TESTING=no \ |
a7e3baa1e86e
* src/libsndfile.mk: update to v1.0.30, use cmake
John Donoghue <john.donoghue@ieee.org>
parents:
5437
diff
changeset
|
21 -DBUILD_PROGRAMS=no \ |
a7e3baa1e86e
* src/libsndfile.mk: update to v1.0.30, use cmake
John Donoghue <john.donoghue@ieee.org>
parents:
5437
diff
changeset
|
22 -DBUILD_EXAMPLES=no \ |
a7e3baa1e86e
* src/libsndfile.mk: update to v1.0.30, use cmake
John Donoghue <john.donoghue@ieee.org>
parents:
5437
diff
changeset
|
23 -DINSTALL_MANPAGES=no \ |
5637
046929464015
* src/libsndfile.mk: add opus to dependancies
John Donoghue <john.donoghue@ieee.org>
parents:
5635
diff
changeset
|
24 -DENABLE_EXTERNAL_LIBS=yes \ |
5635
a7e3baa1e86e
* src/libsndfile.mk: update to v1.0.30, use cmake
John Donoghue <john.donoghue@ieee.org>
parents:
5437
diff
changeset
|
25 $(CMAKE_CCACHE_FLAGS) \ |
a7e3baa1e86e
* src/libsndfile.mk: update to v1.0.30, use cmake
John Donoghue <john.donoghue@ieee.org>
parents:
5437
diff
changeset
|
26 $(CMAKE_BUILD_SHARED_OR_STATIC) \ |
a7e3baa1e86e
* src/libsndfile.mk: update to v1.0.30, use cmake
John Donoghue <john.donoghue@ieee.org>
parents:
5437
diff
changeset
|
27 -DCMAKE_TOOLCHAIN_FILE='$(CMAKE_TOOLCHAIN_FILE)' \ |
a7e3baa1e86e
* src/libsndfile.mk: update to v1.0.30, use cmake
John Donoghue <john.donoghue@ieee.org>
parents:
5437
diff
changeset
|
28 . |
a7e3baa1e86e
* src/libsndfile.mk: update to v1.0.30, use cmake
John Donoghue <john.donoghue@ieee.org>
parents:
5437
diff
changeset
|
29 |
a7e3baa1e86e
* src/libsndfile.mk: update to v1.0.30, use cmake
John Donoghue <john.donoghue@ieee.org>
parents:
5437
diff
changeset
|
30 $(MAKE) -C '$(1)' -j '$(JOBS)' VERBOSE=1 |
a7e3baa1e86e
* src/libsndfile.mk: update to v1.0.30, use cmake
John Donoghue <john.donoghue@ieee.org>
parents:
5437
diff
changeset
|
31 $(MAKE) -C '$(1)' -j '1' VERBOSE=1 DESTDIR='$(3)' install |
a7e3baa1e86e
* src/libsndfile.mk: update to v1.0.30, use cmake
John Donoghue <john.donoghue@ieee.org>
parents:
5437
diff
changeset
|
32 |
a7e3baa1e86e
* src/libsndfile.mk: update to v1.0.30, use cmake
John Donoghue <john.donoghue@ieee.org>
parents:
5437
diff
changeset
|
33 if [ "$(ENABLE_DEP_DOCS)" == "no" ]; then \ |
a7e3baa1e86e
* src/libsndfile.mk: update to v1.0.30, use cmake
John Donoghue <john.donoghue@ieee.org>
parents:
5437
diff
changeset
|
34 rm -rf '$(3)$(HOST_PREFIX)/share/doc/$(PKG)'; \ |
a7e3baa1e86e
* src/libsndfile.mk: update to v1.0.30, use cmake
John Donoghue <john.donoghue@ieee.org>
parents:
5437
diff
changeset
|
35 fi |
514
28cdf34ea090
new packages: libmad, libsndfile, sdl_net and speex (by Gregory Smith)
Volker Grabsch <vog@notjusthosting.com>
parents:
diff
changeset
|
36 endef |