mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-23 11:17:21 -08:00
app-accessibility/flite: EAPI bump and patch updates
Bump EAPI to 6 and cleanup the patches a bit Package-Manager: Portage-2.3.24, Repoman-2.3.6 Closes: https://github.com/gentoo/gentoo/pull/7588
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
--- configure.in 2009-08-15 06:46:38.000000000 +1000
|
||||
+++ configure.in 2011-08-30 00:53:26.000000000 +1000
|
||||
--- a/configure.in
|
||||
+++ b/configure.in
|
||||
@@ -304,7 +304,6 @@
|
||||
[ --with-audio with specific audio support (none linux freebsd etc) ],
|
||||
AUDIODRIVER=$with_audio )
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
diff -Naur flite-1.4-release/config/common_make_rules flite-1.4-release.new/config/common_make_rules
|
||||
--- flite-1.4-release/config/common_make_rules 2009-07-30 14:52:56.000000000 +0000
|
||||
+++ flite-1.4-release.new/config/common_make_rules 2011-03-26 20:22:59.000000000 +0000
|
||||
--- a/config/common_make_rules
|
||||
+++ b/config/common_make_rules
|
||||
@@ -68,7 +68,7 @@
|
||||
|
||||
FLITELIBS = $(BUILDDIR)/lib/libflite.a
|
||||
@@ -19,8 +18,8 @@ diff -Naur flite-1.4-release/config/common_make_rules flite-1.4-release.new/conf
|
||||
@ (cd $(LIBDIR) && ln -s `basename $@.${PROJECT_VERSION}` `basename $@.${PROJECT_SHLIB_VERSION}` )
|
||||
@ (cd $(LIBDIR) && ln -s `basename $@.${PROJECT_SHLIB_VERSION}` `basename $@` )
|
||||
@ rm -rf shared_os
|
||||
--- flite-1.4-release/tools/Makefile~ 2009-08-22 20:19:01.000000000 +0100
|
||||
+++ flite-1.4-release.new/tools/Makefile 2013-01-20 20:06:34.259527220 +0000
|
||||
--- a/tools/Makefile
|
||||
+++ b/tools/Makefile
|
||||
@@ -62,9 +62,9 @@
|
||||
LOCAL_CLEAN = $(BINDIR)/find_sts $(BINDIR)/flite_sort
|
||||
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
inherit autotools eutils multilib-minimal
|
||||
EAPI=6
|
||||
inherit autotools multilib-minimal
|
||||
|
||||
DESCRIPTION="Flite text to speech engine"
|
||||
HOMEPAGE="http://www.speech.cs.cmu.edu/flite/index.html"
|
||||
@@ -18,6 +18,14 @@ RDEPEND="${DEPEND}"
|
||||
|
||||
S=${WORKDIR}/${P}-release
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.4-tempfile.patch
|
||||
"${FILESDIR}"/${PN}-1.4-fix-parallel-builds.patch
|
||||
"${FILESDIR}"/${PN}-1.4-respect-destdir.patch
|
||||
"${FILESDIR}"/${PN}-1.4-ldflags.patch
|
||||
"${FILESDIR}"/${PN}-1.4-audio-interface.patch
|
||||
)
|
||||
|
||||
get_audio() {
|
||||
if use alsa; then
|
||||
echo alsa
|
||||
@@ -29,11 +37,8 @@ get_audio() {
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-tempfile.patch
|
||||
epatch "${FILESDIR}"/${P}-fix-parallel-builds.patch
|
||||
epatch "${FILESDIR}"/${P}-respect-destdir.patch
|
||||
epatch "${FILESDIR}"/${P}-ldflags.patch
|
||||
epatch "${FILESDIR}"/${P}-audio-interface.patch
|
||||
default
|
||||
|
||||
sed -i main/Makefile \
|
||||
-e '/-rpath/s|$(LIBDIR)|$(INSTALLLIBDIR)|g' \
|
||||
|| die
|
||||
@@ -61,7 +66,7 @@ multilib_src_install_all() {
|
||||
dodoc ACKNOWLEDGEMENTS README
|
||||
|
||||
if ! use static-libs; then
|
||||
rm -rf "${D}"/usr/lib*/*.a
|
||||
find "${ED}" -name '*.a' ! -name '*.dll.a' -delete || die
|
||||
fi
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user