disable examples in libdvdnav

Archive of historical development discussions
Discussions / Development has moved to GitHub
Forum rules
*******************************
Please be aware we are now using GitHub for issue tracking and feature requests.
- This section of the forum is now closed to new topics.

*******************************
Post Reply
lamahk
Posts: 8
Joined: Sun Oct 16, 2011 12:11 pm

disable examples in libdvdnav

Post by lamahk »

I want to statically linked libdvdcss in the build. but libdvdnav example will call dvdread-config to include -ldvdread. This means I have to patch libdvdread to modify dvdread-config to include -ldvdcss and other library like -lIOKit.... in order to build the examples that bundle with libdvdnav. But building the example in libdvdnav package serve not much purpose other than proving the libdvdnav built is good to go. Can we disable the examples in the libdvdnav as follow:

e.g. a new file A09-examples-disable.patch

Code: Select all

--- libdvdnav.orig/configure.ac 2011-11-17 22:58:36.000000000 +0800
+++ libdvdnav/configure.ac      2011-11-17 22:58:53.000000000 +0800
@@ -234,5 +234,4 @@
 misc/relchk.sh
 m4/Makefile
 doc/Makefile
-examples/Makefile
 ])
--- libdvdnav.orig/Makefile.am  2011-11-17 23:06:33.000000000 +0800
+++ libdvdnav/Makefile.am       2011-11-17 23:06:52.000000000 +0800
@@ -1,7 +1,7 @@
 include $(top_srcdir)/misc/Makefile.common


-SUBDIRS = src examples doc misc m4
+SUBDIRS = src doc misc m4

 EXTRA_DIST = autogen.sh \
             AUTHORS \
Post Reply