components/desktop/flac/Makefile
author Danek Duvall <danek.duvall@oracle.com>
Thu, 15 Sep 2016 14:23:59 -0700
changeset 6950 b14572a6af9b
parent 6740 b9a930b724d2
child 7104 8f45af4c27d7
permissions -rw-r--r--
24675631 userland-fetch fails with success for unknown scheme
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
6588
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     1
#
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     2
# CDDL HEADER START
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     3
#
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     4
# The contents of this file are subject to the terms of the
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     5
# Common Development and Distribution License (the "License").
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     6
# You may not use this file except in compliance with the License.
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     7
#
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     8
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
     9
# or http://www.opensolaris.org/os/licensing.
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    10
# See the License for the specific language governing permissions
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    11
# and limitations under the License.
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    12
#
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    13
# When distributing Covered Code, include this CDDL HEADER in each
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    14
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    15
# If applicable, add the following below this CDDL HEADER, with the
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    16
# fields enclosed by brackets "[]" replaced with your own identifying
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    17
# information: Portions Copyright [yyyy] [name of copyright owner]
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    18
#
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    19
# CDDL HEADER END
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    20
#
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    21
# Copyright (c) 2016, Oracle and/or its affiliates. All rights reserved.
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    22
#
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    23
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    24
BUILD_BITS=		64_and_32
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    25
# Upstream requires gcc flags that Studio doesn't support
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    26
COMPILER=		gcc
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    27
include ../../../make-rules/shared-macros.mk
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    28
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    29
COMPONENT_NAME=		flac
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    30
COMPONENT_VERSION=	1.3.1
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    31
COMPONENT_PROJECT_URL=	https://xiph.org/flac/
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    32
COMPONENT_ARCHIVE=	$(COMPONENT_SRC).tar.xz
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    33
COMPONENT_ARCHIVE_HASH= \
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    34
	sha256:4773c0099dba767d963fd92143263be338c48702172e8754b9bc5103efe1c56c
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    35
COMPONENT_ARCHIVE_URL=	http://downloads.xiph.org/releases/flac/$(COMPONENT_ARCHIVE)
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    36
COMPONENT_BUGDB=	gnome/multimedia
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    37
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    38
TPNO=			27270
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    39
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    40
# tests work but take hours to run and use a lot of disk space
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    41
TEST_TARGET = $(SKIP_TEST)
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    42
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    43
include $(WS_MAKE_RULES)/common.mk
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    44
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    45
CONFIGURE_OPTIONS += --enable-ogg
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    46
6740
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents: 6588
diff changeset
    47
REQUIRED_PACKAGES += codec/libogg
b9a930b724d2 23245483 Move libvorbis 1.3.3 to Userland
Jay Cotton <Jay.Cotton@Oracle.COM>
parents: 6588
diff changeset
    48
REQUIRED_PACKAGES += codec/libvorbis
6588
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    49
REQUIRED_PACKAGES += codec/ogg-vorbis
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    50
REQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    51
REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime
7c53fb3c7c1e 23245285 Move codec/flac to Userland and update to 1.3.1
Alan Coopersmith <Alan.Coopersmith@Oracle.COM>
parents:
diff changeset
    52
REQUIRED_PACKAGES += system/library/math