ffmpeg: fix dependencies
[oi-userland.git] / components / encumbered / x265-3.6 / Makefile
blobd7879eba2e563e507796a27df8d51f166b240671
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 2019 Michal Nowak
15 BUILD_STYLE= cmake
16 USE_PARALLEL_BUILD = yes
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME= x265
21 COMPONENT_VERSION= 3.6
22 COMPONENT_SUMMARY= Runtime library for High Efficiency Video Coding (HEVC) version $(COMPONENT_VERSION)
23 COMPONENT_PROJECT_URL= https://x265.org/
24 COMPONENT_FMRI= library/video/x265-36
25 COMPONENT_CLASSIFICATION=System/Multimedia Libraries
26 COMPONENT_SRC= $(COMPONENT_NAME)_$(COMPONENT_VERSION)
27 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz
28 COMPONENT_ARCHIVE_URL= https://bitbucket.org/multicoreware/$(COMPONENT_NAME)_git/downloads/$(COMPONENT_ARCHIVE)
29 COMPONENT_ARCHIVE_HASH= sha256:663531f341c5389f460d730e62e10a4fcca3428ca2ca109693867bc5fe2e2807
30 COMPONENT_LICENSE= GPLv2.0
31 COMPONENT_LICENSE_FILE= COPYING
33 include $(WS_MAKE_RULES)/encumbered.mk
34 include $(WS_MAKE_RULES)/common.mk
36 SOURCE_DIR = $(COMPONENT_DIR)/$(COMPONENT_SRC)/source/
38 CMAKE_OPTIONS += -DENABLE_PIC=ON
39 CMAKE_OPTIONS += -DENABLE_TESTS=ON
41 COMPONENT_TEST_CMD = test/TestBench
43 # Manually added build dependencies
44 REQUIRED_PACKAGES += developer/assembler/nasm
46 # Auto-generated dependencies
47 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
48 REQUIRED_PACKAGES += system/library
49 REQUIRED_PACKAGES += system/library/math