Package Details: pocketsphinx 5prealpha-5

Git Clone URL: https://aur.archlinux.org/pocketsphinx.git (read-only)
Package Base: pocketsphinx
Description: Lightweight speech recognition engine, specifically tuned for handheld and mobile devices, though it works equally well on the desktop.
Upstream URL: http://cmusphinx.sourceforge.net
Keywords: mobile recognition speech
Licenses: BSD
Submitter: None
Maintainer: marcs (Martchus)
Last Packager: marcs
Votes: 57
Popularity: 1.511681
First Submitted: 2008-08-08 21:47
Last Updated: 2016-06-01 10:33

Latest Comments

Martchus commented on 2016-06-01 20:38

I had no particular reason to reconfigure it twice. Reconfiguring first and then doing the copies is better.

marcs commented on 2016-06-01 10:14

Hi martchus,

I agree with moving the depends, you are right, I changed only the fact that in your prepare function you are reconfiguring autotools twice, which I found unnecessary. Please let me know if you had any particular reason to do that, why exporting python on reconf ?

I've added you as a comantainer.

Thank you

Martchus commented on 2016-05-10 16:05

Needs to be reconfigured for use with current automake. Additionally, I think python dependencies are only required if one uses the python bindings. Hence it would make sense to make these make-only. If a python package actually uses this, Python would be installed as a dependency of this package anyways.

Here is an updated version: https://github.com/Martchus/PKGBUILDs/blob/master/pocketsphinx/default/PKGBUILD

FiyreWyrkz commented on 2016-03-14 14:44

Current md5 for pocketsphinx-5prealpha.tar.gz is - 2c4fb3a1318bb2470997ab7eb98ef69a

b3arar commented on 2016-02-07 07:31

#先清除pkg、src等等。remember to clear the environment.
prepare() {

cd "$pkgname-$pkgver"
msg2 "Reconfiguring project for Automake v1.15"
autoreconf -ivf > /dev/null
cd ..

cp -R "$pkgname-$pkgver" "$pkgname-$pkgver-py2"
cp -R "$pkgname-$pkgver" "$pkgname-$pkgver-py3"
}

b3arar commented on 2016-02-07 06:51

WARNING: 'aclocal-1.13' is missing on your system.

maybe there should be autoreconf -fi in the "prepare" function/PKGBUILD
大概需要添加autoreconf -fi在PKGBUILD的"prepare"函数

marcs commented on 2016-02-02 20:23

md5 sum updated

underdoeg commented on 2016-02-01 09:56

Current md5 sum for pocketsphinx-5prealpha.tar.gz is dc4246dbeb577731432227ad33289326

marcs commented on 2015-12-03 15:27

Hey xan

I'm building the package twice now. From what I've seen only the two /usr/lib/python folders differ in the two builds, so yeah not the smartest solution but I didn't want to mess too much with autotools.

So the script it builds py3 than py2, then install the whole installation and then does a make install only of the swig folder that built the py2 bindings.

Should be fine, but do some testing.

I had to do this also on sphinxbase for consistency so do a system update, so now also sphinxbase has both py2 and py3 support

marcs

xantares commented on 2015-12-03 08:54

hi marcs,

- that would be great, have a look here:
https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=python-salib

- the package uses autotools, I guess you can cd in the bindings subdir and make install from there to install only python bindings from the new package_python-pocketsphinx() function.

- to build py3 as weel, I guess you could either copy the source dir twice and build each with different configure options, or reconfigure once with py3 in the same build dir. If the lib is not huge maybe option1 would be cleaner.

xan.

All comments