Mercurial > mxe-octave
annotate src/xine-lib.mk @ 1702:766d5937433f
package xine-lib: gcc 4.6 workaround
author | Mark Brand <mabrand@mabrand.nl> |
---|---|
date | Sat, 26 Mar 2011 01:42:00 +0100 |
parents | 9e587ca588dc |
children | b32558e52428 |
rev | line source |
---|---|
912 | 1 # This file is part of mingw-cross-env. |
2 # See doc/index.html for further information. | |
3 | |
4 # xine-lib | |
5 PKG := xine-lib | |
6 $(PKG)_IGNORE := | |
1182
2425089ad67e
upgrade version of package xine-lib, removing a patch that is no longer needed
Volker Grabsch <vog@notjusthosting.com>
parents:
954
diff
changeset
|
7 $(PKG)_VERSION := 1.1.19 |
2425089ad67e
upgrade version of package xine-lib, removing a patch that is no longer needed
Volker Grabsch <vog@notjusthosting.com>
parents:
954
diff
changeset
|
8 $(PKG)_CHECKSUM := 5afcc28c5cf2bdaab99d951960f6587797e1e5a0 |
912 | 9 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
1499
9e587ca588dc
remove $($PKG)_SUBDIR) from FILE and URL defintions
Mark Brand <mabrand@mabrand.nl>
parents:
1467
diff
changeset
|
10 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2 |
912 | 11 $(PKG)_WEBSITE := http://www.xine-project.org/ |
12 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/xine/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE) | |
1267
69c5ff35f8a5
package xine-lib: correct package name of faad2
Tony Theodore <tonyt@logyst.com>
parents:
1263
diff
changeset
|
13 $(PKG)_DEPS := gcc faad2 ffmpeg flac fontconfig freetype libiconv libmng pthreads sdl speex theora vorbis zlib |
912 | 14 |
15 define $(PKG)_UPDATE | |
16 wget -q -O- 'http://hg.debian.org/hg/xine-lib/xine-lib/tags' | \ | |
17 $(SED) -n 's,>,\n,gp' | \ | |
18 $(SED) -n 's,^\([0-9][^< ]*\)<.*,\1,p' | \ | |
19 head -1 | |
20 endef | |
21 | |
22 define $(PKG)_BUILD | |
1702
766d5937433f
package xine-lib: gcc 4.6 workaround
Mark Brand <mabrand@mabrand.nl>
parents:
1499
diff
changeset
|
23 $(SED) -i 's/-no-undefined//;' '$(1)/configure' |
912 | 24 cd '$(1)' && ./configure \ |
25 --host='$(TARGET)' \ | |
26 --prefix='$(PREFIX)/$(TARGET)' \ | |
27 --enable-static \ | |
28 --disable-shared \ | |
29 --disable-mmap \ | |
30 --disable-nls \ | |
954
41730f4d56ea
disable aalib explicitly in package xine-lib (by Mark de Wever)
Volker Grabsch <vog@notjusthosting.com>
parents:
938
diff
changeset
|
31 --disable-aalib \ |
912 | 32 --enable-mng \ |
33 --disable-real-codecs \ | |
1263
ad7886d47c88
package xine-lib: enable new faad and ffmpeg build options
Tony Theodore <tonyt@logyst.com>
parents:
1182
diff
changeset
|
34 --with-external-ffmpeg \ |
912 | 35 --without-x \ |
36 --with-sdl \ | |
37 --with-vorbis \ | |
38 --with-theora \ | |
39 --with-speex \ | |
40 --with-libflac \ | |
41 --without-external-a52dec \ | |
42 --without-external-libmad \ | |
43 --without-external-libmpcdec \ | |
44 --without-imagemagick \ | |
45 --with-freetype \ | |
46 --with-fontconfig \ | |
47 --without-alsa \ | |
48 --without-esound \ | |
49 --without-arts \ | |
50 --without-fusionsound \ | |
51 --with-internal-vcdlibs \ | |
1263
ad7886d47c88
package xine-lib: enable new faad and ffmpeg build options
Tony Theodore <tonyt@logyst.com>
parents:
1182
diff
changeset
|
52 --with-external-libfaad \ |
912 | 53 --without-external-libdts \ |
54 --without-wavpack \ | |
55 CFLAGS='-I$(1)/win32/include' \ | |
56 PTHREAD_LIBS='-lpthread -lws2_32' | |
57 $(MAKE) -C '$(1)' -j '$(JOBS)' | |
58 $(MAKE) -C '$(1)' -j 1 install | |
59 endef |