2 # This file and its contents are supplied under the terms of the
3 # Common Development and Distribution License ("CDDL"). You may
4 # only use this file in accordance with the terms of the CDDL.
6 # A full copy of the text of the CDDL should have accompanied this
7 # source. A copy of the CDDL is also available via the Internet at
8 # http://www.illumos.org/license/CDDL.
12 # Copyright 2017 Aurelien Larcher
16 include ..
/..
/..
/make-rules
/shared-macros.mk
19 COMPONENT_VERSION
= 1.2.2
21 COMPONENT_SUMMARY
= libao
- cross-platform audio library
22 COMPONENT_PROJECT_URL
= https
://www.xiph.org
/ao
/
23 COMPONENT_FMRI
= library
/audio
/libao
24 COMPONENT_CLASSIFICATION
= System
/Multimedia Libraries
25 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
26 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.gz
27 COMPONENT_ARCHIVE_URL
= https
://github.com
/xiph
/libao
/archive
/$(COMPONENT_VERSION
).
tar.gz
28 COMPONENT_ARCHIVE_HASH
= sha256
:df8a6d0e238feeccb26a783e778716fb41a801536fe7b6fce068e313c0e2bf4d
29 COMPONENT_LICENSE
= GPL-2.0
-only
30 COMPONENT_LICENSE_FILE
= COPYING
32 TEST_TARGET
= $(NO_TESTS
)
33 include $(WS_MAKE_RULES
)/common.mk
35 COMPONENT_PREP_ACTION
= ( cd
$(@D
); PATH
="$(PATH)" sh autogen.sh
)
37 # Auto-generated dependencies
38 REQUIRED_PACKAGES
+= library
/audio
/pulseaudio
39 REQUIRED_PACKAGES
+= system
/library