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 2012 EveryCity Ltd. All rights reserved.
16 BUILD_BITS
= 64_and_32
17 USE_DEFAULT_TEST_TRANSFORMS
= yes
19 include ..
/..
/..
/make-rules
/shared-macros.mk
22 COMPONENT_VERSION
= 0.4.40
23 COMPONENT_FMRI
= library
/orc
24 COMPONENT_PROJECT_URL
= https
://gstreamer.freedesktop.org
/projects
/orc.html
25 COMPONENT_SUMMARY
= The Optimized Inner Loop Runtime Compiler for SIMD array operations
26 COMPONENT_CLASSIFICATION
=System
/Libraries
27 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
28 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
29 COMPONENT_ARCHIVE_HASH
= \
30 sha256
:3fc2bee78dfb7c41fd9605061fc69138db7df007eae2f669a1f56e8bacef74ab
31 COMPONENT_ARCHIVE_URL
= \
32 http
://gstreamer.freedesktop.org
/src
/$(COMPONENT_NAME
)/$(COMPONENT_ARCHIVE
)
33 COMPONENT_LICENSE
= BSD-2-Clause AND BSD-3-Clause
34 COMPONENT_LICENSE_FILE
= COPYING
36 include $(WS_MAKE_RULES
)/common.mk
38 # Heals libgstvideoscale (from gstreamer 0.10) core dump
41 # Dynamic library version number
42 SOVER
= 0.
$(word 3,$(subst .
, ,$(COMPONENT_VERSION
))).0
43 SOVER_RE
= $(subst .
,\.
,$(SOVER
))
45 # Replace library version number by SOVER
46 GENERATE_EXTRA_CMD
+= |
$(GSED
) -e
's/$(SOVER_RE)/$$(SOVER)/'
48 # SOVER is needed for manifest processing
49 PKG_MACROS
+= SOVER
=$(SOVER
)
51 # Auto-generated dependencies
52 REQUIRED_PACKAGES
+= system
/library
53 REQUIRED_PACKAGES
+= system
/library
/math