Andreas Wacknitz
2024-04-05 7fed103b26799c58bd185f75cbec69ec4c5461f7
commit | author | age
76690e 1 #
MN 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.
5 #
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.
9 #
10
11 #
12 # Copyright 2019 Michal Nowak
13 #
14
e91cad 15 BUILD_STYLE= cmake
AW 16 BUILD_BITS= 64
76690e 17 include ../../../make-rules/shared-macros.mk
MN 18
85fd23 19 COMPONENT_NAME=         x265
7fed10 20 COMPONENT_VERSION=      3.6
85fd23 21 COMPONENT_SUMMARY=      High Efficiency Video Coding (HEVC)
AL 22 COMPONENT_PROJECT_URL=  https://x265.org/
23 COMPONENT_FMRI=         library/video/x265
24 COMPONENT_CLASSIFICATION=System/Multimedia Libraries
dc992c 25 COMPONENT_SRC=          $(COMPONENT_NAME)_$(COMPONENT_VERSION)
76690e 26 COMPONENT_ARCHIVE=      $(COMPONENT_SRC).tar.gz
85fd23 27 COMPONENT_ARCHIVE_URL=  https://bitbucket.org/multicoreware/$(COMPONENT_NAME)_git/downloads/$(COMPONENT_ARCHIVE)
7fed10 28 COMPONENT_ARCHIVE_HASH= sha256:663531f341c5389f460d730e62e10a4fcca3428ca2ca109693867bc5fe2e2807
85fd23 29 COMPONENT_LICENSE=      GPLv2.0
AL 30 COMPONENT_LICENSE_FILE= COPYING
76690e 31
MN 32 include $(WS_MAKE_RULES)/encumbered.mk
85fd23 33 include $(WS_MAKE_RULES)/common.mk
76690e 34
e91cad 35 SOURCE_DIR = $(COMPONENT_DIR)/$(COMPONENT_SRC)/source/
76690e 36
MN 37 CMAKE_OPTIONS += -DENABLE_PIC=ON
38 CMAKE_OPTIONS += -DENABLE_TESTS=ON
39
40 COMPONENT_TEST_CMD = test/TestBench
41
e91cad 42 # Manually added build dependencies
76690e 43 REQUIRED_PACKAGES += developer/assembler/nasm
72a83c 44
76690e 45 # Auto-generated dependencies
MN 46 REQUIRED_PACKAGES += $(GXX_RUNTIME_PKG)
47 REQUIRED_PACKAGES += system/library
48 REQUIRED_PACKAGES += system/library/math