Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Opusfile
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
2
Issues
2
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Xiph.Org
Opusfile
Commits
02b82ebb
Commit
02b82ebb
authored
Sep 30, 2012
by
Timothy B. Terriberry
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add pkg-config files.
parent
8e6d4a76
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
44 additions
and
2 deletions
+44
-2
Makefile.am
Makefile.am
+11
-1
configure.ac
configure.ac
+5
-1
opusfile-uninstalled.pc.in
opusfile-uninstalled.pc.in
+14
-0
opusfile.pc.in
opusfile.pc.in
+14
-0
No files found.
Makefile.am
View file @
02b82ebb
...
...
@@ -23,11 +23,21 @@ examples_seeking_example_LDADD = libopusfile.la
debug
:
$(MAKE)
CFLAGS
=
"
${CFLAGS}
-O0 -ggdb -DOP_ENABLE_ASSERTIONS"
all
pkgconfigdir
=
$(libdir)
/pkgconfig
pkgconfig_DATA
=
opusfile.pc
EXTRA_DIST
=
\
opusfile.pc.in
\
opusfile-uninstalled.pc.in
#API Documentation
if
HAVE_DOXYGEN
EXTRA_DIST
=
doc/Doxyfile.in doc/opus_logo.svg
EXTRA_DIST
+=
\
doc/Doxyfile.in
\
doc/git-version.sh
\
doc/opus_logo.svg
all-local
:
doc/doxygen-build.stamp
...
...
configure.ac
View file @
02b82ebb
...
...
@@ -42,8 +42,9 @@ AS_IF([test "x$enable_http" != "xno"],
[openssl="openssl"
AC_DEFINE([OP_ENABLE_HTTP], [1], [Enable HTTP support])
])
AC_SUBST(openssl)
PKG_CHECK_MODULES([DEPS], [ogg
opus
]${openssl})
PKG_CHECK_MODULES([DEPS], [ogg
>= 1.3 opus >= 1.0.1
]${openssl})
AC_ARG_ENABLE([fixed-point],
AS_HELP_STRING([--enable-fixed-point], [Enable fixed-point calculation]),,
...
...
@@ -68,6 +69,7 @@ AS_IF([test "x$enable_fixed_point" = "xyes"],
])
]
)
AC_SUBST(ac_cv_search_lrintf)
CC_ATTRIBUTE_VISIBILITY([default], [
CC_FLAG_VISIBILITY([CFLAGS="${CFLAGS} -fvisibility=hidden"])
...
...
@@ -93,6 +95,8 @@ AM_CONDITIONAL(HAVE_DOXYGEN,$HAVE_DOXYGEN)
AC_OUTPUT([
Makefile
opusfile.pc
opusfile-uninstalled.pc
doc/Doxyfile
])
...
...
opusfile-uninstalled.pc.in
0 → 100644
View file @
02b82ebb
# opusfile uninstalled pkg-config file
prefix=
exec_prefix=
libdir=${pcfiledir}/.libs
includedir=${pcfiledir}/@top_srcdir@/include
Name: opusfile uninstalled
Description: Opus playback library (not installed)
Version: @VERSION@
Requires: ogg >= 1.3 opus >= 1.0.1 @openssl@
Conflicts:
Libs: ${libdir}/libopusfile.la @ac_cv_search_lrintf@
Cflags: -I${includedir}
opusfile.pc.in
0 → 100644
View file @
02b82ebb
# opusfile installed pkg-config file
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
Name: opusfile
Description: Opus playback library
Version: @VERSION@
Requires: ogg >= 1.3 opus >= 1.0.1 @openssl@
Conflicts:
Libs: -L${libdir} -lopusfile
Cflags: -I${includedir}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment