2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"). You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2013 EveryCity Ltd. All rights reserved.
13 # Copyright 2016-2017 Aurelien Larcher. All rights reserved.
17 USE_DEFAULT_TEST_TRANSFORMS
= yes
18 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_VERSION
= 1.5.2
22 COMPONENT_SUMMARY
= Opus is an open
, royalty-free
, versatile audio codec for interactive speech and music transmission over the Internet
23 COMPONENT_PROJECT_URL
= https
://opus-codec.org
/
24 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
25 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
26 COMPONENT_ARCHIVE_HASH
= sha256
:65c1d2f78b9f2fb20082c38cbe47c951ad5839345876e46941612ee87f9a7ce1
27 COMPONENT_ARCHIVE_URL
= https
://downloads.xiph.org
/releases
/opus
/$(COMPONENT_ARCHIVE
)
28 COMPONENT_FMRI
= library
/opus
29 COMPONENT_CLASSIFICATION
= System
/Libraries
30 COMPONENT_LICENSE
= BSD-3-Clause
31 COMPONENT_LICENSE_FILE
= COPYING
33 include $(WS_MAKE_RULES
)/common.mk
36 CONFIGURE_OPTIONS
+= --disable-static
37 CONFIGURE_OPTIONS
+= --enable-shared
39 # Auto-generated dependencies
40 REQUIRED_PACKAGES
+= system
/library
41 REQUIRED_PACKAGES
+= system
/library
/math