Mercurial > mxe-octave
annotate src/xine-lib.mk @ 2333:f653602a0500
Rebrand to new project name MXE
author | Volker Grabsch <vog@notjusthosting.com> |
---|---|
date | Wed, 28 Mar 2012 15:46:58 +0200 |
parents | 4ca5272c3b38 |
children | f48c5b085a38 |
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. |
912 | 2 # See doc/index.html for further information. |
3 | |
4 # xine-lib | |
5 PKG := xine-lib | |
6 $(PKG)_IGNORE := | |
2196
4ca5272c3b38
update packages file xine-lib
Mark Brand <mabrand@mabrand.nl>
parents:
2089
diff
changeset
|
7 $(PKG)_VERSION := 1.1.20.1 |
4ca5272c3b38
update packages file xine-lib
Mark Brand <mabrand@mabrand.nl>
parents:
2089
diff
changeset
|
8 $(PKG)_CHECKSUM := 68e85049723b491ccb22d5123bf8fa780529868a |
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) | |
2089
b9761fba654e
package xine-lib: enable graphicsmagick
Mark Brand <mabrand@mabrand.nl>
parents:
2088
diff
changeset
|
13 $(PKG)_DEPS := gcc faad2 ffmpeg flac fontconfig freetype graphicsmagick 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 | |
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
|
23 # 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
|
24 cd '$(1)' && aclocal -I m4 |
9d2d31e8f84d
don't call autopoint in package xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
1709
diff
changeset
|
25 cd '$(1)' && $(LIBTOOLIZE) |
9d2d31e8f84d
don't call autopoint in package xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
1709
diff
changeset
|
26 cd '$(1)' && autoconf |
9d2d31e8f84d
don't call autopoint in package xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
1709
diff
changeset
|
27 |
912 | 28 cd '$(1)' && ./configure \ |
29 --host='$(TARGET)' \ | |
30 --prefix='$(PREFIX)/$(TARGET)' \ | |
31 --enable-static \ | |
32 --disable-shared \ | |
33 --disable-mmap \ | |
34 --disable-nls \ | |
954
41730f4d56ea
disable aalib explicitly in package xine-lib (by Mark de Wever)
Volker Grabsch <vog@notjusthosting.com>
parents:
938
diff
changeset
|
35 --disable-aalib \ |
912 | 36 --enable-mng \ |
37 --disable-real-codecs \ | |
1263
ad7886d47c88
package xine-lib: enable new faad and ffmpeg build options
Tony Theodore <tonyt@logyst.com>
parents:
1182
diff
changeset
|
38 --with-external-ffmpeg \ |
912 | 39 --without-x \ |
40 --with-sdl \ | |
41 --with-vorbis \ | |
42 --with-theora \ | |
43 --with-speex \ | |
44 --with-libflac \ | |
45 --without-external-a52dec \ | |
46 --without-external-libmad \ | |
47 --without-external-libmpcdec \ | |
48 --with-freetype \ | |
49 --with-fontconfig \ | |
50 --without-alsa \ | |
51 --without-esound \ | |
52 --without-arts \ | |
53 --without-fusionsound \ | |
54 --with-internal-vcdlibs \ | |
1263
ad7886d47c88
package xine-lib: enable new faad and ffmpeg build options
Tony Theodore <tonyt@logyst.com>
parents:
1182
diff
changeset
|
55 --with-external-libfaad \ |
912 | 56 --without-external-libdts \ |
57 --without-wavpack \ | |
58 CFLAGS='-I$(1)/win32/include' \ | |
2077
f4fb89bb2724
package xine-lib: fix mng support
Mark Brand <mabrand@mabrand.nl>
parents:
1833
diff
changeset
|
59 PTHREAD_LIBS='-lpthread -lws2_32' \ |
f4fb89bb2724
package xine-lib: fix mng support
Mark Brand <mabrand@mabrand.nl>
parents:
1833
diff
changeset
|
60 LIBS="`$(TARGET)-pkg-config --libs libmng`" |
912 | 61 $(MAKE) -C '$(1)' -j '$(JOBS)' |
62 $(MAKE) -C '$(1)' -j 1 install | |
63 endef |