components/desktop/libtheora/Makefile
changeset 6741 2aff74abb0f1
child 7078 0130c788777b
equal deleted inserted replaced
6740:b9a930b724d2 6741:2aff74abb0f1
       
     1 #
       
     2 # CDDL HEADER START
       
     3 #
       
     4 # The contents of this file are subject to the terms of the
       
     5 # Common Development and Distribution License (the "License").
       
     6 # You may not use this file except in compliance with the License.
       
     7 #
       
     8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
       
     9 # or http://www.opensolaris.org/os/licensing.
       
    10 # See the License for the specific language governing permissions
       
    11 # and limitations under the License.
       
    12 #
       
    13 # When distributing Covered Code, include this CDDL HEADER in each
       
    14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
       
    15 # If applicable, add the following below this CDDL HEADER, with the
       
    16 # fields enclosed by brackets "[]" replaced with your own identifying
       
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
       
    18 #
       
    19 # CDDL HEADER END
       
    20 #
       
    21 # Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
       
    22 #
       
    23 
       
    24 BUILD_BITS=            	32_and_64
       
    25 COMPILER=		gcc
       
    26 include ../../../make-rules/shared-macros.mk
       
    27 
       
    28 COMPONENT_NAME=		libtheora
       
    29 COMPONENT_VERSION=	1.1.1
       
    30 COMPONENT_PROJECT_URL=	http://downloads.xiph.org/releases/theora/
       
    31 COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.bz2
       
    32 COMPONENT_ARCHIVE_HASH= \
       
    33 	sha256:b6ae1ee2fa3d42ac489287d3ec34c5885730b1296f0801ae577a35193d3affbc
       
    34 COMPONENT_ARCHIVE_URL=	$(COMPONENT_PROJECT_URL)/$(COMPONENT_ARCHIVE)
       
    35 COMPONENT_BUGDB=	gnome/multimedia
       
    36 
       
    37 TPNO=			9578
       
    38 
       
    39 include $(WS_MAKE_RULES)/common.mk
       
    40 
       
    41 # Assumes GNU versions of utilities in PATH (e.g. tail).
       
    42 COMPONENT_BUILD_ENV += PATH="$(GNUBIN):$(PATH)"
       
    43 
       
    44 CONFIGURE_OPTIONS += --disable-static
       
    45 
       
    46 # for the tests
       
    47 unexport SHELLOPTS
       
    48 COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
       
    49 COMPONENT_TEST_ARGS =   -k -i
       
    50 COMPONENT_TEST_TRANSFORMS += \
       
    51         '-n ' \
       
    52         '-e "/TOTAL:/p" ' \
       
    53         '-e "/SKIP:/p" ' \
       
    54         '-e "/PASS:/p" ' \
       
    55         '-e "/FAIL:/p" ' \
       
    56         '-e "/ERROR:/p" '
       
    57 
       
    58 
       
    59 # Replace the following with REQUIRED_PACKAGES += codec/libogg when
       
    60 # the build server is updated
       
    61 # The dependency isn't installed, so add it manually since pkgdepend
       
    62 # can't resolve them yet: 15708323
       
    63 DEPENDED += $(WS_TOP)/components/desktop/libogg/build/manifest-$(MACH)-libogg.depend
       
    64 REQUIRED_PACKAGES += $(shell $(GSED) -n 's/REQUIRED_PACKAGES +=//p' ../libogg/Makefile)
       
    65 
       
    66 REQUIRED_PACKAGES += developer/documentation-tool/doxygen
       
    67 REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime