annotate src/xine-lib.mk @ 954:41730f4d56ea

disable aalib explicitly in package xine-lib (by Mark de Wever)
author Volker Grabsch <vog@notjusthosting.com>
date Wed, 12 May 2010 19:25:44 +0200
parents 795dbc19e055
children 2425089ad67e
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
912
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
1 # This file is part of mingw-cross-env.
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
2 # See doc/index.html for further information.
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 :=
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
7 $(PKG)_VERSION := 1.1.18.1
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
8 $(PKG)_CHECKSUM := 783232b6d6e23850a7ac97bf53b2a8bc2e743270
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
9 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
10 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
11 $(PKG)_WEBSITE := http://www.xine-project.org/
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
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
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
14
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
15 define $(PKG)_UPDATE
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
16 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
17 $(SED) -n 's,>,\n,gp' | \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
18 $(SED) -n 's,^\([0-9][^< ]*\)<.*,\1,p' | \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
19 head -1
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
20 endef
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
21
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
22 define $(PKG)_BUILD
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
23 cd '$(1)' && ./configure \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
24 --host='$(TARGET)' \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
25 --prefix='$(PREFIX)/$(TARGET)' \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
26 --enable-static \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
27 --disable-shared \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
28 --disable-mmap \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
29 --disable-nls \
954
41730f4d56ea disable aalib explicitly in package xine-lib (by Mark de Wever)
Volker Grabsch <vog@notjusthosting.com>
parents: 938
diff changeset
30 --disable-aalib \
912
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
31 --enable-mng \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
32 --disable-real-codecs \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
33 --without-external-ffmpeg \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
34 --without-x \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
35 --with-sdl \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
36 --with-vorbis \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
37 --with-theora \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
38 --with-speex \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
39 --with-libflac \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
40 --without-external-a52dec \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
41 --without-external-libmad \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
42 --without-external-libmpcdec \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
43 --without-imagemagick \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
44 --with-freetype \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
45 --with-fontconfig \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
46 --without-alsa \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
47 --without-esound \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
48 --without-arts \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
49 --without-fusionsound \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
50 --with-internal-vcdlibs \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
51 --without-external-libfaad \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
52 --without-external-libdts \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
53 --without-wavpack \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
54 CFLAGS='-I$(1)/win32/include' \
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
55 PTHREAD_LIBS='-lpthread -lws2_32'
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
56 $(MAKE) -C '$(1)' -j '$(JOBS)'
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
57 $(MAKE) -C '$(1)' -j 1 install
1f9305666d74 new package: xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
diff changeset
58 endef