2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2017 Alexander Pyhalov
14 # Copyright 2021 Carsten Grzemba
17 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_NAME
= speech-dispatcher
20 COMPONENT_VERSION
= 0.10.2
22 COMPONENT_SUMMARY
= Speech Dispatcher
23 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
24 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
25 COMPONENT_ARCHIVE_HASH
= sha256
:b06319f201e15e56c6296653af5bcfc300cb348e972d517df8b06eac77eae2dc
26 COMPONENT_ARCHIVE_URL
= https
://github.com
/brailcom
/speechd
/releases
/download
/$(COMPONENT_VERSION
)/$(COMPONENT_ARCHIVE
)
27 COMPONENT_PROJECT_URL
= https
://devel.freebsoft.org
/speechd
28 COMPONENT_FMRI
= library
/desktop
/speech-dispatcher
29 COMPONENT_CLASSIFICATION
= Applications
/Universal Access
30 COMPONENT_LICENSE
= GPLv2
31 COMPONENT_LICENSE_FILE
= COPYING.GPL-2
33 TEST_TARGET
= $(NO_TESTS
)
34 include $(WS_MAKE_RULES
)/common.mk
36 PKG_MACROS
+= PYVER
=$(PYTHON_VERSION
)
40 LDFLAGS
+= -lnsl
-lsocket
42 # The split-version.sh script is called from the builddir by configure.
43 # Version numbers are silently missing without this.
44 COMPONENT_PRE_CONFIGURE_ACTION
= ( \
45 $(CLONEY
) $(SOURCE_DIR
) $(@D
); \
46 cd
$(SOURCE_DIR
) && aclocal
;)
48 CONFIGURE_OPTIONS
+= --sysconfdir
=$(ETCDIR
)
49 CONFIGURE_OPTIONS
+= --disable-static
50 CONFIGURE_OPTIONS
+= --with-espeak
51 CONFIGURE_OPTIONS
+= --with-pulse
52 CONFIGURE_OPTIONS
+= --with-voxin
=no
53 CONFIGURE_OPTIONS
+= --with-kali
=no
54 CONFIGURE_OPTIONS
+= --with-ibmtts
=no
55 CONFIGURE_OPTIONS
+= --with-baratinoo
=no
57 # There are no binary python modules, install them in 32-bit path
58 CONFIGURE_ENV
+= PYTHON
=$(PYTHON
)
59 CONFIGURE_ENV
+= am_cv_python_pyexecdir
=$(PYTHON_VENDOR_PACKAGES
)
60 CONFIGURE_ENV
+= am_cv_python_pythondir
=$(PYTHON_VENDOR_PACKAGES
)
61 # build will run configure again ???...
62 COMPONENT_BUILD_ENV
+= $(CONFIGURE_ENV
)
64 # Manually added dependencies
65 PYTHON_REQUIRED_PACKAGES
+= library
/python
/pyxdg
67 # Auto-generated dependencies
68 PYTHON_REQUIRED_PACKAGES
+= runtime
/python
69 REQUIRED_PACKAGES
+= library
/audio
/libao
70 REQUIRED_PACKAGES
+= library
/audio
/pulseaudio
71 REQUIRED_PACKAGES
+= library
/desktop
/dotconf
72 REQUIRED_PACKAGES
+= library
/glib2
73 REQUIRED_PACKAGES
+= library
/libsndfile
74 REQUIRED_PACKAGES
+= library
/libtool
/libltdl
75 REQUIRED_PACKAGES
+= library
/speech
/espeak
76 REQUIRED_PACKAGES
+= system
/library