Mercurial > mxe-octave
view src/xine-lib.mk @ 4601:dc3eb553f5e9
update UPDATE rule for sourceforge projects with version directories
* src/cppunit.mk, src/cunit.mk, src/expat.mk, src/freeimage.mk, src/freetype.mk,
src/gnuplot.mk, src/graphicsmagick.mk, src/hunspell.mk, src/id3lib.mk, src/lcms.mk,
src/libircclient.mk, src/liblo.mk, src/libmad.mk, src/libmng.mk, src/libmodplug.mk,
src/libusb.mk, src/matio.mk, src/pcre.mk, src/pdcurses.mk, src/pfstools.mk,
src/plotmm.mk, src/qjson.mk, src/qwt.mk, src/qwtplot3d.mk, src/sdl_pango.mk,
src/sox.mk, src/tinyxml.mk, src/xmlwrapp.mk:
update UPDATE rule for sourceforge projects with version directories
* src/llvm.mk: update use wget not WGE so get uncompressed file)
author | John D |
---|---|
date | Mon, 29 Jan 2018 11:57:20 -0500 |
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