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
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 2017 Alexander Pyhalov
14 # Copyright 2019 Michal Nowak
19 include ..
/..
/..
/make-rules
/shared-macros.mk
21 COMPONENT_NAME
= pulseaudio
22 COMPONENT_VERSION
= 17.0
24 COMPONENT_SUMMARY
= Sample Rate Converter for audio
25 COMPONENT_SRC
= $(COMPONENT_NAME
)-$(COMPONENT_VERSION
)
26 COMPONENT_ARCHIVE
= $(COMPONENT_SRC
).
tar.xz
27 COMPONENT_ARCHIVE_HASH
= sha256
:053794d6671a3e397d849e478a80b82a63cb9d8ca296bd35b73317bb5ceb87b5
28 COMPONENT_ARCHIVE_URL
= https
://freedesktop.org
/software
/pulseaudio
/releases
/$(COMPONENT_ARCHIVE
)
29 COMPONENT_PROJECT_URL
= https
://www.freedesktop.org
/wiki
/Software
/PulseAudio
/
30 COMPONENT_FMRI
= library
/audio
/pulseaudio
31 COMPONENT_CLASSIFICATION
= System
/Multimedia Libraries
32 COMPONENT_LICENSE
= LGPLv2.1
,GPLv2
,MIT
,adrian-license
,Sun Public Domain license
34 include $(WS_MAKE_RULES
)/common.mk
38 # MESON_BUILDTYPE = debug
39 # COMPONENT_BUILD_ARGS += --verbose
40 LDFLAGS
+= -lnsl
-lsocket
42 CONFIGURE_OPTIONS
+= -Dhal-compat
=true
43 CONFIGURE_OPTIONS
+= -Dipv6
=true
44 CONFIGURE_OPTIONS
+= -Dopenssl
=enabled
45 CONFIGURE_OPTIONS
+= -Dorc
=enabled
46 CONFIGURE_OPTIONS
+= -Doss-output
=enabled
47 CONFIGURE_OPTIONS
+= -Ddatabase
=gdbm
48 CONFIGURE_OPTIONS
+= -Dzshcompletiondir
=/usr
/share
/zsh
/5.9/functions
/Completion
/Unix
49 CONFIGURE_OPTIONS
+= -Dsystem_user
=pulse
50 CONFIGURE_OPTIONS
+= -Dsystem_group
=pulse
51 CONFIGURE_OPTIONS
+= -Djack
=disabled
52 CONFIGURE_OPTIONS
+= -Dlirc
=disabled
53 CONFIGURE_OPTIONS
+= -Dbluez5
=disabled
54 CONFIGURE_OPTIONS
+= -Dgstreamer
=enabled
55 CONFIGURE_OPTIONS
+= -Dbluez5-gstreamer
=disabled
56 CONFIGURE_OPTIONS
+= -Dgsettings
=enabled
57 CONFIGURE_OPTIONS
+= -Dgtk
=disabled
58 CONFIGURE_OPTIONS
+= -Dsoxr
=enabled
59 CONFIGURE_OPTIONS
+= -Dwebrtc-aec
=disabled
60 CONFIGURE_OPTIONS
+= -Dsystemd
=disabled
61 CONFIGURE_OPTIONS
+= -Dtests
=true
63 CONFIGURE_ENV
+= CPPFLAGS
="$(CPPFLAGS)"
64 CONFIGURE_ENV
+= PYTHON
=$(PYTHON
)
65 CONFIGURE_ENV
+= GLIB_COMPILE_SCHEMAS
=/usr
/bin
/glib-compile-schemas
68 COMPONENT_TEST_TRANSFORMER
= $(NAWK
)
69 COMPONENT_TEST_TRANSFORMS
= "'/Ok|Fail:|Skipped|Unexpected Pass|Timeout/'"
71 # to prevent reconfigure before install
72 COMPONENT_PRE_INSTALL_ACTION
+= ( cd
$(@D
) && touch build.ninja
)
74 TEST_REQUIRED_PACKAGES
+= developer
/check
76 # Manually added dependencies (needed by qpaeq)
77 PYTHON_REQUIRED_PACKAGES
+= runtime
/python
78 PYTHON_REQUIRED_PACKAGES
+= library
/python
/sip
80 # Auto-generated dependencies
81 REQUIRED_PACKAGES
+= $(OPENSSL_PKG
)
82 REQUIRED_PACKAGES
+= library
/audio
/gstreamer1
83 REQUIRED_PACKAGES
+= library
/audio
/gstreamer1
/plugin
/base
84 REQUIRED_PACKAGES
+= library
/audio
/soxr
85 REQUIRED_PACKAGES
+= library
/database
/gdbm
86 REQUIRED_PACKAGES
+= library
/fftw-3
87 REQUIRED_PACKAGES
+= library
/glib2
88 REQUIRED_PACKAGES
+= library
/libsndfile
89 REQUIRED_PACKAGES
+= library
/libtool
/libltdl
90 REQUIRED_PACKAGES
+= library
/orc
91 REQUIRED_PACKAGES
+= library
/speexdsp
92 REQUIRED_PACKAGES
+= shell/bash
93 REQUIRED_PACKAGES
+= shell/ksh93
94 REQUIRED_PACKAGES
+= system
/library
95 REQUIRED_PACKAGES
+= system
/library
/libdbus
96 REQUIRED_PACKAGES
+= system
/library
/math
97 REQUIRED_PACKAGES
+= system
/network
/avahi
98 REQUIRED_PACKAGES
+= x11
/library
/libice
99 REQUIRED_PACKAGES
+= x11
/library
/libsm
100 REQUIRED_PACKAGES
+= x11
/library
/libx11
101 REQUIRED_PACKAGES
+= x11
/library
/libxcb
102 REQUIRED_PACKAGES
+= x11
/library
/libxtst