You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

63 lines
1.9 KiB

  1. #
  2. # Copyright (C) 2015 OpenWrt.org
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=svox
  9. PKG_VERSION:=1.0+git20130326
  10. PKG_RELEASE:=3
  11. PKG_SOURCE:=$(PKG_NAME)_$(PKG_VERSION).orig.tar.gz
  12. PKG_SOURCE_URL:=http://ftp.debian.org/debian/pool/non-free/s/svox
  13. PKG_HASH:=337b25e6ccb3764f0df1e176470b883c90e40e98840d4133340fcc89eb3cea0c
  14. PKG_MAINTAINER:=Alessandro Di Marco <dmr@ethzero.com>
  15. PKG_LICENSE:=Apache-2.0
  16. PKG_LICENSE_FILES:=
  17. PKG_FIXUP:=autoreconf
  18. PKG_INSTALL:=1
  19. include $(INCLUDE_DIR)/package.mk
  20. define Package/svox
  21. TITLE:=SVOX PicoTTS text-to-speech engine
  22. SECTION:=sound
  23. CATEGORY:=Sound
  24. URL:=https://android.googlesource.com/platform/external/svox/
  25. DEPENDS:=+libpopt
  26. endef
  27. define Package/svox/description
  28. SVOX is an embedded speech technology company founded in 2000 and
  29. headquartered in Zurich, Switzerland. SVOX was acquired by Nuance
  30. Communications in 2011. Company's products included Automated Speech
  31. Recognition (ASR), Text-to-Speech (TTS) and Speech Dialog systems,
  32. with customers mostly being manufacturers and system integrators in
  33. automotive and mobile device industries.
  34. SVOX TTS technology is characterized by natural and clear sound as well
  35. as unique polyglot capability - the same voice can speak multiple
  36. languages like a native speaker.
  37. endef
  38. define Build/Prepare
  39. $(call Build/Prepare/Default)
  40. ifeq ($(QUILT),)
  41. mv $(PKG_BUILD_DIR)/pico/* $(PKG_BUILD_DIR)
  42. endif
  43. endef
  44. define Package/svox/install
  45. $(INSTALL_DIR) $(1)/usr/bin
  46. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/pico2wave $(1)/usr/bin/
  47. $(INSTALL_DIR) $(1)/usr/lib
  48. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libttspico.so* $(1)/usr/lib/
  49. $(INSTALL_DIR) $(1)/usr/share/pico/lang
  50. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/pico/lang/* $(1)/usr/share/pico/lang/
  51. endef
  52. $(eval $(call BuildPackage,svox))