mplayer-nodvdcss.patch 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. diff -up mplayer-export-2010-07-03/configure.nodvdcss mplayer-export-2010-07-03/configure
  2. --- mplayer-export-2010-07-03/configure.nodvdcss 2010-07-02 18:52:32.000000000 +0200
  3. +++ mplayer-export-2010-07-03/configure 2010-07-03 18:00:01.000000000 +0200
  4. @@ -677,7 +677,7 @@ _dvdnavconfig=dvdnav-config
  5. _dvdreadconfig=dvdread-config
  6. _dvdread=auto
  7. _dvdread_internal=auto
  8. -_libdvdcss_internal=auto
  9. +_libdvdcss_internal=no
  10. _xanim=auto
  11. _real=auto
  12. _live=auto
  13. diff -up mplayer-export-2010-07-03/Makefile.nodvdcss mplayer-export-2010-07-03/Makefile
  14. --- mplayer-export-2010-07-03/Makefile.nodvdcss 2010-07-03 18:00:01.000000000 +0200
  15. +++ mplayer-export-2010-07-03/Makefile 2010-07-03 18:00:26.000000000 +0200
  16. @@ -146,11 +146,6 @@ SRCS_COMMON-$(LIBDCA) +=
  17. SRCS_COMMON-$(LIBDV) += libmpcodecs/ad_libdv.c \
  18. libmpcodecs/vd_libdv.c \
  19. libmpdemux/demux_rawdv.c
  20. -SRCS_COMMON-$(LIBDVDCSS_INTERNAL) += libdvdcss/css.c \
  21. - libdvdcss/device.c \
  22. - libdvdcss/error.c \
  23. - libdvdcss/ioctl.c \
  24. - libdvdcss/libdvdcss.c \
  25. SRCS_COMMON-$(LIBMAD) += libmpcodecs/ad_libmad.c
  26. @@ -764,7 +759,6 @@ DIRS = . \
  27. libavutil/sh4 \
  28. libavutil/tomi \
  29. libavutil/x86 \
  30. - libdvdcss \
  31. libdvdnav \
  32. libdvdnav/vm \
  33. libdvdread4 \
  34. @@ -887,7 +881,6 @@ $(call ADDSUFFIXES,.d .o,mpcommon osdep/
  35. gui/%: CFLAGS += -Wno-strict-prototypes
  36. -libdvdcss/%: CFLAGS := -Ilibdvdcss -D__USE_UNIX98 -D_GNU_SOURCE -DVERSION=\"1.2.10\" $(CFLAGS_LIBDVDCSS) $(CFLAGS)
  37. libdvdnav/%: CFLAGS := -Ilibdvdnav -D__USE_UNIX98 -D_GNU_SOURCE -DHAVE_CONFIG_H -DVERSION=\"MPlayer-custom\" $(CFLAGS)
  38. libdvdread4/%: CFLAGS := -Ilibdvdread4 -D__USE_UNIX98 -D_GNU_SOURCE $(CFLAGS_LIBDVDCSS_DVDREAD) $(CFLAGS)
  39. libfaad2/%: CFLAGS := -Ilibfaad2 -D_GNU_SOURCE -DHAVE_CONFIG_H $(CFLAGS_FAAD_FIXED) $(CFLAGS)