Mercurial > mxe-octave
annotate src/libass.mk @ 2005:e7a3e0bb410a
added missing dependency to package libass
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Mon, 26 Sep 2011 16:47:53 +0200 |
parents | 85d0564c5c2b |
children | f653602a0500 |
rev | line source |
---|---|
1723 | 1 # This file is part of mingw-cross-env. |
2 # See doc/index.html for further information. | |
3 | |
4 # libass | |
5 PKG := libass | |
6 $(PKG)_IGNORE := | |
2003 | 7 $(PKG)_VERSION := 0.10.0 |
8 $(PKG)_CHECKSUM := 7a0ea048f687421f3e1314988ca02f04861fc5f0 | |
1723 | 9 $(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
|
10 $(PKG)_FILE := $($(PKG)_SUBDIR).tar.xz |
1723 | 11 $(PKG)_WEBSITE := http://code.google.com/p/libass/ |
12 $(PKG)_URL := http://libass.googlecode.com/files/$($(PKG)_FILE) | |
2005
e7a3e0bb410a
added missing dependency to package libass
Mark Brand <mabrand@mabrand.nl>
parents:
2003
diff
changeset
|
13 $(PKG)_DEPS := gcc freetype fontconfig fribidi |
1723 | 14 |
15 define $(PKG)_UPDATE | |
16 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
|
17 $(SED) -n 's,.*libass-\([0-9][^<]*\)\.tar.*,\1,p' | \ |
1723 | 18 head -1 |
19 endef | |
20 | |
21 define $(PKG)_BUILD | |
22 cd '$(1)' && ./configure \ | |
23 --host='$(TARGET)' \ | |
24 --prefix='$(PREFIX)/$(TARGET)' \ | |
25 --disable-shared \ | |
1725
c10ebeb1dbb2
replace nasty TAB characters in package libass
Volker Grabsch <vog@notjusthosting.com>
parents:
1723
diff
changeset
|
26 --disable-png \ |
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 | |
32 '$(TARGET)-gcc' \ | |
33 -W -Wall -Werror -ansi -pedantic \ | |
34 '$(2).c' -o '$(PREFIX)/$(TARGET)/bin/test-libass.exe' \ | |
35 `'$(TARGET)-pkg-config' libass --cflags --libs` | |
36 endef |