shithub: libdvdcss

Download patch

ref: 17d92492cd2e7148060c3b0ac50f98a1ad4e17b8
parent: 4b86763e9c0f9ae871b901b222396cae5570f590
author: Sam Hocevar <sam@videolan.org>
date: Fri Aug 29 14:57:51 EDT 2008

* Ship a .pc file with the library.

--- a/configure.ac
+++ b/configure.ac
@@ -210,5 +210,6 @@
   src/Makefile
   src/dvdcss/Makefile
   test/Makefile
+  src/libdvdcss.pc
 ])
 
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -32,3 +32,6 @@
 libtool_flags = -no-undefined
 endif
 
+pkgconfigdir = $(libdir)/pkgconfig
+pkgconfig_DATA = libdvdcss.pc
+
--- /dev/null
+++ b/src/libdvdcss.pc.in
@@ -1,0 +1,10 @@
+prefix=@prefix@
+exec_prefix=@exec_prefix@
+libdir=@libdir@
+includedir=@includedir@
+
+Name: libdvdcss
+Description: DVD access and decryption library.
+Version: @VERSION@
+Libs: -L${libdir} -ldvdcss
+Cflags: -I{includedir} -I${includedir}/@PACKAGE@