• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/espeak/espeak.mk
Jerzy GrzegorekJerzy Grzegorek committed 8f8ae3c45f324 Sep 2014
Raw file
Source viewDiff to previous
 
1
################################################################################
2
#
3
# espeak
4
#
5
################################################################################
6
​
7
ESPEAK_VERSION_MAJOR = 1.48
8
ESPEAK_VERSION = $(ESPEAK_VERSION_MAJOR).04
9
ESPEAK_SOURCE = espeak-$(ESPEAK_VERSION)-source.zip
10
ESPEAK_SITE = http://downloads.sourceforge.net/project/espeak/espeak/espeak-$(ESPEAK_VERSION_MAJOR)
11
ESPEAK_LICENSE = GPLv3+
12
ESPEAK_LICENSE_FILES = Licence.txt
13
​
14
ifeq ($(BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_ALSA),y)
15
ESPEAK_AUDIO_BACKEND = portaudio
16
ESPEAK_DEPENDENCIES = portaudio
17
endif
18
ifeq ($(BR2_PACKAGE_ESPEAK_AUDIO_BACKEND_PULSEAUDIO),y)
19
ESPEAK_AUDIO_BACKEND = pulseaudio
20
ESPEAK_DEPENDENCIES = pulseaudio
21
endif
22
​
23
define ESPEAK_EXTRACT_CMDS
24
    unzip -d $(@D) $(DL_DIR)/$(ESPEAK_SOURCE)
25
    mv $(@D)/espeak-$(ESPEAK_VERSION)-source/* $(@D)
26
    $(RM) -r $(@D)/espeak-$(ESPEAK_VERSION)-source
27
endef
28
​
29
define ESPEAK_CONFIGURE_CMDS
30
    # Buildroot provides portaudio V19, see ReadMe file for more details.
31
    cp $(@D)/src/portaudio19.h $(@D)/src/portaudio.h
32
endef
33
​
34
define ESPEAK_BUILD_CMDS
35
    $(MAKE) -C $(@D)/src  $(TARGET_CONFIGURE_OPTS) \
36
        AUDIO="$(ESPEAK_AUDIO_BACKEND)" all
37
endef
38
​
39
define ESPEAK_INSTALL_TARGET_CMDS
40
    $(MAKE) -C $(@D)/src DESTDIR="$(TARGET_DIR)" install
41
endef
42
​
43
$(eval $(generic-package))
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.