diff options
-rw-r--r-- | app-accessibility/julius/ChangeLog | 10 | ||||
-rw-r--r-- | app-accessibility/julius/Manifest | 6 | ||||
-rw-r--r-- | app-accessibility/julius/files/julius-4.2.2-install.patch | 344 | ||||
-rw-r--r-- | app-accessibility/julius/files/julius-4.2.2-ldflags.patch | 11 | ||||
-rw-r--r-- | app-accessibility/julius/julius-4.2.2.ebuild | 63 | ||||
-rw-r--r-- | app-accessibility/julius/metadata.xml | 10 |
6 files changed, 444 insertions, 0 deletions
diff --git a/app-accessibility/julius/ChangeLog b/app-accessibility/julius/ChangeLog new file mode 100644 index 000000000000..257671c03637 --- /dev/null +++ b/app-accessibility/julius/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for app-accessibility/julius +# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/julius/ChangeLog,v 1.1 2013/03/31 22:45:37 hasufell Exp $ + +*julius-4.2.2 (31 Mar 2013) + + 31 Mar 2013; Julian Ospald <hasufell@gentoo.org> +julius-4.2.2.ebuild, + +files/julius-4.2.2-install.patch, +files/julius-4.2.2-ldflags.patch: + initial import wrt #245475 + diff --git a/app-accessibility/julius/Manifest b/app-accessibility/julius/Manifest new file mode 100644 index 000000000000..953cd343f471 --- /dev/null +++ b/app-accessibility/julius/Manifest @@ -0,0 +1,6 @@ +AUX julius-4.2.2-install.patch 9771 SHA256 da5d4516f5a94119ac30befcff186f44b4085a8ea9338ea6224c45748cb25b3b SHA512 a62db36bc07e3e9f54e5cc16877c8a20ab8e3bd4c087819364a189dd6468cdbb761a43439ba353e9f2daf90f4e7facd4622e6eb6f6a5b2a53fe9f283f094c88f WHIRLPOOL c3d4a75b4dd058b8388dbf96e9cd195438eece7f02241c4038b49c45378cd940def30a1e0d43079ef96661434522987de070d42ba8a04cb9f0ebb9f40983ba59 +AUX julius-4.2.2-ldflags.patch 261 SHA256 8723017f48153e145ae39368dabaaeeb665cc7edeaf195c1caacec9b0d95fcd1 SHA512 76158c7beee64247c1b4923f79f3bc608324afdab179a0c8eebab3a77d34ca73911f473498c705ea7601976fbeccb8a22a2e4736d631182c51281069a2e8f461 WHIRLPOOL e5609ba8aa75f059302452aa651bc54aaa3688d2e842d45755eb0d41c359beaee3f64c39ad74b2dcb31a8a73d960a28d6f0e561a59cd07617f001e43db3bf243 +DIST julius-4.2.2.tar.gz 1720888 SHA256 f53caf18be4fb8266b988071855565dccb78c09f00f1d36a8e258b7be6b3cef5 SHA512 c1d6c4016cf326becc2e8945c08cbab9b5acefd0e648b6e35b3078850b1746b5bbdb994fccc66c0adab175fb45fc86c25b8a655047a97c130a2f8e922d3d1c0f WHIRLPOOL 51f25ca9cedafc47239e5645a75ffda3eadc0b4e1053d90bf5c22d366d3557c29e9f496b9d45f1d3c5a5cdc92993710429196a679a29307815cd8e052de6cb99 +EBUILD julius-4.2.2.ebuild 1386 SHA256 1be42698418f5ad70bd09c2e18ca190dea78119aabd5d9702964cd8c8826652e SHA512 221e4f44ef54a3db6be5069cf0688f5c4075704d70b746ea5ccfa0543411e516e5b816320c3ca05c93acee75559e533f0d48f214f2b0248d10782d899a3d1a19 WHIRLPOOL 622b5a95f16ef9d797c1a16b98c57293cba570d48fab19c84c0af72d0f5bb9ba2df67d18ebcca0fc5e86f8017f73f81491823a0681d83b8bb7c6b3fcddd21867 +MISC ChangeLog 329 SHA256 47745aa32005e487cee0463d5d4e618710b04b355aa8a33f3142d9002c87e6e6 SHA512 e9447856e7d8a0e4ea69d273969818a7485e6138fbfa0bc27d26274bbd3e3e81898c1e22cf6e75d2d0b5937c5a088c19ffff11015e60f4ef25fe9a7995c809c8 WHIRLPOOL fee47f044f8963146397477504a1d73b4819c614ca505a7b37aca2830a89c61a25d41a26de2dba886e09a1697f1353ef3fe7f59c5efa3c575646f85fbcc710d6 +MISC metadata.xml 263 SHA256 f1676d836b0e5c99787130cd0d3c4f6be3aafa28271b4455eb27a58d7417a123 SHA512 53c9b64a12771be5ce5e2ad3f4f44661d2c7d973f7c2fc84f1ce0e90b732c00cd1679424f6de9de2d802df5f55e23ca33cf8bfdedd36dd31102dd23cbec7a6d2 WHIRLPOOL fd3643afb779323ddc7bffe03992ddff1ec0ac032faf00279d4f5fae35e763c8b4a9e3919000d66b35e449e8984a882abecf861d7d9c673842874fd08d0931a0 diff --git a/app-accessibility/julius/files/julius-4.2.2-install.patch b/app-accessibility/julius/files/julius-4.2.2-install.patch new file mode 100644 index 000000000000..8bcdaa349b3f --- /dev/null +++ b/app-accessibility/julius/files/julius-4.2.2-install.patch @@ -0,0 +1,344 @@ +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 +@@ -144,16 +144,16 @@ + install: install.lib install.include install.bin + + install.lib: $(TARGET) +- ${INSTALL} -d ${libdir} +- ${INSTALL_DATA} $(TARGET) ${libdir} ++ ${INSTALL} -d $(DESTDIR)/${libdir} ++ ${INSTALL_DATA} $(DESTDIR)/$(TARGET) ${libdir} + + install.include: +- ${INSTALL} -d ${includedir}/sent +- ${INSTALL_DATA} include/sent/*.h ${includedir}/sent ++ ${INSTALL} -d $(DESTDIR)/${includedir}/sent ++ ${INSTALL_DATA} include/sent/*.h $(DESTDIR)/${includedir}/sent + + install.bin: libsent-config-dist +- ${INSTALL} -d ${bindir} +- ${INSTALL_PROGRAM} libsent-config-dist ${bindir}/libsent-config ++ ${INSTALL} -d $(DESTDIR)/${bindir} ++ ${INSTALL_PROGRAM} libsent-config-dist $(DESTDIR)/${bindir}/libsent-config + + 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 +@@ -90,16 +90,16 @@ + install: install.lib install.include install.bin + + install.lib: $(TARGET) +- ${INSTALL} -d ${libdir} +- ${INSTALL_DATA} $(TARGET) ${libdir} ++ ${INSTALL} -d $(DESTDIR)/${libdir} ++ ${INSTALL_DATA} $(TARGET) $(DESTDIR)/${libdir} + + install.include: +- ${INSTALL} -d ${includedir}/julius +- ${INSTALL_DATA} include/julius/*.h ${includedir}/julius ++ ${INSTALL} -d $(DESTDIR)/${includedir}/julius ++ ${INSTALL_DATA} include/julius/*.h $(DESTDIR)/${includedir}/julius + + install.bin: libjulius-config-dist +- ${INSTALL} -d ${bindir} +- ${INSTALL_PROGRAM} libjulius-config-dist ${bindir}/libjulius-config ++ ${INSTALL} -d $(DESTDIR)/${bindir} ++ ${INSTALL_PROGRAM} libjulius-config-dist $(DESTDIR)/${bindir}/libjulius-config + + depend: + makedepend -- $(CFLAGS) -- $(OBJSENT) +--- julius-4.2.2/julius/Makefile.in ++++ julius-4.2.2/julius/Makefile.in +@@ -61,8 +61,8 @@ + install: install.bin + + install.bin: $(TARGET) +- ${INSTALL} -d @bindir@ +- ${INSTALL_PROGRAM} $(TARGET) ${bindir}/${INSTALLTARGET} ++ ${INSTALL} -d $(DESTDIR)/@bindir@ ++ ${INSTALL_PROGRAM} $(TARGET) $(DESTDIR)/${bindir}/${INSTALLTARGET} + + depend: + makedepend -- $(CFLAGS) -- $(OBJSENT) +--- julius-4.2.2/mkbingram/Makefile.in ++++ julius-4.2.2/mkbingram/Makefile.in +@@ -32,8 +32,8 @@ + install: install.bin + + install.bin: $(TARGET) +- ${INSTALL} -d @bindir@ +- @INSTALL_PROGRAM@ $(TARGET) @bindir@ ++ ${INSTALL} -d $(DESTDIR)/@bindir@ ++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@ + + clean: + $(RM) $(OBJ) +--- julius-4.2.2/mkbinhmm/Makefile.in ++++ julius-4.2.2/mkbinhmm/Makefile.in +@@ -32,8 +32,8 @@ + install: install.bin + + install.bin: mkbinhmm@EXEEXT@ mkbinhmmlist@EXEEXT@ +- ${INSTALL} -d @bindir@ +- @INSTALL_PROGRAM@ mkbinhmm@EXEEXT@ mkbinhmmlist@EXEEXT@ @bindir@ ++ ${INSTALL} -d $(DESTDIR)/@bindir@ ++ @INSTALL_PROGRAM@ mkbinhmm@EXEEXT@ mkbinhmmlist@EXEEXT@ $(DESTDIR)/@bindir@ + + clean: + $(RM) mkbinhmm.o mkbinhmmlist.o +--- julius-4.2.2/adinrec/Makefile.in ++++ julius-4.2.2/adinrec/Makefile.in +@@ -36,8 +36,8 @@ + install: install.bin + + install.bin: $(TARGET) +- ${INSTALL} -d @bindir@ +- @INSTALL_PROGRAM@ $(TARGET) @bindir@ ++ ${INSTALL} -d $(DESTDIR)/@bindir@ ++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@ + + ############################################################ + +--- julius-4.2.2/adintool/Makefile.in ++++ julius-4.2.2/adintool/Makefile.in +@@ -36,8 +36,8 @@ + install: install.bin + + install.bin: $(TARGET) +- ${INSTALL} -d @bindir@ +- @INSTALL_PROGRAM@ $(TARGET) @bindir@ ++ ${INSTALL} -d $(DESTDIR)/@bindir@ ++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@ + + ############################################################ + +--- julius-4.2.2/mkgshmm/Makefile.in ++++ julius-4.2.2/mkgshmm/Makefile.in +@@ -23,8 +23,8 @@ + install: install.bin + + install.bin: $(TARGET) +- ${INSTALL} -d @bindir@ +- @INSTALL_PROGRAM@ $(TARGET) @bindir@ ++ ${INSTALL} -d $(DESTDIR)/@bindir@ ++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@ + + ############################################################ + +--- julius-4.2.2/mkss/Makefile.in ++++ julius-4.2.2/mkss/Makefile.in +@@ -36,8 +36,8 @@ + install: install.bin + + install.bin: $(TARGET) +- ${INSTALL} -d @bindir@ +- @INSTALL_PROGRAM@ $(TARGET) @bindir@ ++ ${INSTALL} -d $(DESTDIR)/@bindir@ ++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@ + + ############################################################ + +--- julius-4.2.2/jcontrol/Makefile.in ++++ julius-4.2.2/jcontrol/Makefile.in +@@ -31,19 +31,19 @@ + install: install.bin + + install.bin: $(TARGET) +- ${INSTALL} -d @bindir@ +- @INSTALL_PROGRAM@ $(TARGET) @bindir@ ++ ${INSTALL} -d $(DESTDIR)/@bindir@ ++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@/jucontrol + + clean: + $(RM) $(OBJ) + $(RM) config.log config.cache + $(RM) *~ core +- $(RM) $(TARGET) $(TARGET).exe ++ $(RM) $(TARGET) $(TARGET).exe jucontrol + + distclean: + $(RM) $(OBJ) + $(RM) config.log config.cache + $(RM) *~ core +- $(RM) $(TARGET) $(TARGET).exe ++ $(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 +@@ -36,8 +36,8 @@ + install: install.bin + + install.bin: $(TARGET) +- ${INSTALL} -d @bindir@ +- @INSTALL_PROGRAM@ $(TARGET) @bindir@ ++ ${INSTALL} -d $(DESTDIR)/@bindir@ ++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@ + + ############################################################ + +--- julius-4.2.2/gramtools/dfa_determinize/Makefile.in ++++ julius-4.2.2/gramtools/dfa_determinize/Makefile.in +@@ -35,8 +35,8 @@ + install: install.bin + + install.bin: $(TARGET) +- ${INSTALL} -d @bindir@ +- @INSTALL_PROGRAM@ $(TARGET) @bindir@ ++ ${INSTALL} -d $(DESTDIR)/@bindir@ ++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@ + + ############################################################ + +--- julius-4.2.2/gramtools/dfa_minimize/Makefile.in ++++ julius-4.2.2/gramtools/dfa_minimize/Makefile.in +@@ -34,8 +34,8 @@ + install: install.bin + + install.bin: $(TARGET) +- ${INSTALL} -d @bindir@ +- @INSTALL_PROGRAM@ $(TARGET) @bindir@ ++ ${INSTALL} -d $(DESTDIR)/@bindir@ ++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@ + + ############################################################ + +--- julius-4.2.2/gramtools/generate/Makefile.in ++++ julius-4.2.2/gramtools/generate/Makefile.in +@@ -35,8 +35,8 @@ + install: install.bin + + install.bin: $(TARGET) +- ${INSTALL} -d @bindir@ +- @INSTALL_PROGRAM@ $(TARGET) @bindir@ ++ ${INSTALL} -d $(DESTDIR)/@bindir@ ++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@ + + ############################################################ + +--- julius-4.2.2/gramtools/gram2sapixml/Makefile.in ++++ julius-4.2.2/gramtools/gram2sapixml/Makefile.in +@@ -17,8 +17,8 @@ + install: install.bin + + install.bin: +- ${INSTALL} -d @bindir@ +- @INSTALL_PROGRAM@ $(TARGET) @bindir@ ++ ${INSTALL} -d $(DESTDIR)/@bindir@ ++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@ + + clean: + echo nothing to do +--- julius-4.2.2/gramtools/mkdfa/Makefile.in ++++ julius-4.2.2/gramtools/mkdfa/Makefile.in +@@ -18,13 +18,13 @@ + + install: + (cd $(SUBDIR); $(MAKE) install) +- ${INSTALL} -d @bindir@ +- @INSTALL_PROGRAM@ $(TARGET) @bindir@ ++ ${INSTALL} -d $(DESTDIR)/@bindir@ ++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@ + + install.bin: + (cd $(SUBDIR); $(MAKE) install.bin) +- ${INSTALL} -d @bindir@ +- @INSTALL_PROGRAM@ $(TARGET) @bindir@ ++ ${INSTALL} -d $(DESTDIR)/@bindir@ ++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@ + + 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 +@@ -43,8 +43,8 @@ + install: install.bin + + install.bin: +- ${INSTALL} -d @bindir@ +- @INSTALL_PROGRAM@ $(TARGET) @bindir@ ++ ${INSTALL} -d $(DESTDIR)/@bindir@ ++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@ + + clean: + $(RM) *.o *~ core +--- julius-4.2.2/gramtools/nextword/Makefile.in ++++ julius-4.2.2/gramtools/nextword/Makefile.in +@@ -36,8 +36,8 @@ + install: install.bin + + install.bin: $(TARGET) +- ${INSTALL} -d @bindir@ +- @INSTALL_PROGRAM@ $(TARGET) @bindir@ ++ ${INSTALL} -d $(DESTDIR)/@bindir@ ++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@ + + ############################################################ + +--- julius-4.2.2/gramtools/yomi2voca/Makefile.in ++++ julius-4.2.2/gramtools/yomi2voca/Makefile.in +@@ -17,8 +17,8 @@ + install: install.bin + + install.bin: +- ${INSTALL} -d @bindir@ +- @INSTALL_PROGRAM@ $(TARGET) @bindir@ ++ ${INSTALL} -d $(DESTDIR)/@bindir@ ++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@ + + clean: + echo nothing to do +--- julius-4.2.2/generate-ngram/Makefile.in ++++ julius-4.2.2/generate-ngram/Makefile.in +@@ -33,8 +33,8 @@ + install: install.bin + + install.bin: $(TARGET) +- ${INSTALL} -d @bindir@ +- @INSTALL_PROGRAM@ $(TARGET) @bindir@ ++ ${INSTALL} -d $(DESTDIR)/@bindir@ ++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@ + + clean: + $(RM) $(OBJ) *~ core +--- julius-4.2.2/jclient-perl/Makefile.in ++++ julius-4.2.2/jclient-perl/Makefile.in +@@ -17,8 +17,8 @@ + install: install.bin + + install.bin: +- ${INSTALL} -d @bindir@ +- @INSTALL_PROGRAM@ $(TARGET) @bindir@ ++ ${INSTALL} -d $(DESTDIR)/@bindir@ ++ @INSTALL_PROGRAM@ $(TARGET) $(DESTDIR)/@bindir@ + + clean: + echo nothing to do +--- julius-4.2.2/man/Makefile.in ++++ julius-4.2.2/man/Makefile.in +@@ -19,16 +19,16 @@ + install: install.man install.man.ja + + install.man: +- ${INSTALL} -d @mandir@/man1 ++ ${INSTALL} -d $(DESTDIR)/@mandir@/man1 + for f in *.1; do \ +- @INSTALL_DATA@ $$f @mandir@/man1/$$f; \ ++ @INSTALL_DATA@ $$f $(DESTDIR)/@mandir@/man1/$$f; \ + done + + install.man.ja: +- ${INSTALL} -d @mandir@/ja/man1 ++ ${INSTALL} -d $(DESTDIR)/@mandir@/ja/man1 + cd ja; + for f in *.1; do \ +- @INSTALL_DATA@ $$f @mandir@/ja/man1/$$f; \ ++ @INSTALL_DATA@ $$f $(DESTDIR)/@mandir@/ja/man1/$$f; \ + done + cd .. + diff --git a/app-accessibility/julius/files/julius-4.2.2-ldflags.patch b/app-accessibility/julius/files/julius-4.2.2-ldflags.patch new file mode 100644 index 000000000000..a5c3645a52f1 --- /dev/null +++ b/app-accessibility/julius/files/julius-4.2.2-ldflags.patch @@ -0,0 +1,11 @@ +--- julius-4.2.2/jcontrol/Makefile.in ++++ julius-4.2.2/jcontrol/Makefile.in +@@ -14,7 +14,7 @@ + CC=@CC@ + CFLAGS=@CFLAGS@ + CPPFLAGS=@CPPFLAGS@ @DEFS@ +-LDFLAGS=@LIBS@ @EXTRALIB@ ++LDFLAGS += @LIBS@ @EXTRALIB@ + RM=@RM@ -f + prefix=@prefix@ + exec_prefix=@exec_prefix@ diff --git a/app-accessibility/julius/julius-4.2.2.ebuild b/app-accessibility/julius/julius-4.2.2.ebuild new file mode 100644 index 000000000000..1e0cfc55f177 --- /dev/null +++ b/app-accessibility/julius/julius-4.2.2.ebuild @@ -0,0 +1,63 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-accessibility/julius/julius-4.2.2.ebuild,v 1.1 2013/03/31 22:45:37 hasufell Exp $ + +EAPI=5 + +inherit eutils toolchain-funcs + +DESCRIPTION="Large Vocabulary Continuous Speech Recognition Engine" +HOMEPAGE="http://julius.sourceforge.jp/" +SRC_URI="mirror://sourceforge.jp/julius/56549/${P}.tar.gz" + +LICENSE="julius" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+alsa oss portaudio pulseaudio sndfile" +REQUIRED_USE="^^ ( alsa oss portaudio pulseaudio )" + +RDEPEND=" + dev-lang/perl + dev-perl/Jcode + sys-libs/readline:0 + sys-libs/zlib + alsa? ( media-libs/alsa-lib ) + portaudio? ( media-libs/portaudio ) + pulseaudio? ( media-sound/pulseaudio ) + sndfile? ( media-libs/libsndfile )" +DEPEND="${RDEPEND} + sys-devel/flex" + +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 + use ${i} && mymic=${i} + done + + econf \ + --with-mictype=${mymic} \ + $(use_with sndfile) +} + +src_install() { + default + if ! has ja ${LINGUAS} ; then + rm -r "${ED}"/usr/share/man/ja || die + fi +} + +pkg_postinst() { + eerror "IMPORTANT NOTICE" + elog "/usr/bin/jcontrol has been renamed to /usr/bin/jucontrol" + elog "to avoid file collision with dev-java/java-config." + elog "If this creates a problem with applications, file a gentoo bug." +} diff --git a/app-accessibility/julius/metadata.xml b/app-accessibility/julius/metadata.xml new file mode 100644 index 000000000000..37603c49faa2 --- /dev/null +++ b/app-accessibility/julius/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>accessibility</herd> + <maintainer> + <email>hasufell@gentoo.org</email> + <name>Julian Ospald</name> + </maintainer> +</pkgmetadata> + |