Mercurial > mxe-octave
annotate src/libass.mk @ 5893:53a6c7df43f8
Mesa 3D: Update to version 21.1.8.
* src/mesa.mk: Update version and checksum.
* src/mesa-2-uninitialized.patch: Remove file.
* dist-files.mk: Remove file from list.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Thu, 16 Sep 2021 22:37:45 +0200 |
parents | e2349691d6ae |
children |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2005
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. |
1723 | 3 |
4 PKG := libass | |
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 := 0.10.1 |
2827 | 7 $(PKG)_CHECKSUM := 6ebc6c4762c95c5abb96db33289b81780a4fbda6 |
1723 | 8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
1880
94df9b4e71ae
upgrade packages: dbus fltk geos glib gnutls imagemagick lcms libass libevent libgsf pfstools x264 xvidcore xz
Mark Brand <mabrand@mabrand.nl>
parents:
1728
diff
changeset
|
9 $(PKG)_FILE := $($(PKG)_SUBDIR).tar.xz |
1723 | 10 $(PKG)_URL := http://libass.googlecode.com/files/$($(PKG)_FILE) |
4803
e2349691d6ae
fix fontconfig dependencies
John W. Eaton <jwe@octave.org>
parents:
4538
diff
changeset
|
11 ifeq ($(USE_SYSTEM_FONTCONFIG),no) |
e2349691d6ae
fix fontconfig dependencies
John W. Eaton <jwe@octave.org>
parents:
4538
diff
changeset
|
12 $(PKG)_FONTCONFIG := fontconfig |
e2349691d6ae
fix fontconfig dependencies
John W. Eaton <jwe@octave.org>
parents:
4538
diff
changeset
|
13 endif |
e2349691d6ae
fix fontconfig dependencies
John W. Eaton <jwe@octave.org>
parents:
4538
diff
changeset
|
14 $(PKG)_DEPS := freetype $($(PKG)_FONTCONFIG) fribidi |
1723 | 15 |
16 define $(PKG)_UPDATE | |
4538 | 17 $(WGET) -q -O- 'https://github.com/libass/libass/tags' | \ |
18 $(SED) -n 's|.*releases/tag/\([^"]*\).*|\1|p' | $(SORT) -V | \ | |
19 tail -1 | |
1723 | 20 endef |
21 | |
22 define $(PKG)_BUILD | |
23 cd '$(1)' && ./configure \ | |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
24 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2855
diff
changeset
|
25 --prefix='$(HOST_PREFIX)' \ |
2855
47558e958113
Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents:
2827
diff
changeset
|
26 $(ENABLE_SHARED_OR_STATIC) \ |
1725
c10ebeb1dbb2
replace nasty TAB characters in package libass
Volker Grabsch <vog@notjusthosting.com>
parents:
1723
diff
changeset
|
27 --disable-enca \ |
c10ebeb1dbb2
replace nasty TAB characters in package libass
Volker Grabsch <vog@notjusthosting.com>
parents:
1723
diff
changeset
|
28 --enable-fontconfig |
1723 | 29 $(MAKE) -C '$(1)' -j '$(JOBS)' |
30 $(MAKE) -C '$(1)' -j 1 install | |
31 | |
3031
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3014
diff
changeset
|
32 '$(MXE_CC)' \ |
1723 | 33 -W -Wall -Werror -ansi -pedantic \ |
3014
b6c7244a2f66
Use HOST_BINDIR, HOST_LIBDIR, and HOST_INCDIR instead of MXE_BINDIR, MXE_LIBDIR, and MXE_INCDIR. Attempt to use these variables consistently instead of using $(HOST_PREFIX)/bin, $(HOST_PREFIX)/lib, and $(HOST_PREFIX)/include
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
34 '$(2).c' -o '$(HOST_BINDIR)/test-libass.exe' \ |
3031
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3014
diff
changeset
|
35 `'$(MXE_PKG_CONFIG)' libass --cflags --libs` |
1723 | 36 endef |