Mercurial > mxe-octave
view src/xine-lib.mk @ 4111:d53c492ab48d
pkg-install.py append to inst/PKG_ADD/DEL it it exists (Bug #47481)
* tools/pkg-install.py
(create_pkgadddel): append to inst/ PKG_ADD/DEL if exists
author | John Donoghue |
---|---|
date | Tue, 22 Mar 2016 08:19:53 -0400 |
parents | 5aba05f2226e |
children | e2349691d6ae |
line wrap: on
line source
# This file is part of MXE. # See index.html for further information. PKG := xine-lib $(PKG)_IGNORE := $(PKG)_VERSION := 1.2.4 $(PKG)_CHECKSUM := 32267c5fcaa1439a5fbf7606d27dc4fafba9e504 $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.xz $(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/xine/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE) $(PKG)_DEPS := faad2 ffmpeg flac fontconfig freetype graphicsmagick libiconv libmng pthreads sdl speex theora vorbis wavpack zlib libmpcdec libcdio vcdimager mman-win32 libmad a52dec libmodplug define $(PKG)_UPDATE $(WGET) -q -O- 'http://hg.debian.org/hg/xine-lib/xine-lib/tags' | \ $(SED) -n 's,>,\n,gp' | \ $(SED) -n 's,^\([0-9][^< ]*\)<.*,\1,p' | \ head -1 endef define $(PKG)_BUILD # rebuild configure script as one of the patches modifies configure.ac cd '$(1)' && aclocal -I m4 cd '$(1)' && $(LIBTOOLIZE) cd '$(1)' && autoconf cd '$(1)' && ./configure \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ --prefix='$(HOST_PREFIX)' \ $(ENABLE_SHARED_OR_STATIC) \ --disable-mmap \ --disable-nls \ --disable-aalib \ --enable-mng \ --disable-real-codecs \ --with-external-ffmpeg \ --without-x \ --with-sdl \ --with-vorbis \ --with-theora \ --with-speex \ --with-libflac \ --without-external-a52dec \ --without-external-libmad \ --without-external-libmpcdec \ --with-freetype \ --with-fontconfig \ --without-alsa \ --without-esound \ --without-arts \ --without-fusionsound \ --with-internal-vcdlibs \ --with-external-libfaad \ --without-external-libdts \ --without-wavpack \ CFLAGS='-I$(1)/win32/include' \ PTHREAD_LIBS='-lpthread -lws2_32' \ LIBS="`$(MXE_PKG_CONFIG) --libs libmng`" $(SED) -i 's,[\s^]*sed , $(SED) ,g' '$(1)/src/combined/ffmpeg/Makefile' $(MAKE) -C '$(1)' -j '$(JOBS)' $(MAKE) -C '$(1)' -j 1 install endef