developer/check: configure: WARNING: filterdiff not installed; build will not be...
[oi-userland.git] / components / multimedia / sox / Makefile
blob109cd6e3f7137fe1588245eec6574b72d330cf51
2 # CDDL HEADER START
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.
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.
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]
19 # CDDL HEADER END
23 # Copyright (c) 2011, 2012, Oracle and/or its affiliates. All rights reserved.
26 include ../../../make-rules/shared-macros.mk
28 COMPONENT_NAME= sox
29 COMPONENT_VERSION= 14.4.2
30 COMPONENT_REVISION= 1
31 COMPONENT_SUMMARY= Sound eXchange, the Swiss Army knife of audio manipulation
32 COMPONENT_PROJECT_URL= https://sox.sourceforge.net/
33 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
34 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
35 COMPONENT_ARCHIVE_HASH= sha256:81a6956d4330e75b5827316e44ae381e6f1e8928003c6aa45896da9041ea149c
36 COMPONENT_ARCHIVE_URL= https://downloads.sourceforge.net/project/$(COMPONENT_NAME)/$(COMPONENT_NAME)/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
37 COMPONENT_FMRI= audio/$(COMPONENT_NAME)
38 COMPONENT_CLASSIFICATION= Applications/Sound and Video
39 COMPONENT_LICENSE= GPL-2.0-only AND LGPL-2.1-only
41 include $(WS_MAKE_RULES)/common.mk
43 # We patched configure.ac so we need to run autoreconf
44 COMPONENT_PREP_ACTION = ( cd $(@D) && PATH="$(PATH)" autoreconf -f )
46 CONFIGURE_OPTIONS += --disable-static
47 CONFIGURE_OPTIONS += --with-lame
48 CONFIGURE_OPTIONS += --with-twolame
49 # Avoid dependencies on encumbered packages
50 CONFIGURE_OPTIONS += --without-mad
52 COMPONENT_TEST_TARGETS = installcheck
54 # Normalize test results
55 COMPONENT_TEST_TRANSFORMS += "-e '/^make\[/d'" # delete make logs
56 COMPONENT_TEST_TRANSFORMS += "-e '/^Making installcheck in/d'" # delete make logs
57 COMPONENT_TEST_TRANSFORMS += "-e 's/ [.0-9]\{1,\}s$$//'" # timing
59 # Auto-generated dependencies
60 REQUIRED_PACKAGES += $(GCC_RUNTIME_PKG)
61 REQUIRED_PACKAGES += audio/lame
62 REQUIRED_PACKAGES += audio/twolame
63 REQUIRED_PACKAGES += audio/wavpack
64 REQUIRED_PACKAGES += codec/flac
65 REQUIRED_PACKAGES += image/library/libpng16
66 REQUIRED_PACKAGES += library/audio/libao
67 REQUIRED_PACKAGES += library/audio/pulseaudio
68 REQUIRED_PACKAGES += library/libogg
69 REQUIRED_PACKAGES += library/libsndfile
70 REQUIRED_PACKAGES += library/libtool/libltdl
71 REQUIRED_PACKAGES += library/libvorbis
72 REQUIRED_PACKAGES += library/magic
73 REQUIRED_PACKAGES += library/zlib
74 REQUIRED_PACKAGES += system/library
75 REQUIRED_PACKAGES += system/library/math