Mercurial > mxe-octave
annotate src/xine-lib.mk @ 5534:372ea4c0afb2
Move of-ocs PKG_XXXX to inst dir and add break patch
* src/of-ocs-3-break-fixes.patch,
src/of-ocs-4-pkgadd-fixes.patch: new files
* dist-files.mk: add ref to files
author | John Donoghue <john.donoghue@ieee.org> |
---|---|
date | Sun, 13 Sep 2020 08:15:14 -0400 |
parents | 5454d33ef781 |
children |
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 := | |
3629
5aba05f2226e
update xine-lib, add mman-win32
John Donoghue <john.donoghue@ieee.org>
parents:
3480
diff
changeset
|
6 $(PKG)_VERSION := 1.2.4 |
5aba05f2226e
update xine-lib, add mman-win32
John Donoghue <john.donoghue@ieee.org>
parents:
3480
diff
changeset
|
7 $(PKG)_CHECKSUM := 32267c5fcaa1439a5fbf7606d27dc4fafba9e504 |
912 | 8 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) |
2583 | 9 $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.xz |
912 | 10 $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/xine/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE) |
4803
e2349691d6ae
fix fontconfig dependencies
John W. Eaton <jwe@octave.org>
parents:
3629
diff
changeset
|
11 ifeq ($(USE_SYSTEM_FONTCONFIG),no) |
e2349691d6ae
fix fontconfig dependencies
John W. Eaton <jwe@octave.org>
parents:
3629
diff
changeset
|
12 $(PKG)_FONTCONFIG := fontconfig |
e2349691d6ae
fix fontconfig dependencies
John W. Eaton <jwe@octave.org>
parents:
3629
diff
changeset
|
13 endif |
e2349691d6ae
fix fontconfig dependencies
John W. Eaton <jwe@octave.org>
parents:
3629
diff
changeset
|
14 $(PKG)_DEPS := faad2 ffmpeg flac $($(PKG)_FONTCONFIG) freetype graphicsmagick libiconv libmng pthreads sdl speex theora vorbis wavpack zlib libmpcdec libcdio vcdimager mman-win32 libmad a52dec libmodplug |
912 | 15 |
16 define $(PKG)_UPDATE | |
4873 | 17 $(WGET) -q -O- 'https://sourceforge.net/p/xine/xine-lib-1.2/ref/default/tags/' | \ |
18 $(SED) -n 's,.*xine-lib-1.2/ci/\([0-9][^/]*\)/.*,\1,p' | \ | |
19 $(SORT) -V | \ | |
20 tail -1 | |
912 | 21 endef |
22 | |
23 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
|
24 # 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
|
25 cd '$(1)' && aclocal -I m4 |
9d2d31e8f84d
don't call autopoint in package xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
1709
diff
changeset
|
26 cd '$(1)' && $(LIBTOOLIZE) |
9d2d31e8f84d
don't call autopoint in package xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
1709
diff
changeset
|
27 cd '$(1)' && autoconf |
9d2d31e8f84d
don't call autopoint in package xine-lib
Volker Grabsch <vog@notjusthosting.com>
parents:
1709
diff
changeset
|
28 |
912 | 29 cd '$(1)' && ./configure \ |
3013
bcc26ffe9a0f
use variable for --host and --build configure arguments
John W. Eaton <jwe@octave.org>
parents:
3012
diff
changeset
|
30 $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ |
3012
100e618349f7
Improve handling of prefix directories by defining HOST_PREFIX and
John W. Eaton <jwe@octave.org>
parents:
2855
diff
changeset
|
31 --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
|
32 $(ENABLE_SHARED_OR_STATIC) \ |
912 | 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' \ |
3031
951da75fd09c
improve handling of cross tool prefix
John W. Eaton <jwe@octave.org>
parents:
3013
diff
changeset
|
60 LIBS="`$(MXE_PKG_CONFIG) --libs libmng`" |
3629
5aba05f2226e
update xine-lib, add mman-win32
John Donoghue <john.donoghue@ieee.org>
parents:
3480
diff
changeset
|
61 $(SED) -i 's,[\s^]*sed , $(SED) ,g' '$(1)/src/combined/ffmpeg/Makefile' |
912 | 62 $(MAKE) -C '$(1)' -j '$(JOBS)' |
63 $(MAKE) -C '$(1)' -j 1 install | |
64 endef |