annotate src/xine-lib.mk @ 2353:99516e73b368

Move doc/index.html -> index.html
author Volker Grabsch <vog@notjusthosting.com>
date Thu, 29 Mar 2012 12:14:15 +0200
parents f48c5b085a38
children b5321bdec505
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
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
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
3
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
4 # xine-lib
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
5 PKG := xine-lib
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
6 $(PKG)_IGNORE :=
2196
4ca5272c3b38 update packages file xine-lib
Mark Brand <mabrand@mabrand.nl>
parents: 2089
diff changeset
7 $(PKG)_CHECKSUM := 68e85049723b491ccb22d5123bf8fa780529868a
912
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
1499
9e587ca588dc remove $($PKG)_SUBDIR) from FILE and URL defintions
Mark Brand <mabrand@mabrand.nl>
parents: 1467
diff changeset
9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2
912
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(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
11 $(PKG)_DEPS := gcc faad2 ffmpeg flac fontconfig freetype graphicsmagick libiconv libmng pthreads sdl speex theora vorbis zlib
912
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
12
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
13 define $(PKG)_UPDATE
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14 wget -q -O- 'http://hg.debian.org/hg/xine-lib/xine-lib/tags' | \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 $(SED) -n 's,>,\n,gp' | \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 $(SED) -n 's,^\([0-9][^< ]*\)<.*,\1,p' | \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
17 head -1
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 endef
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 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
21 # 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
22 cd '$(1)' && aclocal -I m4
9d2d31e8f84d don't call autopoint in package xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents: 1709
diff changeset
23 cd '$(1)' && $(LIBTOOLIZE)
9d2d31e8f84d don't call autopoint in package xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents: 1709
diff changeset
24 cd '$(1)' && autoconf
9d2d31e8f84d don't call autopoint in package xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents: 1709
diff changeset
25
912
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 cd '$(1)' && ./configure \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 --host='$(TARGET)' \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 --prefix='$(PREFIX)/$(TARGET)' \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 --enable-static \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
30 --disable-shared \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
31 --disable-mmap \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
32 --disable-nls \
954
41730f4d56ea disable aalib explicitly in package xine-lib (by Mark de Wever)
Volker Grabsch <vog@notjusthosting.com>
parents: 938
diff changeset
33 --disable-aalib \
912
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
34 --enable-mng \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
35 --disable-real-codecs \
1263
ad7886d47c88 package xine-lib: enable new faad and ffmpeg build options
Tony Theodore <tonyt@logyst.com>
parents: 1182
diff changeset
36 --with-external-ffmpeg \
912
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
37 --without-x \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
38 --with-sdl \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
39 --with-vorbis \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
40 --with-theora \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
41 --with-speex \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
42 --with-libflac \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
43 --without-external-a52dec \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
44 --without-external-libmad \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
45 --without-external-libmpcdec \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
46 --with-freetype \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
47 --with-fontconfig \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
48 --without-alsa \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
49 --without-esound \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
50 --without-arts \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
51 --without-fusionsound \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
52 --with-internal-vcdlibs \
1263
ad7886d47c88 package xine-lib: enable new faad and ffmpeg build options
Tony Theodore <tonyt@logyst.com>
parents: 1182
diff changeset
53 --with-external-libfaad \
912
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
54 --without-external-libdts \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
55 --without-wavpack \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
56 CFLAGS='-I$(1)/win32/include' \
2077
f4fb89bb2724 package xine-lib: fix mng support
Mark Brand <mabrand@mabrand.nl>
parents: 1833
diff changeset
57 PTHREAD_LIBS='-lpthread -lws2_32' \
f4fb89bb2724 package xine-lib: fix mng support
Mark Brand <mabrand@mabrand.nl>
parents: 1833
diff changeset
58 LIBS="`$(TARGET)-pkg-config --libs libmng`"
912
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
59 $(MAKE) -C '$(1)' -j '$(JOBS)'
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
60 $(MAKE) -C '$(1)' -j 1 install
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
61 endef