app-accessibility/sphinxbase: Remove last-rited pkg

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2020-09-02 10:04:25 +02:00
parent 814099f6c2
commit 7346fbcbd7
6 changed files with 0 additions and 208 deletions
-1
View File
@@ -1 +0,0 @@
DIST sphinxbase-0.8.tar.gz 3313197 BLAKE2B ec2dcd232194d32d851924099ffb64fa9da6bdccb973fe1311d2b4b0506073cfd35b548ba8d8f64c2ee757f3b5ba87ae23c95d0f67c95be1110b7e2a995c9be2 SHA512 fdb13c07e591e868c395d5f8209ec389fb9d5a93d99104a00cb82382e84d320091ae7e74d53225706331d4959ab5e248fa622582a148bfdb6ab5c38470d1963c
@@ -1,25 +0,0 @@
diff -Naur sphinxbase-0.8/test/regression/Makefile.am sphinxbase-0.8.new/test/regression/Makefile.am
--- sphinxbase-0.8/test/regression/Makefile.am 2012-12-05 06:05:39.000000000 -0800
+++ sphinxbase-0.8.new/test/regression/Makefile.am 2013-10-08 13:05:15.498853962 -0700
@@ -33,9 +33,19 @@
# Disable sphinx_fe tests for now if fixed-point due to imprecision
if FIXED_POINT
-TESTS = $(srcdir)/test-cepview.sh $(srcdir)/test-sphinx_pitch.sh
+TESTS = test-cepview.sh test-sphinx_pitch.sh
else
-TESTS = $(srcdir)/test-*.sh
+TESTS = \
+ test-cepview.sh \
+ test-sphinx_fe-ctl.sh \
+ test-sphinx_fe-dct.sh \
+ test-sphinx_fe-dither-seed.sh \
+ test-sphinx_fe-logspec2cep.sh \
+ test-sphinx_fe-logspec.sh \
+ test-sphinx_fe.sh \
+ test-sphinx_fe-smoothspec.sh \
+ test-sphinx_jsgf2fsg.sh \
+ test-sphinx_pitch.sh
endif
EXTRA_DIST += $(TESTS)
@@ -1,85 +0,0 @@
configure.in | 40 +++++++++++++++++++++-------------------
src/libsphinxbase/Makefile.am | 1 +
2 files changed, 22 insertions(+), 19 deletions(-)
diff --git a/configure.in b/configure.in
index e10629c..b5d6ea9 100644
--- a/configure.in
+++ b/configure.in
@@ -62,13 +62,15 @@ if test x$withval = xno; then
use_lapack=false
fi
])
-if test x$use_lapack = xtrue; then
- AC_CHECK_LIB(lapack, sgesv_,,use_internal_lapack=true)
- if test x$use_internal_lapack != xtrue; then
- AC_CHECK_LIB(blas, sgemm_,,use_internal_lapack=true)
- fi
+AS_IF([test "x$with_lapack" = "xyes"], [
+ PKG_CHECK_MODULES([LAPACK], [lapack],,
+ AC_CHECK_LIB(lapack, sgesv_,,use_internal_lapack=true))
+ AS_IF([test "x$use_internal_lapack" != "xtrue"], [
+ PKG_CHECK_MODULES([BLAS], [blas],,
+ AC_CHECK_LIB(blas, sgemm_,,use_internal_lapack=true))
+ ])
AC_DEFINE(WITH_LAPACK, [], [Enable matrix algebra with LAPACK])
-fi
+])
AM_CONDITIONAL(LAPACK_LITE, test x$use_internal_lapack = xtrue)
AM_CONDITIONAL(USE_LAPACK, test x$use_lapack = xtrue)
@@ -208,9 +210,15 @@ AM_PROG_LIBTOOL
dnl
dnl Check for Doxygen, and build dox if present
dnl
-AC_CHECK_PROG(HAVE_DOXYGEN, doxygen, yes, no)
+AC_ARG_ENABLE([doc],
+ AS_HELP_STRING([--enable-doc], [Build docs using doxygen]))
+AS_IF([test "x$enable_doc" = "xyes"], [
+ AC_CHECK_PROG(HAVE_DOXYGEN, doxygen, yes, no)
+ AS_IF([test "x$HAVE_DOXYGEN" != "xyes"], [
+ AC_MSG_ERROR([--enable-doc given, but doxygen not found.]); exit 1
+ ])
+])
AM_CONDITIONAL(BUILD_DOXYGEN, test "x$HAVE_DOXYGEN" = "xyes")
-
dnl
dnl Check for Python, and build python module if present
dnl
@@ -260,19 +268,13 @@ fi
AM_CONDITIONAL(BUILD_CYTHON, test "x$HAVE_CYTHON" = "xyes")
dnl
-dnl Check for pkgconfig
-dnl
-AC_CHECK_PROG(HAVE_PKGCONFIG, pkg-config, yes, no)
-
-dnl
dnl Check for libsndfile
dnl
-if test "x$HAVE_PKGCONFIG" = "xyes"; then
- PKG_CHECK_MODULES(SNDFILE,sndfile,,true)
- AC_CHECK_HEADERS([sndfile.h])
- PKG_CHECK_MODULES(SAMPLERATE,samplerate,,true)
- AC_CHECK_HEADERS([samplerate.h])
-fi
+PKG_CHECK_MODULES(SNDFILE,sndfile,,true)
+AC_CHECK_HEADERS([sndfile.h])
+PKG_CHECK_MODULES(SAMPLERATE,samplerate,,true)
+AC_CHECK_HEADERS([samplerate.h])
+
AC_SUBST(SNDFILE_LIBS)
AC_SUBST(SNDFILE_CFLAGS)
AC_SUBST(SAMPLERATE_LIBS)
diff --git a/src/libsphinxbase/Makefile.am b/src/libsphinxbase/Makefile.am
index 52ee3e1..f4efd8a 100644
--- a/src/libsphinxbase/Makefile.am
+++ b/src/libsphinxbase/Makefile.am
@@ -8,6 +8,7 @@ libsphinxbase_la_SOURCES =
# This is API version 2, software release 1, which also supports API version 1
libsphinxbase_la_LDFLAGS = -version-info 2:1:1
libsphinxbase_la_LIBADD = $(LTLIBICONV) \
+ @LAPACK_LIBS@ \
util/libsphinxutil.la \
fe/libsphinxfe.la \
feat/libsphinxfeat.la \
-11
View File
@@ -1,11 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="project">
<email>accessibility@gentoo.org</email>
<name>Gentoo Accessibility Project</name>
</maintainer>
<upstream>
<remote-id type="sourceforge">cmusphinx</remote-id>
</upstream>
</pkgmetadata>
@@ -1,79 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python2_7 )
DISTUTILS_OPTIONAL=1
AUTOTOOLS_AUTORECONF=1
inherit autotools-utils distutils-r1
DESCRIPTION="Support library required by the Sphinx Speech Recognition Engine"
HOMEPAGE="http://cmusphinx.sourceforge.net/"
SRC_URI="mirror://sourceforge/cmusphinx/${P}.tar.gz"
LICENSE="BSD-2 HPND MIT"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="doc lapack python static-libs"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
# automagic dep on pulseaudio
RDEPEND="
media-sound/pulseaudio
lapack? ( virtual/lapack )
python? ( ${PYTHON_DEPS} )"
DEPEND="${RDEPEND}
doc? ( >=app-doc/doxygen-1.4.7 )"
# Due to generated Python setup.py.
AUTOTOOLS_IN_SOURCE_BUILD=1
PATCHES=(
"${FILESDIR}"/${P}-unbundle-lapack.patch
"${FILESDIR}"/${P}-automake113.patch
)
src_configure() {
local myeconfargs=(
$(use_with lapack)
$(use_enable doc)
# python modules are built through distutils
# so disable the ugly wrapper
--without-python
)
autotools-utils_src_configure
}
run_distutils() {
if use python; then
pushd python > /dev/null || die
distutils-r1_"${@}"
popd > /dev/null || die
fi
}
src_compile() {
autotools-utils_src_compile
run_distutils ${FUNCNAME}
}
python_test() {
LD_LIBRARY_PATH="${S}"/src/lib${PN}/.libs \
"${PYTHON}" sb_test.py || die "Tests fail with ${EPYTHON}"
}
src_test() {
autotools-utils_src_test
run_distutils ${FUNCNAME}
}
src_install() {
run_distutils ${FUNCNAME}
use doc && local HTML_DOCS=( doc/html/. )
autotools-utils_src_install
}
-7
View File
@@ -725,13 +725,6 @@ dev-python/cloudlib
app-arch/cfv
app-arch/ipkg-utils
# Aaron Bauman <bman@gentoo.org> (2020-08-01)
# Py2 only. Dead upstream.
# Removal in 30 days
# Bug #568602,#340164,#560840,#716420,#560254
# #476424,#643982
app-accessibility/sphinxbase
# Aaron Bauman <bman@gentoo.org> (2020-08-01)
# Py2 only. Last upstream release 2013.
# Removal in 30 days. Last 2 have deps on cddb.