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 (c) 2015 Alexander Pyhalov
17 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_NAME
= libmatroska
20 COMPONENT_VERSION
= 1.7.1
22 COMPONENT_SUMMARY
= Matroska Video Container
23 COMPONENT_PROJECT_URL
= https
://matroska.org
/
24 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
25 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
26 COMPONENT_ARCHIVE_HASH
= sha256
:572a3033b8d93d48a6a858e514abce4b2f7a946fe1f02cbfeca39bfd703018b3
27 COMPONENT_ARCHIVE_URL
= https
://dl.matroska.org
/downloads
/libmatroska
/$(COMPONENT_ARCHIVE
)
28 COMPONENT_FMRI
= library
/video
/libmatroska
29 COMPONENT_CLASSIFICATION
= System
/Multimedia Libraries
30 COMPONENT_LICENSE
= LGPLv2.1
31 COMPONENT_LICENSE_FILE
= LICENSE.LGPL
33 TEST_TARGET
= $(NO_TESTS
)
34 include $(WS_MAKE_RULES
)/common.mk
36 CMAKE_OPTIONS
+= -DCMAKE_BUILD_TYPE
=Release
37 CMAKE_OPTIONS
+= -DBUILD_SHARED_LIBS
:BOOL
=ON
38 CMAKE_OPTIONS
+= -DBUILD_STATIC_LIBS
:BOOL
=OFF
40 # Auto-generated dependencies
41 REQUIRED_PACKAGES
+= $(GCC_RUNTIME_PKG
)
42 REQUIRED_PACKAGES
+= $(GXX_RUNTIME_PKG
)
43 REQUIRED_PACKAGES
+= library
/libebml
44 REQUIRED_PACKAGES
+= system
/library