|
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= 64_and_32 |
|
25 # Upstream requires gcc flags that Studio doesn't support |
|
26 COMPILER= gcc |
|
27 include ../../../make-rules/shared-macros.mk |
|
28 |
|
29 COMPONENT_NAME= flac |
|
30 COMPONENT_VERSION= 1.3.1 |
|
31 COMPONENT_PROJECT_URL= https://xiph.org/flac/ |
|
32 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.xz |
|
33 COMPONENT_ARCHIVE_HASH= \ |
|
34 sha256:4773c0099dba767d963fd92143263be338c48702172e8754b9bc5103efe1c56c |
|
35 COMPONENT_ARCHIVE_URL= http://downloads.xiph.org/releases/flac/$(COMPONENT_ARCHIVE) |
|
36 COMPONENT_BUGDB= gnome/multimedia |
|
37 |
|
38 TPNO= 27270 |
|
39 |
|
40 # tests work but take hours to run and use a lot of disk space |
|
41 TEST_TARGET = $(SKIP_TEST) |
|
42 |
|
43 include $(WS_MAKE_RULES)/common.mk |
|
44 |
|
45 CONFIGURE_OPTIONS += --enable-ogg |
|
46 |
|
47 REQUIRED_PACKAGES += codec/ogg-vorbis |
|
48 REQUIRED_PACKAGES += system/library/gcc/gcc-c++-runtime |
|
49 REQUIRED_PACKAGES += system/library/gcc/gcc-c-runtime |
|
50 REQUIRED_PACKAGES += system/library/math |