jenkins-core-weekly: update to 2.491
[oi-userland.git] / components / library / libtheora / Makefile
blob89890fc12d2378bf946d1bb71319d8211f0af056
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
5 # 1.0 of the CDDL.
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
16 BUILD_STYLE=configure
17 BUILD_BITS=32_and_64
18 include ../../../make-rules/shared-macros.mk
20 COMPONENT_NAME= libtheora
21 COMPONENT_VERSION= 1.1.1
22 COMPONENT_REVISION= 3
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
38 PATH=$(PATH.gnu)
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()
42 gcc_OPT = -O2
44 CONFIGURE_OPTIONS+= --sysconfdir=/etc
45 CONFIGURE_OPTIONS+= --enable-shared
46 CONFIGURE_OPTIONS+= --disable-static
47 CONFIGURE_OPTIONS+= --disable-examples
49 # Build dependencies
50 REQUIRED_PACKAGES += developer/documentation-tool/doxygen
52 # Auto-generated dependencies
53 REQUIRED_PACKAGES += library/libogg
54 REQUIRED_PACKAGES += system/library