Mercurial > mxe-octave
annotate src/flac.mk @ 7220:d3087afece14 default tip @
* src/gdal.mk, src/xcb.mk: disable doxygen docs
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Wed, 22 May 2024 10:31:54 -0400 |
parents | 40375bb48549 |
children |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
714
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. |
513 | 3 |
4 PKG := flac | |
5 $(PKG)_IGNORE := | |
6751
40375bb48549
* src/flac.mk: update to v1.4.3
John Donoghue <john.donoghue@ieee.org>
parents:
6483
diff
changeset
|
6 $(PKG)_VERSION := 1.4.3 |
40375bb48549
* src/flac.mk: update to v1.4.3
John Donoghue <john.donoghue@ieee.org>
parents:
6483
diff
changeset
|
7 $(PKG)_CHECKSUM := a8c36ac8c6e2df8611aab9590bb9e6bdf646c0e1 |
513 | 8 $(PKG)_SUBDIR := flac-$($(PKG)_VERSION) |
3631
f11ee3f8e632
flac: update version
John Donoghue <john.donoghue@ieee.org>
parents:
3480
diff
changeset
|
9 $(PKG)_FILE := flac-$($(PKG)_VERSION).tar.xz |
f11ee3f8e632
flac: update version
John Donoghue <john.donoghue@ieee.org>
parents:
3480
diff
changeset
|
10 $(PKG)_URL := http://downloads.xiph.org/releases/flac/$($(PKG)_FILE) |
f11ee3f8e632
flac: update version
John Donoghue <john.donoghue@ieee.org>
parents:
3480
diff
changeset
|
11 |
6409
a41bc595077f
* src/flac.mk: update to v1.4.0
John Donoghue <john.donoghue@ieee.org>
parents:
6094
diff
changeset
|
12 $(PKG)_DEPS := build-nasm libiconv ogg |
513 | 13 |
14 define $(PKG)_UPDATE | |
4384 | 15 $(WGET) -q -O- 'http://downloads.xiph.org/releases/flac/' | \ |
16 grep 'flac-' | \ | |
17 $(SED) -n 's,.*flac-\([0-9][^>]*\)\.tar.*,\1,p' | \ | |
18 tail -1 | |
513 | 19 endef |
20 | |
21 define $(PKG)_BUILD | |
5962
88dfa92d0c86
Add patches for building packages with UCRT.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5436
diff
changeset
|
22 cd '$(1)' && autoreconf -fi && ./configure \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
23 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
2855
47558e958113
Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents:
2525
diff
changeset
|
24 $(ENABLE_SHARED_OR_STATIC) \ |
5962
88dfa92d0c86
Add patches for building packages with UCRT.
Markus Mützel <markus.muetzel@gmx.de>
parents:
5436
diff
changeset
|
25 $(CONFIGURE_LDFLAGS) $(CONFIGURE_CPPFLAGS) \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2855
diff
changeset
|
26 --prefix='$(HOST_PREFIX)' \ |
513 | 27 --disable-doxygen-docs \ |
28 --disable-xmms-plugin \ | |
29 --enable-cpplibs \ | |
30 --enable-ogg \ | |
31 --disable-oggtest | |
5436
9b7ed61c1990
* src/flac.mk: add configure options, verbose output
John Donoghue <john.donoghue@ieee.org>
parents:
5136
diff
changeset
|
32 $(MAKE) -C '$(1)' -j '$(JOBS)' $(MXE_DISABLE_PROGS) $(MXE_DISABLE_DOCS) VERBOSE=1 |
9b7ed61c1990
* src/flac.mk: add configure options, verbose output
John Donoghue <john.donoghue@ieee.org>
parents:
5136
diff
changeset
|
33 $(MAKE) -C '$(1)' -j 1 install $(MXE_DISABLE_PROGS) $(MXE_DISABLE_DOCS) DESTDIR='$(3)' |
6483
0e97f4f427b9
* src/flac.mk, src/pkg-config.mk: allow remove of installed docs
John Donoghue <john.donoghue@ieee.org>
parents:
6473
diff
changeset
|
34 |
0e97f4f427b9
* src/flac.mk, src/pkg-config.mk: allow remove of installed docs
John Donoghue <john.donoghue@ieee.org>
parents:
6473
diff
changeset
|
35 if [ "x$(ENABLE_DEP_DOCS)" == "xno" ]; then \ |
0e97f4f427b9
* src/flac.mk, src/pkg-config.mk: allow remove of installed docs
John Donoghue <john.donoghue@ieee.org>
parents:
6473
diff
changeset
|
36 rm -rf $(3)/$(HOST_PREFIX)/share/doc/flac; \ |
0e97f4f427b9
* src/flac.mk, src/pkg-config.mk: allow remove of installed docs
John Donoghue <john.donoghue@ieee.org>
parents:
6473
diff
changeset
|
37 fi |
513 | 38 endef |