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 2015 Alexander Pyhalov
14 # Copyright 2022 Niklas Poslovski
17 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_NAME
= soundtouch
20 COMPONENT_VERSION
= 2.3.3
21 COMPONENT_SUMMARY
= Audio Processing Library
22 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
23 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
24 COMPONENT_PROJECT_URL
= https
://www.surina.net
/soundtouch
25 COMPONENT_ARCHIVE_URL
= $(COMPONENT_PROJECT_URL
)/$(COMPONENT_ARCHIVE
)
26 COMPONENT_ARCHIVE_HASH
= sha256
:43b23dfac2f64a3aff55d64be096ffc7b73842c3f5665caff44975633a975a99
27 COMPONENT_FMRI
= library
/audio
/soundtouch
28 COMPONENT_CLASSIFICATION
=System
/Multimedia Libraries
29 COMPONENT_LICENSE
= LGPLv2.1
30 COMPONENT_LICENSE_FILE
= COPYING.TXT
32 include $(WS_MAKE_RULES
)/common.mk
34 # Rename unpacked source folder
35 COMPONENT_POST_UNPACK_ACTION
= ( $(MV
) $(COMPONENT_NAME
) $(COMPONENT_SRC
) )
37 COMPONENT_PREP_ACTION
= ( cd
$(@D
) && \
38 $(CONFIG_SHELL
) bootstrap
)
40 CONFIGURE_OPTIONS
+= --enable-shared
41 CONFIGURE_OPTIONS
+= --disable-static
42 CONFIGURE_OPTIONS
+= --disable-x86-optimizations
44 CONFIGURE_ENV
+= AM_CXXFLAGS
="$(CXXFLAGS)"
46 # Auto-generated dependencies
47 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
48 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
49 REQUIRED_PACKAGES
+= system
/library
50 REQUIRED_PACKAGES
+= system
/library
/math