# HG changeset patch # User Volker Grabsch # Date 1272298556 -7200 # Node ID 1f9305666d748d719aea285a79614d3789ca916c # Parent f1d598a043518f1f7f388553cdcbc6500a4a04c7 new package: xine-lib diff -r f1d598a04351 -r 1f9305666d74 src/xine-lib-1-do-not-install-def-file.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/xine-lib-1-do-not-install-def-file.patch Mon Apr 26 18:15:56 2010 +0200 @@ -0,0 +1,33 @@ +diff -r 42ff50f9d875 src/xine-engine/Makefile.am +--- a/src/xine-engine/Makefile.am Mon Apr 26 17:53:49 2010 +0200 ++++ b/src/xine-engine/Makefile.am Mon Apr 26 17:56:06 2010 +0200 +@@ -43,13 +43,5 @@ + + noinst_HEADERS = bswap.h ffmpeg_bswap.h + +-if WIN32 +-install-exec-local: +- cp -p $(DEF_FILE) $(DESTDIR)$(libdir) +- +-uninstall-local: +- rm -f $(DEF_FILE) +-endif +- + $(XINEUTILS_LIB): + $(MAKE) -C $(top_builddir)/src/xine-utils libxineutils.la +diff -r 42ff50f9d875 src/xine-engine/Makefile.in +--- a/src/xine-engine/Makefile.in Mon Apr 26 17:53:49 2010 +0200 ++++ b/src/xine-engine/Makefile.in Mon Apr 26 17:56:06 2010 +0200 +@@ -897,12 +897,6 @@ + $(LIBXINEPOSIX): + $(MAKE) -C $(top_builddir)/lib libxineposix.la + +-@WIN32_TRUE@install-exec-local: +-@WIN32_TRUE@ cp -p $(DEF_FILE) $(DESTDIR)$(libdir) +- +-@WIN32_TRUE@uninstall-local: +-@WIN32_TRUE@ rm -f $(DEF_FILE) +- + $(XINEUTILS_LIB): + $(MAKE) -C $(top_builddir)/src/xine-utils libxineutils.la + diff -r f1d598a04351 -r 1f9305666d74 src/xine-lib-2-fix-crosscompile.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/xine-lib-2-fix-crosscompile.patch Mon Apr 26 18:15:56 2010 +0200 @@ -0,0 +1,15 @@ +This file is part of mingw-cross-env. +See doc/index.html for further information. + +diff -r 9eefd9257b2e configure +--- a/configure Fri Apr 23 20:00:23 2010 +0200 ++++ b/configure Fri Apr 23 20:01:32 2010 +0200 +@@ -16408,7 +16408,7 @@ + have_supported_dvb=yes + SYS=other + +-case "$build_os" in ++case "$host_os" in + gnu*) + have_supported_dvb=no + SYS=hurd diff -r f1d598a04351 -r 1f9305666d74 src/xine-lib.mk --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/xine-lib.mk Mon Apr 26 18:15:56 2010 +0200 @@ -0,0 +1,57 @@ +# This file is part of mingw-cross-env. +# See doc/index.html for further information. + +# xine-lib +PKG := xine-lib +$(PKG)_IGNORE := +$(PKG)_VERSION := 1.1.18.1 +$(PKG)_CHECKSUM := 783232b6d6e23850a7ac97bf53b2a8bc2e743270 +$(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) +$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2 +$(PKG)_WEBSITE := http://www.xine-project.org/ +$(PKG)_URL := http://$(SOURCEFORGE_MIRROR)/project/xine/$(PKG)/$($(PKG)_VERSION)/$($(PKG)_FILE) +$(PKG)_DEPS := gcc zlib libiconv libmng sdl vorbis theora speex flac freetype fontconfig + +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 + cd '$(1)' && ./configure \ + --host='$(TARGET)' \ + --prefix='$(PREFIX)/$(TARGET)' \ + --enable-static \ + --disable-shared \ + --disable-mmap \ + --disable-nls \ + --enable-mng \ + --disable-real-codecs \ + --without-external-ffmpeg \ + --without-x \ + --with-sdl \ + --with-vorbis \ + --with-theora \ + --with-speex \ + --with-libflac \ + --without-external-a52dec \ + --without-external-libmad \ + --without-external-libmpcdec \ + --without-imagemagick \ + --with-freetype \ + --with-fontconfig \ + --without-alsa \ + --without-esound \ + --without-arts \ + --without-fusionsound \ + --with-internal-vcdlibs \ + --without-external-libfaad \ + --without-external-libdts \ + --without-wavpack \ + CFLAGS='-I$(1)/win32/include' \ + PTHREAD_LIBS='-lpthread -lws2_32' + $(MAKE) -C '$(1)' -j '$(JOBS)' + $(MAKE) -C '$(1)' -j 1 install +endef