# # This file and its contents are supplied under the terms of the # Common Development and Distribution License ("CDDL"). You may # only use this file in accordance with the terms of the CDDL. # # A full copy of the text of the CDDL should have accompanied this # source. A copy of the CDDL is also available via the Internet at # http://www.illumos.org/license/CDDL. # # # Copyright 2019 Michal Nowak # BUILD_STYLE= cmake USE_PARALLEL_BUILD = yes DROP_STATIC_LIBRARIES = yes include ../../../make-rules/shared-macros.mk COMPONENT_NAME= x265 COMPONENT_VERSION= 4.1 COMPONENT_SUMMARY= High Efficiency Video Coding (HEVC) COMPONENT_PROJECT_URL= https://x265.org/ COMPONENT_SRC= $(COMPONENT_NAME)_$(COMPONENT_VERSION) COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.gz COMPONENT_ARCHIVE_URL= https://bitbucket.org/multicoreware/$(COMPONENT_NAME)_git/downloads/$(COMPONENT_ARCHIVE) COMPONENT_ARCHIVE_HASH= sha256:a31699c6a89806b74b0151e5e6a7df65de4b49050482fe5ebf8a4379d7af8f29 COMPONENT_FMRI= library/video/x265 COMPONENT_CLASSIFICATION= System/Multimedia Libraries COMPONENT_LICENSE= GPL-2.0-only COMPONENT_LICENSE_FILE= COPYING COMPONENT_FMRI.libx265= $(COMPONENT_FMRI)-$(subst .,,$(COMPONENT_VERSION)) COMPONENT_SUMMARY.libx265= Runtime library for $(COMPONENT_SUMMARY) version $(COMPONENT_VERSION) include $(WS_MAKE_RULES)/encumbered.mk include $(WS_MAKE_RULES)/common.mk SOURCE_DIR = $(COMPONENT_DIR)/$(COMPONENT_SRC)/source/ CMAKE_OPTIONS += -DENABLE_PIC=ON CMAKE_OPTIONS += -DENABLE_TESTS=ON COMPONENT_TEST_CMD = test/TestBench # Manually added build dependencies REQUIRED_PACKAGES += developer/assembler/nasm # Auto-generated dependencies REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG) REQUIRED_PACKAGES += system/library REQUIRED_PACKAGES += system/library/math