From 4ca5affe87d9c4fca33efefc00f14bedfe3e29b1 Mon Sep 17 00:00:00 2001 From: "Marty E. Plummer" Date: Thu, 22 Mar 2018 08:14:10 -0500 Subject: 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 --- .../flite/files/flite-1.4-audio-interface.patch | 4 ++-- .../flite/files/flite-1.4-ldflags.patch | 9 ++++----- app-accessibility/flite/flite-1.4-r4.ebuild | 23 +++++++++++++--------- 3 files changed, 20 insertions(+), 16 deletions(-) (limited to 'app-accessibility') diff --git a/app-accessibility/flite/files/flite-1.4-audio-interface.patch b/app-accessibility/flite/files/flite-1.4-audio-interface.patch index bc8d25b89bc3..d50428edd5af 100644 --- a/app-accessibility/flite/files/flite-1.4-audio-interface.patch +++ b/app-accessibility/flite/files/flite-1.4-audio-interface.patch @@ -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 ) diff --git a/app-accessibility/flite/files/flite-1.4-ldflags.patch b/app-accessibility/flite/files/flite-1.4-ldflags.patch index f9295fb853b7..fd8f49059e76 100644 --- a/app-accessibility/flite/files/flite-1.4-ldflags.patch +++ b/app-accessibility/flite/files/flite-1.4-ldflags.patch @@ -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 diff --git a/app-accessibility/flite/flite-1.4-r4.ebuild b/app-accessibility/flite/flite-1.4-r4.ebuild index 536b8f83eea6..54ce1000b6a8 100644 --- a/app-accessibility/flite/flite-1.4-r4.ebuild +++ b/app-accessibility/flite/flite-1.4-r4.ebuild @@ -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 } -- cgit v1.2.3-65-gdbad