2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2015 Alexander Pyhalov
18 include ..
/..
/..
/make-rules
/shared-macros.mk
20 COMPONENT_NAME
= libtheora
21 COMPONENT_VERSION
= 1.1.1
23 COMPONENT_SUMMARY
= Theora video compression codec
24 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
25 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
26 COMPONENT_ARCHIVE_HASH
= \
27 sha256
:40952956c47811928d1e7922cda3bc1f427eb75680c3c37249c91e949054916b
28 COMPONENT_ARCHIVE_URL
= \
29 http
://downloads.xiph.org
/releases
/theora
/$(COMPONENT_ARCHIVE
)
30 COMPONENT_PROJECT_URL
= http
://www.theora.org
31 COMPONENT_FMRI
= codec
/libtheora
32 COMPONENT_CLASSIFICATION
=System
/Multimedia Libraries
33 COMPONENT_LICENSE
= Xiph.org BSD-style
34 COMPONENT_LICENSE_FILE
= COPYING
36 include $(WS_MAKE_RULES
)/common.mk
40 # Code in decode.c looks crappy and GCC warns about it.
41 # This seeems to disable some loop optimizations and fixes crash in oc_init()
44 CONFIGURE_OPTIONS
+= --sysconfdir
=/etc
45 CONFIGURE_OPTIONS
+= --enable-shared
46 CONFIGURE_OPTIONS
+= --disable-static
47 CONFIGURE_OPTIONS
+= --disable-examples
50 REQUIRED_PACKAGES
+= developer
/documentation-tool
/doxygen
52 # Auto-generated dependencies
53 REQUIRED_PACKAGES
+= library
/libogg
54 REQUIRED_PACKAGES
+= system
/library