pulseaudio: fix dependencies for openssl-3
[oi-userland.git] / components / encumbered / libdca / Makefile
blob48e79ea79cafcc76fa4b472742f3352095ce2cb1
2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"), version 1.0.
4 # You may only use this file in accordance with the terms of version
5 # 1.0 of the CDDL.
7 # A full copy of the text of the CDDL should have accompanied this
8 # source. A copy of the CDDL is also available via the Internet at
9 # http://www.illumos.org/license/CDDL.
13 # Copyright 2015 Alexander Pyhalov
16 BUILD_BITS=64
17 include ../../../make-rules/shared-macros.mk
19 COMPONENT_NAME= libdca
20 COMPONENT_VERSION= 0.0.7
21 COMPONENT_REVISION= 1
22 COMPONENT_FMRI= library/audio/libdca
23 COMPONENT_CLASSIFICATION=System/Multimedia Libraries
24 COMPONENT_SUMMARY= A free library for decoding DTS Coherent Acoustics streams
25 COMPONENT_SRC= $(COMPONENT_NAME)-$(COMPONENT_VERSION)
26 COMPONENT_ARCHIVE= $(COMPONENT_SRC).tar.bz2
27 COMPONENT_ARCHIVE_HASH= sha256:3a0b13815f582c661d2388ffcabc2f1ea82f471783c400f765f2ec6c81065f6a
28 COMPONENT_ARCHIVE_URL= https://download.videolan.org/pub/videolan/libdca/$(COMPONENT_VERSION)/$(COMPONENT_ARCHIVE)
29 COMPONENT_PROJECT_URL= https://www.videolan.org/developers/libdca.html
30 COMPONENT_LICENSE= LGPLv2.1
31 COMPONENT_LICENSE_FILE= COPYING
33 TEST_TARGET= $(NO_TESTS)
34 include $(WS_MAKE_RULES)/encumbered.mk
35 include $(WS_MAKE_RULES)/common.mk
37 CFLAGS += $($(COMPILER)_PIC)
39 COMPONENT_PRE_CONFIGURE_ACTION = \
40 ($(CLONEY) $(SOURCE_DIR) $(@D))
42 COMPONENT_PREP_ACTION = \
43 (cd $(@D) ; autoreconf -fi)
45 CONFIGURE_OPTIONS += --enable-shared
46 CONFIGURE_OPTIONS += --disable-static
48 # Auto-generated dependencies
49 REQUIRED_PACKAGES += shell/ksh93
50 REQUIRED_PACKAGES += system/library
51 REQUIRED_PACKAGES += system/library/math