components/desktop/libtheora/Makefile
author Petr Sumbera <petr.sumbera@oracle.com>
Tue, 14 Mar 2017 02:44:36 -0700
changeset 7847 ec4c46e50642
parent 7687 1093e2a9adbd
child 7862 875bb3f441a5
permissions -rw-r--r--
25716748 Upgrade Apache Tomcat to version 8.5.11 25716728 problem in UTILITY/TOMCAT
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6741
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
     1
#
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
     3
#
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
     7
#
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    12
#
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    18
#
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    20
#
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 7293
diff changeset
    21
# Copyright (c) 2016, 2017, Oracle and/or its affiliates. All rights reserved.
6741
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    22
#
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    23
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    24
BUILD_BITS=            	32_and_64
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    25
COMPILER=		gcc
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    26
include ../../../make-rules/shared-macros.mk
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    27
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    28
COMPONENT_NAME=		libtheora
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    29
COMPONENT_VERSION=	1.1.1
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    30
COMPONENT_PROJECT_URL=	http://downloads.xiph.org/releases/theora/
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    31
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.bz2
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    32
COMPONENT_ARCHIVE_HASH= \
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    33
	sha256:b6ae1ee2fa3d42ac489287d3ec34c5885730b1296f0801ae577a35193d3affbc
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    34
COMPONENT_ARCHIVE_URL=	$(COMPONENT_PROJECT_URL)/$(COMPONENT_ARCHIVE)
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    35
COMPONENT_BUGDB=	gnome/multimedia
7687
1093e2a9adbd 25590368 Userland components should include "upstream" release tracking information
Rich Burridge <rich.burridge@oracle.com>
parents: 7293
diff changeset
    36
COMPONENT_ANITYA_ID=	11793
6741
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    37
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    38
TPNO=			9578
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    39
7078
0130c788777b 24818266 do not publish libtheora when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6741
diff changeset
    40
# Depends on libogg which is on the do-not-publish list.
0130c788777b 24818266 do not publish libtheora when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6741
diff changeset
    41
include $(WS_MAKE_RULES)/no-evaluation.mk
0130c788777b 24818266 do not publish libtheora when BUILD_TYPE=evaluation
John Beck <John.Beck@Oracle.COM>
parents: 6741
diff changeset
    42
6741
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    43
include $(WS_MAKE_RULES)/common.mk
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    44
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    45
# Assumes GNU versions of utilities in PATH (e.g. tail).
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    46
COMPONENT_BUILD_ENV += PATH="$(GNUBIN):$(PATH)"
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    47
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    48
CONFIGURE_OPTIONS += --disable-static
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    49
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    50
# for the tests
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    51
unexport SHELLOPTS
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    52
COMPONENT_TEST_MASTER = $(COMPONENT_TEST_RESULTS_DIR)/results-all.master
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    53
COMPONENT_TEST_ARGS =   -k -i
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    54
COMPONENT_TEST_TRANSFORMS += \
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    55
        '-n ' \
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    56
        '-e "/TOTAL:/p" ' \
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    57
        '-e "/SKIP:/p" ' \
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    58
        '-e "/PASS:/p" ' \
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    59
        '-e "/FAIL:/p" ' \
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    60
        '-e "/ERROR:/p" '
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    61
7293
a449e2e641be 25049244 Undo the temporary Makefile changes made for getting gnome components to build
Niveditha Rau <Niveditha.Rau@Oracle.COM>
parents: 7078
diff changeset
    62
REQUIRED_PACKAGES += codec/libogg
6741
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    63
REQUIRED_PACKAGES += developer/documentation-tool/doxygen
2aff74abb0f1 23245480 Move libtheora 1.1.1 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents:
diff changeset
    64
REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime