shithub: opusfile

Download patch

ref: 6d091e3dccdc1fbf78034169bb7bd969293d8263
parent: 02b82ebb6061921c30b0bcc26844c57baa1c4094
author: Timothy B. Terriberry <tterribe@xiph.org>
date: Sun Sep 30 20:14:12 EDT 2012

Move installed include files under the opus dir.

Also use Libs.private for libm.

--- a/Makefile.am
+++ b/Makefile.am
@@ -4,7 +4,8 @@
 
 dist_doc_DATA = COPYING AUTHORS README.txt
 
-include_HEADERS = include/opusfile.h
+opusincludedir = ${includedir}/opus
+opusinclude_HEADERS = include/opusfile.h
 
 lib_LTLIBRARIES = libopusfile.la
 libopusfile_la_SOURCES = \
--- a/opusfile.pc.in
+++ b/opusfile.pc.in
@@ -11,4 +11,5 @@
 Requires: ogg >= 1.3 opus >= 1.0.1 @openssl@
 Conflicts:
 Libs: -L${libdir} -lopusfile
-Cflags: -I${includedir}
+Libs.private: @ac_cv_search_lrintf@
+Cflags: -I${includedir}/opus