Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Meta Ros
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
uav-hds
intel-aero
Meta Ros
Commits
6c07d303
Commit
6c07d303
authored
10 years ago
by
Kristof Robot
Browse files
Options
Downloads
Patches
Plain Diff
ros-pocketsphinx: initial commit
parent
e1315db5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
recipes-ros/ros-pocketsphinx/ros-pocketsphinx_0.3.0.bb
+29
-0
29 additions, 0 deletions
recipes-ros/ros-pocketsphinx/ros-pocketsphinx_0.3.0.bb
with
29 additions
and
0 deletions
recipes-ros/ros-pocketsphinx/ros-pocketsphinx_0.3.0.bb
0 → 100644
+
29
−
0
View file @
6c07d303
DESCRIPTION = "This package is a simple wrapper around the pocketsphinx speech recognizer, \
using gstreamer and a Python-based interface."
SECTION = "devel"
LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://package.xml;beginline=10;endline=10;md5=d566ef916e9dedc494f5f793a6690ba5"
SRC_URI = "https://github.com/mikeferguson/pocketsphinx/archive/${PV}.tar.gz;downloadfilename=${PN}.tar.gz"
SRC_URI[md5sum] = "814912c0fa4e28dee0e7abc2576f1ad2"
SRC_URI[sha256sum] = "79aed79079d1ca4ac470ea55a82c1de13473df29187b7e8ecec86969c253284a"
S = "${WORKDIR}/pocketsphinx-${PV}"
inherit catkin
do_configure_prepend () {
#rename pocketsphinx to ros_pocketsphinx, to avoid collision with original pocketsphinx
sed -i 's:project(pocketsphinx):project(${ROS_SPN}):g' ${S}/CMakeLists.txt
sed -i 's:<name>pocketsphinx</name>:<name>${ROS_SPN}</name>:g' ${S}/package.xml
sed -i "s:load_manifest('pocketsphinx'):load_manifest('${ROS_SPN}'):g" ${S}/nodes/*py
sed -i 's:pkg="pocketsphinx:pkg="${ROS_SPN}:g' ${S}/demo/*launch
sed -i 's:find pocketsphinx:find ${ROS_SPN}:g' ${S}/demo/*launch
}
RDEPENDS_${PN} = "std-srvs rospy gstreamer0.10-pocketsphinx"
#provides gconfaudiosrc, used to find name of microphone
RRECOMMENDS_${PN} += "gst-plugins-good-gconfelements"
ROS_SPN = "ros_pocketsphinx"
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment