Mercurial > mxe-octave
annotate src/xine-lib.mk @ 3012:100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
BUILD_TOOLS_PREFIX variables in top-level Makefile.
author | John W. Eaton <jwe@octave.org> |
---|---|
date | Sun, 02 Jun 2013 10:31:04 -0400 |
parents | 47558e958113 |
children | bcc26ffe9a0f |
rev | line source |
---|---|
2333
f653602a0500
Rebrand to new project name MXE
Volker Grabsch <vog@notjusthosting.com>
parents:
2196
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. |
912 | 3 |
4 PKG := xine-lib | |
5 $(PKG)_IGNORE := | |
2583 | 6 $(PKG)_CHECKSUM := 0adf20ef55d24f2a1b4a8974e57ad1be5133b236 |
912 | 7 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
2583 | 8 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.xz |
912 | 9 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/xine/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE) |
2089
b9761fba654e
package xine-lib: enable graphicsmagick
Mark Brand <mabrand@mabrand.nl>
parents:
2088
diff
changeset
|
10 $(PKG)_DEPS := gcc faad2 ffmpeg flac fontconfig freetype graphicsmagick libiconv libmng pthreads sdl speex theora vorbis zlib |
912 | 11 |
12 define $(PKG)_UPDATE | |
2525
4d0f3a9da57e
all packages: use $(WGET) portability variable
Tony Theodore <tonyt@logyst.com>
parents:
2365
diff
changeset
|
13 $(WGET) -q -O- 'http://hg.debian.org/hg/xine-lib/xine-lib/tags' | \ |
912 | 14 $(SED) -n 's,>,\n,gp' | \ |
15 $(SED) -n 's,^\([0-9][^< ]*\)<.*,\1,p' | \ | |
16 head -1 | |
17 endef | |
18 | |
19 define $(PKG)_BUILD | |
1709
b32558e52428
don't remove the "-no-undefined" flag, but provide clean bugfixes instead for packages exiv2 and xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
1702
diff
changeset
|
20 # rebuild configure script as one of the patches modifies configure.ac |
1833
9d2d31e8f84d
don't call autopoint in package xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
1709
diff
changeset
|
21 cd '$(1)' && aclocal -I m4 |
9d2d31e8f84d
don't call autopoint in package xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
1709
diff
changeset
|
22 cd '$(1)' && $(LIBTOOLIZE) |
9d2d31e8f84d
don't call autopoint in package xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
1709
diff
changeset
|
23 cd '$(1)' && autoconf |
9d2d31e8f84d
don't call autopoint in package xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
1709
diff
changeset
|
24 |
912 | 25 cd '$(1)' && ./configure \ |
26 --host='$(TARGET)' \ | |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2855
diff
changeset
|
27 --prefix='$(HOST_PREFIX)' \ |
2855
47558e958113
Allow static/shared libraries to be configured in top-level Makefile.
John W. Eaton <jwe@octave.org>
parents:
2583
diff
changeset
|
28 $(ENABLE_SHARED_OR_STATIC) \ |
912 | 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 --with-freetype \ | |
45 --with-fontconfig \ | |
46 --without-alsa \ | |
47 --without-esound \ | |
48 --without-arts \ | |
49 --without-fusionsound \ | |
50 --with-internal-vcdlibs \ | |
1263
ad7886d47c88
package xine-lib: enable new faad and ffmpeg build options
Tony Theodore <tonyt@logyst.com>
parents:
1182
diff
changeset
|
51 --with-external-libfaad \ |
912 | 52 --without-external-libdts \ |
53 --without-wavpack \ | |
54 CFLAGS='-I$(1)/win32/include' \ | |
2077
f4fb89bb2724
package xine-lib: fix mng support
Mark Brand <mabrand@mabrand.nl>
parents:
1833
diff
changeset
|
55 PTHREAD_LIBS='-lpthread -lws2_32' \ |
f4fb89bb2724
package xine-lib: fix mng support
Mark Brand <mabrand@mabrand.nl>
parents:
1833
diff
changeset
|
56 LIBS="`$(TARGET)-pkg-config --libs libmng`" |
912 | 57 $(MAKE) -C '$(1)' -j '$(JOBS)' |
58 $(MAKE) -C '$(1)' -j 1 install | |
59 endef |