Mercurial > mxe-octave
annotate src/libass.mk @ 3988:5b8ff612595a
of-nan: update to v2.8.1
* src/of-nan.mk: update version, checksum
* src/build_packages.m: update nan version
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Tue, 07 Jul 2015 20:16:48 -0400 |
parents | 13be64f9f16d |
children | 979f5b397e51 |
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) |
3048
5ef49fb3299d
treat gcc and binutils as build tools
John W. Eaton <jwe@octave.org>
parents:
3031
diff
changeset
|
11 $(PKG)_DEPS := freetype fontconfig fribidi |
1723 | 12 |
13 define $(PKG)_UPDATE | |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2365
diff
changeset
|
14 $(WGET) -q -O- 'http://code.google.com/p/libass/downloads/list?sort=-uploaded' | \ |
1727
94cfb780a095
bugfix for update recognition of package libass
Volker Grabsch <vog@notjusthosting.com>
parents:
1725
diff
changeset
|
15 $(SED) -n 's,.*libass-\([0-9][^<]*\)\.tar.*,\1,p' | \ |
1723 | 16 head -1 |
17 endef | |
18 | |
19 define $(PKG)_BUILD | |
20 cd '$(1)' && ./configure \ | |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
21 $(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
|
22 --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
|
23 $(ENABLE_SHARED_OR_STATIC) \ |
1725
c10ebeb1dbb2
replace nasty TAB characters in package libass
Volker Grabsch <vog@notjusthosting.com>
parents:
1723
diff
changeset
|
24 --disable-enca \ |
c10ebeb1dbb2
replace nasty TAB characters in package libass
Volker Grabsch <vog@notjusthosting.com>
parents:
1723
diff
changeset
|
25 --enable-fontconfig |
1723 | 26 $(MAKE) -C '$(1)' -j '$(JOBS)' |
27 $(MAKE) -C '$(1)' -j 1 install | |
28 | |
3031
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3014
diff
changeset
|
29 '$(MXE_CC)' \ |
1723 | 30 -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
|
31 '$(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
|
32 `'$(MXE_PKG_CONFIG)' libass --cflags --libs` |
1723 | 33 endef |