Mercurial > mxe-octave
annotate src/xine-lib.mk @ 938:795dbc19e055
detangle package pthreads from package gcc
Originally, the builds of gcc and pthreads were interlaced as a
work-around to get OpenMPI support. However, that never worked.
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Mon, 03 May 2010 12:12:53 +0200 |
parents | 1f9305666d74 |
children | 41730f4d56ea |
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 := | |
7 $(PKG)_VERSION := 1.1.18.1 | |
8 $(PKG)_CHECKSUM := 783232b6d6e23850a7ac97bf53b2a8bc2e743270 | |
9 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) | |
10 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2 | |
11 $(PKG)_WEBSITE := http://www.xine-project.org/ | |
12 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/xine/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE) | |
938
795dbc19e055
detangle package pthreads from package gcc
Volker Grabsch <vog@notjusthosting.com>
parents:
912
diff
changeset
|
13 $(PKG)_DEPS := gcc zlib libiconv libmng sdl vorbis theora speex flac freetype fontconfig pthreads |
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 | |
23 cd '$(1)' && ./configure \ | |
24 --host='$(TARGET)' \ | |
25 --prefix='$(PREFIX)/$(TARGET)' \ | |
26 --enable-static \ | |
27 --disable-shared \ | |
28 --disable-mmap \ | |
29 --disable-nls \ | |
30 --enable-mng \ | |
31 --disable-real-codecs \ | |
32 --without-external-ffmpeg \ | |
33 --without-x \ | |
34 --with-sdl \ | |
35 --with-vorbis \ | |
36 --with-theora \ | |
37 --with-speex \ | |
38 --with-libflac \ | |
39 --without-external-a52dec \ | |
40 --without-external-libmad \ | |
41 --without-external-libmpcdec \ | |
42 --without-imagemagick \ | |
43 --with-freetype \ | |
44 --with-fontconfig \ | |
45 --without-alsa \ | |
46 --without-esound \ | |
47 --without-arts \ | |
48 --without-fusionsound \ | |
49 --with-internal-vcdlibs \ | |
50 --without-external-libfaad \ | |
51 --without-external-libdts \ | |
52 --without-wavpack \ | |
53 CFLAGS='-I$(1)/win32/include' \ | |
54 PTHREAD_LIBS='-lpthread -lws2_32' | |
55 $(MAKE) -C '$(1)' -j '$(JOBS)' | |
56 $(MAKE) -C '$(1)' -j 1 install | |
57 endef |