[vlc-commits] contrib: don't compile libdvbpsi's examples for iOS
Felix Paul Kühne
git at videolan.org
Tue Mar 20 18:40:51 CET 2012
vlc | branch: master | Felix Paul Kühne <fkuehne at videolan.org> | Tue Mar 20 18:39:45 2012 +0100| [f7ff47d8cfe6c752426af7c54b6c1685c4e2b7c4] | committer: Felix Paul Kühne
contrib: don't compile libdvbpsi's examples for iOS
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f7ff47d8cfe6c752426af7c54b6c1685c4e2b7c4
---
contrib/src/dvbpsi/dvbpsi-noexamples.patch | 12 ++++++++++++
contrib/src/dvbpsi/rules.mak | 3 +++
2 files changed, 15 insertions(+), 0 deletions(-)
diff --git a/contrib/src/dvbpsi/dvbpsi-noexamples.patch b/contrib/src/dvbpsi/dvbpsi-noexamples.patch
new file mode 100644
index 0000000..6caded7
--- /dev/null
+++ b/contrib/src/dvbpsi/dvbpsi-noexamples.patch
@@ -0,0 +1,12 @@
+diff -ru libdvbpsi/Makefile.in libdvbpsi/Makefile.in
+--- libdvbpsi/Makefile.in 2011-11-03 16:55:02.000000000 +0100
++++ dvb.fix/Makefile.in 2012-03-20 17:19:49.000000000 +0100
+@@ -245,7 +245,7 @@
+ top_build_prefix = @top_build_prefix@
+ top_builddir = @top_builddir@
+ top_srcdir = @top_srcdir@
+-SUBDIRS = src examples misc
++SUBDIRS = src misc
+ DIST_SUBDIRS = $(SUBDIRS) doc wince
+ EXTRA_DIST = libdvbpsi.spec libdvbpsi.spec.in libdvbpsi.pc.in bootstrap
+ pkgconfigdir = $(libdir)/pkgconfig
diff --git a/contrib/src/dvbpsi/rules.mak b/contrib/src/dvbpsi/rules.mak
index 84740de..09bc590 100644
--- a/contrib/src/dvbpsi/rules.mak
+++ b/contrib/src/dvbpsi/rules.mak
@@ -16,6 +16,9 @@ $(TARBALLS)/libdvbpsi-$(DVBPSI_VERSION).tar.bz2:
libdvbpsi: libdvbpsi-$(DVBPSI_VERSION).tar.bz2 .sum-dvbpsi
$(UNPACK)
$(UPDATE_AUTOCONFIG) && cd $(UNPACK_DIR) && mv config.guess config.sub .auto
+ifdef HAVE_IOS
+ $(APPLY) $(SRC)/dvbpsi/dvbpsi-noexamples.patch
+endif
$(MOVE)
.dvbpsi: libdvbpsi
More information about the vlc-commits
mailing list