summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarty E. Plummer <hanetzer@startmail.com>2018-03-22 08:27:15 -0500
committerAaron Bauman <bman@gentoo.org>2018-03-26 16:19:46 -0400
commitd6ba21c23c6d5fd742a9962919e5af62aa643ee7 (patch)
treec8e557f784080191b26aed6244612acf6b87e623 /app-accessibility/julius
parentapp-accessibility/flite: EAPI bump and patch updates (diff)
downloadgentoo-d6ba21c23c6d5fd742a9962919e5af62aa643ee7.tar.gz
gentoo-d6ba21c23c6d5fd742a9962919e5af62aa643ee7.tar.bz2
gentoo-d6ba21c23c6d5fd742a9962919e5af62aa643ee7.zip
app-accessibility/julius: EAPI bump and patch updates
Bump EAPI to 6 and clean up the patches a bit. turn the LINGUAS check into a proper l10n_ja USE check. Package-Manager: Portage-2.3.24, Repoman-2.3.6 Closes: https://github.com/gentoo/gentoo/pull/7587
Diffstat (limited to 'app-accessibility/julius')
-rw-r--r--app-accessibility/julius/files/julius-4.2.2-install.patch88
-rw-r--r--app-accessibility/julius/files/julius-4.2.2-ldflags.patch4
-rw-r--r--app-accessibility/julius/julius-4.2.2.ebuild20
3 files changed, 56 insertions, 56 deletions
diff --git a/app-accessibility/julius/files/julius-4.2.2-install.patch b/app-accessibility/julius/files/julius-4.2.2-install.patch
index d40b6c69fdcc..e8260d9ef0c6 100644
--- a/app-accessibility/julius/files/julius-4.2.2-install.patch
+++ b/app-accessibility/julius/files/julius-4.2.2-install.patch
@@ -2,8 +2,8 @@ From: Julian Ospald <hasufell@gentoo.org>
Date: Sun Mar 31 20:38:49 UTC 2013
Subject: respect DESTDIR
---- julius-4.2.2/libsent/Makefile.in
-+++ julius-4.2.2/libsent/Makefile.in
+--- a/libsent/Makefile.in
++++ b/libsent/Makefile.in
@@ -144,16 +144,16 @@
install: install.lib install.include install.bin
@@ -27,8 +27,8 @@ Subject: respect DESTDIR
clean:
$(RM) *~ src/*/*~ src/*/*.o src/*/*/*.o src/*/*/*/*.o src/*/*/*/*/*.o include/sent/*~
---- julius-4.2.2/libjulius/Makefile.in
-+++ julius-4.2.2/libjulius/Makefile.in
+--- a/libjulius/Makefile.in
++++ b/libjulius/Makefile.in
@@ -90,16 +90,16 @@
install: install.lib install.include install.bin
@@ -52,8 +52,8 @@ Subject: respect DESTDIR
depend:
makedepend -- $(CFLAGS) -- $(OBJSENT)
---- julius-4.2.2/julius/Makefile.in
-+++ julius-4.2.2/julius/Makefile.in
+--- a/julius/Makefile.in
++++ b/julius/Makefile.in
@@ -61,8 +61,8 @@
install: install.bin
@@ -65,8 +65,8 @@ Subject: respect DESTDIR
depend:
makedepend -- $(CFLAGS) -- $(OBJSENT)
---- julius-4.2.2/mkbingram/Makefile.in
-+++ julius-4.2.2/mkbingram/Makefile.in
+--- a/mkbingram/Makefile.in
++++ b/mkbingram/Makefile.in
@@ -32,8 +32,8 @@
install: install.bin
@@ -78,8 +78,8 @@ Subject: respect DESTDIR
clean:
$(RM) $(OBJ)
---- julius-4.2.2/mkbinhmm/Makefile.in
-+++ julius-4.2.2/mkbinhmm/Makefile.in
+--- a/mkbinhmm/Makefile.in
++++ b/mkbinhmm/Makefile.in
@@ -32,8 +32,8 @@
install: install.bin
@@ -91,8 +91,8 @@ Subject: respect DESTDIR
clean:
$(RM) mkbinhmm.o mkbinhmmlist.o
---- julius-4.2.2/adinrec/Makefile.in
-+++ julius-4.2.2/adinrec/Makefile.in
+--- a/adinrec/Makefile.in
++++ b/adinrec/Makefile.in
@@ -36,8 +36,8 @@
install: install.bin
@@ -104,8 +104,8 @@ Subject: respect DESTDIR
############################################################
---- julius-4.2.2/adintool/Makefile.in
-+++ julius-4.2.2/adintool/Makefile.in
+--- a/adintool/Makefile.in
++++ b/adintool/Makefile.in
@@ -36,8 +36,8 @@
install: install.bin
@@ -117,8 +117,8 @@ Subject: respect DESTDIR
############################################################
---- julius-4.2.2/mkgshmm/Makefile.in
-+++ julius-4.2.2/mkgshmm/Makefile.in
+--- a/mkgshmm/Makefile.in
++++ b/mkgshmm/Makefile.in
@@ -23,8 +23,8 @@
install: install.bin
@@ -130,8 +130,8 @@ Subject: respect DESTDIR
############################################################
---- julius-4.2.2/mkss/Makefile.in
-+++ julius-4.2.2/mkss/Makefile.in
+--- a/mkss/Makefile.in
++++ b/mkss/Makefile.in
@@ -36,8 +36,8 @@
install: install.bin
@@ -143,8 +143,8 @@ Subject: respect DESTDIR
############################################################
---- julius-4.2.2/jcontrol/Makefile.in
-+++ julius-4.2.2/jcontrol/Makefile.in
+--- a/jcontrol/Makefile.in
++++ b/jcontrol/Makefile.in
@@ -31,19 +31,19 @@
install: install.bin
@@ -169,8 +169,8 @@ Subject: respect DESTDIR
+ $(RM) $(TARGET) $(TARGET).exe jucontrol
$(RM) config.status
$(RM) Makefile
---- julius-4.2.2/gramtools/accept_check/Makefile.in
-+++ julius-4.2.2/gramtools/accept_check/Makefile.in
+--- a/gramtools/accept_check/Makefile.in
++++ b/gramtools/accept_check/Makefile.in
@@ -36,8 +36,8 @@
install: install.bin
@@ -182,8 +182,8 @@ Subject: respect DESTDIR
############################################################
---- julius-4.2.2/gramtools/dfa_determinize/Makefile.in
-+++ julius-4.2.2/gramtools/dfa_determinize/Makefile.in
+--- a/gramtools/dfa_determinize/Makefile.in
++++ b/gramtools/dfa_determinize/Makefile.in
@@ -35,8 +35,8 @@
install: install.bin
@@ -195,8 +195,8 @@ Subject: respect DESTDIR
############################################################
---- julius-4.2.2/gramtools/dfa_minimize/Makefile.in
-+++ julius-4.2.2/gramtools/dfa_minimize/Makefile.in
+--- a/gramtools/dfa_minimize/Makefile.in
++++ b/gramtools/dfa_minimize/Makefile.in
@@ -34,8 +34,8 @@
install: install.bin
@@ -208,8 +208,8 @@ Subject: respect DESTDIR
############################################################
---- julius-4.2.2/gramtools/generate/Makefile.in
-+++ julius-4.2.2/gramtools/generate/Makefile.in
+--- a/gramtools/generate/Makefile.in
++++ b/gramtools/generate/Makefile.in
@@ -35,8 +35,8 @@
install: install.bin
@@ -221,8 +221,8 @@ Subject: respect DESTDIR
############################################################
---- julius-4.2.2/gramtools/gram2sapixml/Makefile.in
-+++ julius-4.2.2/gramtools/gram2sapixml/Makefile.in
+--- a/gramtools/gram2sapixml/Makefile.in
++++ b/gramtools/gram2sapixml/Makefile.in
@@ -17,8 +17,8 @@
install: install.bin
@@ -234,8 +234,8 @@ Subject: respect DESTDIR
clean:
echo nothing to do
---- julius-4.2.2/gramtools/mkdfa/Makefile.in
-+++ julius-4.2.2/gramtools/mkdfa/Makefile.in
+--- a/gramtools/mkdfa/Makefile.in
++++ b/gramtools/mkdfa/Makefile.in
@@ -18,13 +18,13 @@
install:
@@ -254,8 +254,8 @@ Subject: respect DESTDIR
clean:
(cd $(SUBDIR); $(MAKE) clean)
---- julius-4.2.2/gramtools/mkdfa/mkfa-1.44-flex/Makefile.in
-+++ julius-4.2.2/gramtools/mkdfa/mkfa-1.44-flex/Makefile.in
+--- a/gramtools/mkdfa/mkfa-1.44-flex/Makefile.in
++++ b/gramtools/mkdfa/mkfa-1.44-flex/Makefile.in
@@ -43,8 +43,8 @@
install: install.bin
@@ -267,8 +267,8 @@ Subject: respect DESTDIR
clean:
$(RM) *.o *~ core
---- julius-4.2.2/gramtools/nextword/Makefile.in
-+++ julius-4.2.2/gramtools/nextword/Makefile.in
+--- a/gramtools/nextword/Makefile.in
++++ b/gramtools/nextword/Makefile.in
@@ -36,8 +36,8 @@
install: install.bin
@@ -280,8 +280,8 @@ Subject: respect DESTDIR
############################################################
---- julius-4.2.2/gramtools/yomi2voca/Makefile.in
-+++ julius-4.2.2/gramtools/yomi2voca/Makefile.in
+--- a/gramtools/yomi2voca/Makefile.in
++++ b/gramtools/yomi2voca/Makefile.in
@@ -17,8 +17,8 @@
install: install.bin
@@ -293,8 +293,8 @@ Subject: respect DESTDIR
clean:
echo nothing to do
---- julius-4.2.2/generate-ngram/Makefile.in
-+++ julius-4.2.2/generate-ngram/Makefile.in
+--- a/generate-ngram/Makefile.in
++++ b/generate-ngram/Makefile.in
@@ -33,8 +33,8 @@
install: install.bin
@@ -306,8 +306,8 @@ Subject: respect DESTDIR
clean:
$(RM) $(OBJ) *~ core
---- julius-4.2.2/jclient-perl/Makefile.in
-+++ julius-4.2.2/jclient-perl/Makefile.in
+--- a/jclient-perl/Makefile.in
++++ b/jclient-perl/Makefile.in
@@ -17,8 +17,8 @@
install: install.bin
@@ -319,8 +319,8 @@ Subject: respect DESTDIR
clean:
echo nothing to do
---- julius-4.2.2/man/Makefile.in
-+++ julius-4.2.2/man/Makefile.in
+--- a/man/Makefile.in
++++ b/man/Makefile.in
@@ -19,16 +19,16 @@
install: install.man install.man.ja
diff --git a/app-accessibility/julius/files/julius-4.2.2-ldflags.patch b/app-accessibility/julius/files/julius-4.2.2-ldflags.patch
index a5c3645a52f1..716b7bbfb021 100644
--- a/app-accessibility/julius/files/julius-4.2.2-ldflags.patch
+++ b/app-accessibility/julius/files/julius-4.2.2-ldflags.patch
@@ -1,5 +1,5 @@
---- julius-4.2.2/jcontrol/Makefile.in
-+++ julius-4.2.2/jcontrol/Makefile.in
+--- a/jcontrol/Makefile.in
++++ b/jcontrol/Makefile.in
@@ -14,7 +14,7 @@
CC=@CC@
CFLAGS=@CFLAGS@
diff --git a/app-accessibility/julius/julius-4.2.2.ebuild b/app-accessibility/julius/julius-4.2.2.ebuild
index 7cf68ebb5a72..6c41e4be6171 100644
--- a/app-accessibility/julius/julius-4.2.2.ebuild
+++ b/app-accessibility/julius/julius-4.2.2.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2013 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-EAPI=5
+EAPI=6
-inherit eutils toolchain-funcs
+inherit toolchain-funcs
DESCRIPTION="Large Vocabulary Continuous Speech Recognition Engine"
HOMEPAGE="http://julius.sourceforge.jp/"
@@ -12,7 +12,7 @@ SRC_URI="mirror://sourceforge.jp/julius/56549/${P}.tar.gz"
LICENSE="julius"
SLOT="0"
KEYWORDS="amd64 x86"
-IUSE="+alsa oss portaudio pulseaudio sndfile"
+IUSE="+alsa l10n_ja oss portaudio pulseaudio sndfile"
REQUIRED_USE="^^ ( alsa oss portaudio pulseaudio )"
RDEPEND="
@@ -27,15 +27,15 @@ RDEPEND="
DEPEND="${RDEPEND}
sys-devel/flex"
+PATCHES=(
+ "${FILESDIR}"/${PN}-4.2.2-install.patch
+ "${FILESDIR}"/${PN}-4.2.2-ldflags.patch
+)
+
pkg_setup() {
tc-export CC CXX
}
-src_prepare() {
- epatch "${FILESDIR}"/${P}-install.patch \
- "${FILESDIR}"/${P}-ldflags.patch
-}
-
src_configure() {
local mymic i
for i in alsa oss portaudio pulseaudio ; do
@@ -49,7 +49,7 @@ src_configure() {
src_install() {
default
- if ! has ja ${LINGUAS} ; then
+ if ! use l10n_ja ; then
rm -r "${ED}"/usr/share/man/ja || die
fi
}