]> git.sesse.net Git - vlc/commitdiff
Contrib: fix schroedinger compile for Win32
authorJean-Baptiste Kempf <jb@videolan.org>
Sat, 9 Jan 2010 01:27:54 +0000 (02:27 +0100)
committerJean-Baptiste Kempf <jb@videolan.org>
Sat, 9 Jan 2010 01:27:54 +0000 (02:27 +0100)
extras/contrib/src/Distributions/win32.mak
extras/contrib/src/Makefile
extras/contrib/src/Patches/schroedinger-notests.patch [new file with mode: 0644]

index e18b5be0b7427b53734920513567b1c51d0be096..667a32880ebe26b91084c7864016f1b8c98cbcef 100644 (file)
@@ -3,9 +3,9 @@ all: .iconv .intl .freetype .fribidi .zlib \
         .a52 .mpeg2 .id3tag .mad .ogg .vorbis .shout .vorbisenc .theora \
         .flac .speex .faad .lame .ebml  .matroska .ffmpeg .dvdcss \
         .live .pthreads .goom2k4 .caca .mod .x264  .xml .twolame \
-        .png .gpg-error .gcrypt .gnutls .mpcdec .dirac \
+        .png .gpg-error .gcrypt .gnutls .mpcdec .dirac .schroedinger \
         .dvdnav .dvbpsi .qt4_win32 .schroedinger .SDL_image \
         .dx_headers .dshow_headers .gecko-win32 .dca \
         .lua .tag .fontconfig .portaudio .kate .libass .zvbi \
         .fluid .aclocal .peflags .cddb .sqlite3 .libprojectM
-#       .daap .cddb .cdio .vcdimager
+#       .daap .cdio .vcdimager
index 5f2f54f640c03c8247e5a0143f2d3e08121802b6..9306d0060ac2943b1b4499a9cc32c91fd2d784c1 100644 (file)
@@ -2421,9 +2421,10 @@ schroedinger-$(SCHROED_VERSION).tar.gz:
 
 schroedinger: schroedinger-$(SCHROED_VERSION).tar.gz
        $(EXTRACT_GZ)
+       patch -p0 < Patches/schroedinger-notests.patch
 
 .schroedinger: schroedinger .liboil
-       (cd $<; $(HOSTCC) ./configure $(HOSTCONF) --with-thread=none --disable-gstreamer --prefix=$(PREFIX) CFLAGS="$(CFLAGS) -O3" && make -C schroedinger && make -C schroedinger install)
+       (cd $<; $(HOSTCC) ./configure $(HOSTCONF) --with-thread=none --disable-gtk-doc --prefix=$(PREFIX) CFLAGS="$(CFLAGS) -O3" && make && make install)
        touch $@
 
 CLEAN_FILE += .schroedinger
diff --git a/extras/contrib/src/Patches/schroedinger-notests.patch b/extras/contrib/src/Patches/schroedinger-notests.patch
new file mode 100644 (file)
index 0000000..68d5dd6
--- /dev/null
@@ -0,0 +1,10 @@
+--- schroedinger/Makefile.am   2009-09-29 07:08:51.000000000 +0200
++++ schroedinger.new/Makefile.am       2010-01-09 02:18:41.000000000 +0100
+@@ -1,6 +1,6 @@
+ AUTOMAKE_OPTIONS = foreign
+-SUBDIRS = schroedinger doc tools testsuite
++SUBDIRS = schroedinger doc tools 
+ DISTCHECK_CONFIGURE_FLAGS=--enable-gtk-doc