Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Opusfile
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Xiph.Org
Opusfile
Commits
02b82ebb
Commit
02b82ebb
authored
12 years ago
by
Timothy B. Terriberry
Browse files
Options
Downloads
Patches
Plain Diff
Add pkg-config files.
parent
8e6d4a76
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
Makefile.am
+11
-1
11 additions, 1 deletion
Makefile.am
configure.ac
+5
-1
5 additions, 1 deletion
configure.ac
opusfile-uninstalled.pc.in
+14
-0
14 additions, 0 deletions
opusfile-uninstalled.pc.in
opusfile.pc.in
+14
-0
14 additions, 0 deletions
opusfile.pc.in
with
44 additions
and
2 deletions
Makefile.am
+
11
−
1
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
...
...
This diff is collapsed.
Click to expand it.
configure.ac
+
5
−
1
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
])
...
...
This diff is collapsed.
Click to expand it.
opusfile-uninstalled.pc.in
0 → 100644
+
14
−
0
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}
This diff is collapsed.
Click to expand it.
opusfile.pc.in
0 → 100644
+
14
−
0
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}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment