1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-10-11 00:53:46 +02:00

Cleanup lib-src

Removing:

id3lib
libresample
libsamplerate
taglib
This commit is contained in:
Leland Lucius
2015-04-16 14:41:41 -05:00
parent 94fcb2a922
commit a03d65ef4d
521 changed files with 347 additions and 523410 deletions

View File

@@ -1,50 +0,0 @@
dnl Add Audacity license?
dnl Please increment the serial number below whenever you alter this macro
dnl for the benefit of automatic macro update systems
# audacity_checklib_libresample.m4 serial 3
AC_DEFUN([AUDACITY_CHECKLIB_LIBRESAMPLE], [
AC_ARG_WITH(libresample,
[AS_HELP_STRING([--with-libresample],
[use libresample for sample rate conversion])],
LIBRESAMPLE_ARGUMENT=$withval,
LIBRESAMPLE_ARGUMENT="unspecified")
dnl see if libresample is installed on the system
dnl ... but libresample isn't generally installed as a system library...
LIBRESAMPLE_SYSTEM_AVAILABLE="no"
dnl see if libresample is available locally
AC_CHECK_FILE(${srcdir}/lib-src/libresample/include/libresample.h,
LIBRESAMPLE_LOCAL_AVAILABLE="yes",
LIBRESAMPLE_LOCAL_AVAILABLE="no")
if test "$LIBRESAMPLE_LOCAL_AVAILABLE" = "yes"; then
AC_MSG_NOTICE([libresample libraries are available in the local tree])
else
AC_MSG_NOTICE([libresample libraries are NOT available in the local tree])
fi
])
AC_DEFUN([AUDACITY_CONFIG_LIBRESAMPLE], [
if test "$LIBRESAMPLE_USE_LOCAL" = yes; then
LIBRESAMPLE_CFLAGS='-I$(top_srcdir)/lib-src/libresample/include'
LIBRESAMPLE_LIBS='$(top_builddir)/lib-src/libresample/libresample.a'
AC_CONFIG_SUBDIRS([lib-src/libresample])
fi
AC_SUBST([LIBRESAMPLE_CFLAGS])
AC_SUBST([LIBRESAMPLE_LIBS])
AM_CONDITIONAL([USE_LIBRESAMPLE], [test "$LIBRESAMPLE_USE_LOCAL" = yes -o "$LIBRESAMPLE_USE_SYSTEM" = yes])
AM_CONDITIONAL([USE_LOCAL_LIBRESAMPLE], [test "$LIBRESAMPLE_USE_LOCAL" = yes])
if test "$LIBRESAMPLE_USE_LOCAL" = yes -o "$LIBRESAMPLE_USE_SYSTEM" = yes; then
AC_DEFINE(USE_LIBRESAMPLE, 1,
[Define if libresample support should be enabled])
fi
])

View File

@@ -1,57 +0,0 @@
dnl Add Audacity / libsamplerate license?
dnl Please increment the serial number below whenever you alter this macro
dnl for the benefit of automatic macro update systems
# audacity_checklib_libsamplerate.m4 serial 4
AC_DEFUN([AUDACITY_CHECKLIB_LIBSAMPLERATE], [
AC_ARG_WITH(libsamplerate,
[AS_HELP_STRING([--with-libsamplerate],
[use libsamplerate for sample rate conversion])],
LIBSAMPLERATE_ARGUMENT=$withval,
LIBSAMPLERATE_ARGUMENT="unspecified")
dnl see if libsamplerate is installed on the system
PKG_CHECK_MODULES(LIBSAMPLERATE_SYSTEM, samplerate >= 0.1.2,
LIBSAMPLERATE_SYSTEM_AVAILABLE="yes",
LIBSAMPLERATE_SYSTEM_AVAILABLE="no")
dnl the unusual choice of prefix above avoids having to re-assign the variables
dnl generates by PKG_CHECK_MODULES, which will be LIBSAMPLERATE_SYSTEML_LIBS and
dnl so on.
if test "$LIBSAMPLERATE_SYSTEM_AVAILABLE" = "yes" ; then
AC_MSG_NOTICE([Libsamplerate libraries are available as system libraries])
else
AC_MSG_NOTICE([Libsamplerate libraries are NOT available as system libraries])
fi
dnl see if libsamplerate is available in the local tree
AC_CHECK_FILE(${srcdir}/lib-src/libsamplerate/src/samplerate.h,
LIBSAMPLERATE_LOCAL_AVAILABLE="yes",
LIBSAMPLERATE_LOCAL_AVAILABLE="no")
if test "$LIBSAMPLERATE_LOCAL_AVAILABLE" = "yes" ; then
AC_MSG_NOTICE([libsamplerate libraries are available in the local tree])
else
AC_MSG_NOTICE([libsamplerate libraries are NOT available in the local tree])
fi
])
AC_DEFUN([AUDACITY_CONFIG_LIBSAMPLERATE], [
if test "$LIBSAMPLERATE_USE_LOCAL" = yes; then
SAMPLERATE_CFLAGS='-I$(top_srcdir)/lib-src/libsamplerate/src'
SAMPLERATE_LIBS='$(top_builddir)/lib-src/libsamplerate/libsamplerate.a'
AC_CONFIG_SUBDIRS([lib-src/libsamplerate])
fi
AC_SUBST([SAMPLERATE_CFLAGS])
AC_SUBST([SAMPLERATE_LIBS])
AM_CONDITIONAL([USE_LIBSAMPLERATE], [test "$LIBSAMPLERATE_USE_LOCAL" = yes -o "$LIBSAMPLERATE_USE_SYSTEM" = yes])
AM_CONDITIONAL([USE_LOCAL_LIBSAMPLERATE], [test "$LIBSAMPLERATE_USE_LOCAL" = yes])
if test "$LIBSAMPLERATE_USE_LOCAL" = yes -o "$LIBSAMPLERATE_USE_SYSTEM" = yes; then
AC_DEFINE(USE_LIBSAMPLERATE, 1,
[Define if libsamplerate support should be enabled])
fi
])

View File

@@ -6,7 +6,7 @@ dnl for the benefit of automatic macro update systems
AC_DEFUN([AUDACITY_CHECKLIB_LIBSOXR], [
AC_ARG_WITH(libsoxr,
[AS_HELP_STRING([--with-libsoxr],
[use libsoxr for sample rate conversion])],
[use libsoxr for sample rate conversion (required): [system,local]])],
LIBSOXR_ARGUMENT=$withval,
LIBSOXR_ARGUMENT="unspecified")
@@ -49,11 +49,5 @@ AC_DEFUN([AUDACITY_CONFIG_LIBSOXR], [
AC_SUBST([SOXR_CFLAGS])
AC_SUBST([SOXR_LIBS])
AM_CONDITIONAL([USE_LIBSOXR], [test "$LIBSOXR_USE_LOCAL" = yes -o "$LIBSOXR_USE_SYSTEM" = yes])
AM_CONDITIONAL([USE_LOCAL_LIBSOXR], [test "$LIBSOXR_USE_LOCAL" = yes])
if test "$LIBSOXR_USE_LOCAL" = yes -o "$LIBSOXR_USE_SYSTEM" = yes; then
AC_DEFINE(USE_LIBSOXR, 1,
[Define if libsoxr support should be enabled])
fi
])

View File

@@ -1,55 +0,0 @@
dnl add Audacity / TagLib license ?
dnl Please increment the serial number below whenever you alter this macro
dnl for the benefit of automatic macro update systems
# audacity_checklib_taglib.m4 serial 2
AC_DEFUN([AUDACITY_CHECKLIB_TAGLIB], [
AC_ARG_WITH([taglib],
[AS_HELP_STRING([--with-taglib],
[use TagLib for metadata support ])],
TAGLIB_ARGUMENT=$withval,
TAGLIB_ARGUMENT="unspecified")
dnl Check for a system copy of TagLib to use
PKG_CHECK_MODULES([TAGLIB], [taglib >= 1.5],
[TAGLIB_SYSTEM_AVAILABLE="yes"],
[TAGLIB_SYSTEM_AVAILABLE="no"])
if test "$TAGLIB_SYSTEM_AVAILABLE" = "yes"; then
AC_MSG_NOTICE([TagLib library available as system library])
else
AC_MSG_NOTICE([TagLib library NOT available as system library])
fi
dnl see if TagLib is available locally
AC_CHECK_FILE([${srcdir}/lib-src/taglib/taglib/tag.h],
[TAGLIB_LOCAL_AVAILABLE="yes"],
[TAGLIB_LOCAL_AVAILABLE="no"])
if test "$TAGLIB_LOCAL_AVAILABLE" = "yes"; then
AC_MSG_NOTICE([TagLib library is available in the local tree])
else
AC_MSG_NOTICE([TagLib library is NOT available in the local tree])
fi
])
AC_DEFUN([AUDACITY_CONFIG_TAGLIB], [
if test "$TAGLIB_USE_LOCAL" = yes; then
TAGLIB_CFLAGS='-I$(top_srcdir)/lib-src/taglib/taglib'
TAGLIB_LIBS='$(top_builddir)/lib-src/taglib/taglib/.libs/libtag.a'
AC_CONFIG_SUBDIRS([lib-src/taglib])
fi
AC_SUBST([TAGLIB_CFLAGS])
AC_SUBST([TAGLIB_LIBS])
AM_CONDITIONAL([USE_TAGLIB], [test "$TAGLIB_USE_LOCAL" = yes -o "$TAGLIB_USE_SYSTEM" = yes])
AM_CONDITIONAL([USE_LOCAL_TAGLIB], [test "$TAGLIB_USE_LOCAL" = yes])
if test "$TAGLIB_USE_LOCAL" = yes -o "$TAGLIB_USE_SYSTEM" = yes; then
AC_DEFINE(USE_TAGLIB, 1,
[Define if TagLib (metadata export) support should be enabled])
fi
])