diff options
Diffstat (limited to 'packages/media-sound')
-rw-r--r-- | packages/media-sound/mpd/mpd-0.20.20.exheres-0 | 11 | ||||
-rw-r--r-- | packages/media-sound/mpd/mpd-scm.exheres-0 | 16 | ||||
-rw-r--r-- | packages/media-sound/mpd/mpd.exlib | 207 | ||||
-rw-r--r-- | packages/media-sound/pulseaudio/files/pulse-rt.conf | 8 | ||||
-rw-r--r-- | packages/media-sound/pulseaudio/files/pulseaudio-support-elogind.patch | 80 | ||||
-rw-r--r-- | packages/media-sound/pulseaudio/pulseaudio-12.0.exheres-0 | 12 | ||||
-rw-r--r-- | packages/media-sound/pulseaudio/pulseaudio-scm.exheres-0 | 7 | ||||
-rw-r--r-- | packages/media-sound/pulseaudio/pulseaudio.exlib | 210 |
8 files changed, 0 insertions, 551 deletions
diff --git a/packages/media-sound/mpd/mpd-0.20.20.exheres-0 b/packages/media-sound/mpd/mpd-0.20.20.exheres-0 deleted file mode 100644 index 28d993f..0000000 --- a/packages/media-sound/mpd/mpd-0.20.20.exheres-0 +++ /dev/null @@ -1,11 +0,0 @@ -# Copyright 2008 Richard Brown -# Copyright 2009 Bo Ørsted Andresen -# Copyright 2009 Thomas Anderson -# Copyright 2011 Ali Polatel -# Copyright 2011-2012 Quentin "Sardem FF7" Glidic <sardemff7@exherbo.org> -# Distributed under the terms of the GNU General Public License v2 - -require mpd - -PLATFORMS="~amd64 ~x86" - diff --git a/packages/media-sound/mpd/mpd-scm.exheres-0 b/packages/media-sound/mpd/mpd-scm.exheres-0 deleted file mode 100644 index e590309..0000000 --- a/packages/media-sound/mpd/mpd-scm.exheres-0 +++ /dev/null @@ -1,16 +0,0 @@ -# Copyright 2008 Richard Brown -# Copyright 2009 Bo Ørsted Andresen -# Copyright 2009 Thomas Anderson -# Copyright 2011 Ali Polatel -# Copyright 2011-2012 Quentin "Sardem FF7" Glidic <sardemff7@exherbo.org> -# Distributed under the terms of the GNU General Public License v2 - -SCM_REPOSITORY="https://github.com/MusicPlayerDaemon/MPD.git" - -require mpd -require scm-git -require autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.15 1.13 1.12 1.11 ] need_libtool=false ] -DOWNLOADS="" - -PLATFORMS="~amd64 ~x86" - diff --git a/packages/media-sound/mpd/mpd.exlib b/packages/media-sound/mpd/mpd.exlib deleted file mode 100644 index 1f3b5b7..0000000 --- a/packages/media-sound/mpd/mpd.exlib +++ /dev/null @@ -1,207 +0,0 @@ -# Copyright 2008 Richard Brown -# Copyright 2009 Bo Ørsted Andresen -# Copyright 2009 Thomas Anderson -# Copyright 2011 Ali Polatel -# Copyright 2011-2012 Quentin "Sardem FF7" Glidic <sardemff7@exherbo.org> -# Distributed under the terms of the GNU General Public License v2 - -require systemd-service - -SUMMARY="A flexible, powerful, server-side application for playing music" -DESCRIPTION=" -Music Player Daemon (MPD) is a flexible, powerful, server-side application for playing music. -Through plugins and libraries it can play a variety of sound files while being controlled by -its network protocol. -" -HOMEPAGE="https://www.musicpd.org" -DOWNLOADS="${HOMEPAGE}/download/${PN}/$(ever range -2)/${PNV}.tar.xz" - -UPSTREAM_RELEASE_NOTES="http://git.musicpd.org/cgit/master/${PN}.git/plain/NEWS?h=v${PV}" - -LICENCES="GPL-2" -SLOT="0" -MYOPTIONS="aac alsa avahi doc libsamplerate ogg openal pulseaudio sndfile tcpd - cdio [[ description = [ CD support through libcdio ] ]] - curl [[ description = [ Support obtaining song data via HTTP and enable the WebDAV storage plugin ] ]] - dsd [[ description = [ Support for decoding DSD ] ]] - id3 [[ description = [ Support for ID3 tags ] ]] - jack [[ description = [ Enable jack-audio-connection-kit audio output ] ]] - libmpdclient [[ description = [ Enable support for remote mpd databases ] ]] - mms [[ description = [ Microsoft Media Server protocol support ] ]] - nfs [[ description = [ Enable support for streaming music over a NFS share ] ]] - opus [[ description = [ Opus codec support ] requires = ogg ]] - samba [[ description = [ Enable support for streaming music over a SMB share ] ]] - shout [[ description = [ Enable support for streaming through shout (mp3, and ogg if ogg is enabled) ] ]] - soundcloud [[ description = [ SoundCloud.com support (input) ] ]] - soxr [[ description = [ Enable support for the libsoxr resampler ] ]] - sqlite [[ description = [ Enable support for storing the MPD database in an Sqlite database ] ]] - systemd [[ description = [ systemd socket activation support ] ]] - upnp [[ description = [ Support Service Discovery via UPnP ] ]] - zip [[ description = [ zip archive support ] ]] - ( - aac mp3 mikmod musepack wavpack - audiofile [[ description = [ Enable audiofile support, enables wave support ] ]] - ffmpeg [[ description = [ Enable the ffmpeg input plugin, allowing you to play all audio formats supported by ffmpeg/libav ] ]] - modplug [[ description = [ mod-like file format support ] ]] - ( flac shout vorbis ) [[ requires = ogg ]] - ) [[ number-selected = at-least-one ]] - ffmpeg? ( ( providers: ffmpeg libav ) [[ number-selected = exactly-one ]] ) -" - -DEPENDENCIES=" - build: - virtual/pkg-config - doc? ( - app-text/docbook-xml-dtd:4.2 - app-text/xmlto - app-doc/doxygen - ) - build+run: - app-arch/bzip2 - dev-libs/boost[>=1.46] - dev-libs/expat - dev-libs/glib:2[>=2.28] - dev-libs/icu:= - aac? ( media-libs/faad2 ) - alsa? ( sys-sound/alsa-lib[>=0.9.0] ) - audiofile? ( media-libs/audiofile[>=0.3] ) - avahi? ( net-dns/avahi ) - cdio? ( - dev-libs/libcdio - dev-libs/libcdio-paranoia - ) - curl? ( net-misc/curl[>=7.18] ) - flac? ( media-libs/flac[>=1.2][ogg?] ) - id3? ( media-libs/libid3tag ) - jack? ( media-sound/jack-audio-connection-kit ) - libmpdclient? ( media-libs/libmpdclient[>=2.2] ) - libsamplerate? ( media-libs/libsamplerate[>=0.1.3] ) - mms? ( media-libs/libmms[>=0.4] ) - mikmod? ( media-libs/libmikmod[>=3.3.6] ) - modplug? ( media-libs/libmodplug ) - mp3? ( - media-libs/libmad - media-sound/lame - ) - musepack? ( media-libs/musepack ) - nfs? ( net-fs/libnfs ) - ogg? ( media-libs/libogg ) - openal? ( media-libs/openal ) - opus? ( media-libs/opus ) - ffmpeg? ( - providers:ffmpeg? ( media/ffmpeg ) - providers:libav? ( media/libav ) - ) - pulseaudio? ( media-sound/pulseaudio[>=0.9.16] ) - samba? ( net-fs/samba ) - shout? ( media-libs/libshout ) - sndfile? ( media-libs/libsndfile ) - soundcloud? ( dev-libs/yajl[>=2.0] ) - soxr? ( media-libs/soxr ) - sqlite? ( dev-db/sqlite:3[>=3.7.3] ) - systemd? ( sys-apps/systemd ) - tcpd? ( sys-apps/tcp-wrappers ) - upnp? ( - net-libs/libupnp - ) - vorbis? ( media-libs/libvorbis ) - wavpack? ( media-sound/wavpack ) - zip? ( dev-libs/zziplib[>=0.13] ) - test: - dev-cpp/cppunit - suggestion: - media-sound/ario [[ description = [ Provides rhythmbox-like client ] ]] - media-sound/gmpc [[ description = [ Provides fast and fully featured GTK-based client ] ]] - media-sound/mpc [[ description = [ Provides command line client ] ]] - media-sound/mpdcron [[ description = [ Executes scripts based on mpd's idle events ] ]] - media-sound/ncmpc [[ description = [ Provides ncurses based command line client ] ]] - media-sound/pms [[ description = [ Provides an alternative ncurses based command line client ] ]] - media-sound/qmpdclient [[ description = [ Provides simple QT client ] ]] - media-sound/sonata [[ description = [ Provides an elegant GTK-based client ] ]] - sys-sound/oss [[ description = [ Provides an alternative sound architecture instead of ALSA ] ]] -" - -DEFAULT_SRC_CONFIGURE_PARAMS=( - --enable-bzip2 - --enable-cue - --enable-daemon - --enable-database - --enable-expat - --enable-fifo - --enable-httpd-output - --enable-icu - --enable-inotify - --enable-ipv6 - --enable-oss - --enable-pipe-output - --enable-recorder-output - --enable-syslog - --enable-tcp - --enable-un - --enable-wave-encoder - --disable-adplug - --disable-ao - --disable-fluidsynth - --disable-gme - --disable-haiku - --disable-iconv - --disable-iso9660 - --disable-mpg123 - --disable-roar - --disable-shine-encoder - --disable-sidplay - --disable-sndio - --disable-twolame-encoder - --disable-werror - --disable-wildmidi - --without-tremor -) - -DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=( - aac - alsa - audiofile - 'cdio cdio-paranoia' - curl - 'curl webdav' - 'doc documentation' - dsd - ffmpeg - flac - id3 - jack - libmpdclient - 'libsamplerate lsr' - mms - mikmod - modplug - 'mp3 mad' - 'mp3 lame-encoder' - 'musepack mpc' - nfs - vorbis - 'vorbis vorbis-encoder' - openal - opus - 'pulseaudio pulse' - 'samba smbclient' - shout - sndfile - soundcloud - soxr - sqlite - 'systemd systemd-daemon' - 'tcpd libwrap' - upnp - wavpack - 'zip zzip' -) - -DEFAULT_SRC_CONFIGURE_TESTS=( '--enable-test --disable-test' ) - -DEFAULT_SRC_CONFIGURE_OPTION_WITHS=( - 'avahi zeroconf avahi' - "systemd systemdsystemunitdir ${SYSTEMDSYSTEMUNITDIR}" - "systemd systemduserunitdir ${SYSTEMDUSERUNITDIR}" -) - diff --git a/packages/media-sound/pulseaudio/files/pulse-rt.conf b/packages/media-sound/pulseaudio/files/pulse-rt.conf deleted file mode 100644 index 646f291..0000000 --- a/packages/media-sound/pulseaudio/files/pulse-rt.conf +++ /dev/null @@ -1,8 +0,0 @@ -# /etc/security/limits.d/pulse-rt.conf - -# Define capability limits for the pulse-rt group - -# setrlimit -@pulse-rt - rtprio 9 -@pulse-rt - rtprio -11 - diff --git a/packages/media-sound/pulseaudio/files/pulseaudio-support-elogind.patch b/packages/media-sound/pulseaudio/files/pulseaudio-support-elogind.patch deleted file mode 100644 index c30ce96..0000000 --- a/packages/media-sound/pulseaudio/files/pulseaudio-support-elogind.patch +++ /dev/null @@ -1,80 +0,0 @@ -Upstream: No -Author: Rasmus Thomsen <cogitri@exherbo.org> -Reason: Support elogind session tracking -diff --git a/configure.ac b/configure.ac -index 77b5ff5..1f9709d 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -1220,6 +1220,11 @@ AC_ARG_ENABLE([systemd-login], - AC_ARG_ENABLE([systemd-journal], - AS_HELP_STRING([--disable-systemd-journal],[Disable optional systemd journal support])) - -+#### elogind support (optional) #### -+ -+AC_ARG_ENABLE([elogind-login], -+ AS_HELP_STRING([--disable-elogind-login],[Disable optional elogind login support])) -+ - # Newer systemd's combine their subcomponent libraries into one - # If it exists, we should use it for the further checks - -@@ -1267,6 +1272,19 @@ AC_SUBST(HAVE_SYSTEMD_LOGIN) - AM_CONDITIONAL([HAVE_SYSTEMD_LOGIN], [test "x$HAVE_SYSTEMD_LOGIN" = x1]) - AS_IF([test "x$HAVE_SYSTEMD_LOGIN" = "x1"], AC_DEFINE([HAVE_SYSTEMD_LOGIN], 1, [Have SYSTEMDLOGIN?])) - -+#### elogind login support (optional) #### -+ -+AS_IF([test "x$enable_elogind_login" != "xno"], -+ [AS_IF([test "x$HAVE_ELOGIND_LOGIN" != "x1"], [PKG_CHECK_MODULES(LIBELOGIND, [ libelogind ], HAVE_ELOGIND_LOGIN=1, HAVE_ELOGIND_LOGIN=0)])], -+ HAVE_ELOGIND_LOGIN=0) -+ -+AS_IF([test "x$enable_elogind_login" = "xyes" && test "x$HAVE_ELOGIND_LOGIN" = "x0"], -+ [AC_MSG_ERROR([*** Needed elogind login support not found])]) -+ -+AC_SUBST(HAVE_ELOGIND_LOGIN) -+AM_CONDITIONAL([HAVE_ELOGIND_LOGIN], [test "x$HAVE_ELOGIND_LOGIN" = x1]) -+AS_IF([test "x$HAVE_ELOGIND_LOGIN" = "x1"], AC_DEFINE([HAVE_ELOGIND_LOGIN], 1, [Have ELOGINDLOGIN?])) -+ - #### systemd journal support (optional) #### - - AS_IF([test "x$enable_systemd_journal" != "xno"], -@@ -1565,6 +1583,7 @@ AS_IF([test "x$HAVE_UDEV" = "x1"], ENABLE_UDEV=yes, ENABLE_UDEV=no) - AS_IF([test "x$HAVE_SYSTEMD_DAEMON" = "x1"], ENABLE_SYSTEMD_DAEMON=yes, ENABLE_SYSTEMD_DAEMON=no) - AS_IF([test "x$HAVE_SYSTEMD_LOGIN" = "x1"], ENABLE_SYSTEMD_LOGIN=yes, ENABLE_SYSTEMD_LOGIN=no) - AS_IF([test "x$HAVE_SYSTEMD_JOURNAL" = "x1"], ENABLE_SYSTEMD_JOURNAL=yes, ENABLE_SYSTEMD_JOURNAL=no) -+AS_IF([test "x$HAVE_ELOGIND_LOGIN" = "x1"], ENABLE_ELOGIND_LOGIN=yes, ENABLE_ELOGIND_LOGIN=no) - AS_IF([test "x$HAVE_BLUEZ_4" = "x1"], ENABLE_BLUEZ_4=yes, ENABLE_BLUEZ_4=no) - AS_IF([test "x$HAVE_BLUEZ_5" = "x1"], ENABLE_BLUEZ_5=yes, ENABLE_BLUEZ_5=no) - AS_IF([test "x$HAVE_BLUEZ_5_OFONO_HEADSET" = "x1"], ENABLE_BLUEZ_5_OFONO_HEADSET=yes, ENABLE_BLUEZ_5_OFONO_HEADSET=no) -diff --git a/src/Makefile.am b/src/Makefile.am -index 3ff1139..16ae3f6 100644 ---- a/src/Makefile.am -+++ b/src/Makefile.am -@@ -1421,6 +1421,11 @@ modlibexec_LTLIBRARIES += \ - module-systemd-login.la - endif - -+if HAVE_ELOGIND_LOGIN -+modlibexec_LTLIBRARIES += \ -+ module-systemd-login.la -+endif -+ - if HAVE_DBUS - modlibexec_LTLIBRARIES += \ - module-rygel-media-server.la \ -diff --git a/src/modules/module-systemd-login.c b/src/modules/module-systemd-login.c -index d15bee5..a8b0dc5 100644 ---- a/src/modules/module-systemd-login.c -+++ b/src/modules/module-systemd-login.c -@@ -28,7 +28,12 @@ - #include <stdlib.h> - #include <sys/types.h> - -+#ifdef HAVE_SYSTEMD_LOGIN - #include <systemd/sd-login.h> -+#endif -+#ifdef HAVE_ELOGIND_LOGIN -+#include <elogind/sd-login.h> -+#endif - - #include <pulse/xmalloc.h> - diff --git a/packages/media-sound/pulseaudio/pulseaudio-12.0.exheres-0 b/packages/media-sound/pulseaudio/pulseaudio-12.0.exheres-0 deleted file mode 100644 index 04fdd82..0000000 --- a/packages/media-sound/pulseaudio/pulseaudio-12.0.exheres-0 +++ /dev/null @@ -1,12 +0,0 @@ -# Copyright 2009 Saleem Abdulrasool <compnerd@compnerd.org> -# Distributed under the terms of the GNU General Public License v2 - -require pulseaudio - -PLATFORMS="~amd64 ~x86" - -DEFAULT_SRC_PREPARE_PATCHES+=( - "${FILES}"/pulseaudio-support-elogind.patch -) - - diff --git a/packages/media-sound/pulseaudio/pulseaudio-scm.exheres-0 b/packages/media-sound/pulseaudio/pulseaudio-scm.exheres-0 deleted file mode 100644 index 33e7121..0000000 --- a/packages/media-sound/pulseaudio/pulseaudio-scm.exheres-0 +++ /dev/null @@ -1,7 +0,0 @@ -# Copyright 2009 Saleem Abdulrasool <compnerd@compnerd.org> -# Distributed under the terms of the GNU General Public License v2 - -require pulseaudio - -PLATFORMS="~amd64 ~x86" - diff --git a/packages/media-sound/pulseaudio/pulseaudio.exlib b/packages/media-sound/pulseaudio/pulseaudio.exlib deleted file mode 100644 index ef6b0b5..0000000 --- a/packages/media-sound/pulseaudio/pulseaudio.exlib +++ /dev/null @@ -1,210 +0,0 @@ -# Copyright 2009 Saleem Abdulrasool <compnerd@compnerd.org> -# Distributed under the terms of the GNU General Public License v2 - -require bash-completion \ - option-renames [ renames=[ 'gtk3 gtk' 'systemd providers:systemd' ] ] \ - systemd-service \ - udev-rules \ - zsh-completion \ - autotools [ supported_autoconf=[ 2.5 ] supported_automake=[ 1.16 1.15 ] ] \ - gsettings - -export_exlib_phases src_prepare src_install - -SUMMARY="A sound server for POSIX and Win32 systems" -HOMEPAGE="https://www.freedesktop.org/wiki/Software/PulseAudio" - -if ever is_scm; then - DOWNLOADS="" - SCM_REPOSITORY="https://anongit.freedesktop.org/git/${PN}/${PN}.git" - require scm-git -else - DOWNLOADS="https://freedesktop.org/software/${PN}/releases/${PNV}.tar.xz" -fi - -REMOTE_IDS="freecode:${PN}" - -UPSTREAM_CHANGELOG="${HOMEPAGE}/Notes/${PV} [[ lang = en ]]" - -LICENCES=" - AGPL-3 [[ note = [ src/utils/qpaeq ] ]] - LGPL-2.1 - MIT [[ note = [ src/modules/reserve{-monitor,}.{c,h} src/modules/rtkit.{c,h} ] ]] - g711 [[ note = [ src/pulsecore/g711.c ] ]] - adrian-license [[ note = [ src/modules/echo-cancel/* ] ]] - as-is [[ note = [ src/pulsecore/g711.h ] ]] - - bluetooth? ( - GPL-2 [[ note = [ src/modules/bluetooth/{a2dp-codecs.h,proximity-helper.c}, everything using - the bluetooth module (libpulsecore and everything linking against it), see LICENSE ] ]] - LGPL-2.1 [[ note = [ the pulseaudio client lib (libpulse), see LICENSE ] ]] - ) -" -SLOT="0" -MYOPTIONS=" - X [[ description = [ Enable X session integration ] ]] - async-dns [[ description = [ Support for asynchronous name service queries ] ]] - avahi - bluetooth - caps - equalizer [[ description = [ Modules which need equalizer functions ] ]] - gtk - jack - journald - oss - tcpd - webrtc-aec [[ description = [ Alternative to speex for echo cancellation, has higher quality ] ]] - arm_cpu_features: neon - ( linguas: as be bn_IN ca cs de de_CH el es fi fr gl gu he hi hr hu id it ja kn ko lt ml mr nl - nn oc or pa pl pt pt_BR ru sk sr sr@latin sv ta te tr uk zh_CN zh_TW ) - ( providers: libressl openssl ) [[ number-selected = exactly-one ]] - ( providers: eudev systemd ) [[ number-selected = exactly-one ]] - ( providers: consolekit elogind systemd ) [[ - *description = [ Session tracking provider ] - number-selected = at-most-one - ]] -" - -DEPENDENCIES=" - build: - dev-util/intltool[>=0.35.0] - sys-devel/gettext[>=0.18.1] - virtual/pkg-config[>=0.20] - build+run: - group/audio - group/pulse - group/pulse-access - group/pulse-rt - user/pulse - dev-libs/glib:2[>=2.26.0] - dev-libs/orc:0.4[>=0.4.16] [[ - note = [ dev-libs/orc-0.4.15 is known to cause freezes, see https://bugs.freedesktop.org/show_bug.cgi?id=41589 ] - ]] - media-libs/libsndfile[>=1.0.20] - media-libs/soxr[>=0.1.1] - media-libs/speexdsp - sys-apps/dbus[>=1.4.12][providers:consolekit?][providers:elogind?][providers:systemd?] - sys-devel/libtool[>=2.4] - sys-libs/gdbm - sys-sound/alsa-lib[>=1.0.19] - X? ( - x11-libs/libICE - x11-libs/libSM - x11-libs/libX11[xcb(+)] - x11-libs/libxcb[>=1.6] - x11-libs/libXtst - x11-utils/xcb-util - ) - async-dns? ( net-libs/libasyncns[>=0.1] ) - avahi? ( net-dns/avahi[>=0.6.0][dbus] ) - bluetooth? ( - media-libs/sbc[>=1.0] - net-wireless/bluez[>=5.0] - ) - caps? ( sys-libs/libcap ) - equalizer? ( sci-libs/fftw ) - gtk? ( x11-libs/gtk+:3[>=3.0] ) - jack? ( media-sound/jack-audio-connection-kit[>=0.117] ) - journald? ( sys-apps/systemd[>=165] ) - providers:elogind? ( sys-auth/elogind[>=165] ) - providers:eudev? ( sys-apps/eudev ) - providers:libressl? ( dev-libs/libressl:= ) - providers:openssl? ( dev-libs/openssl ) - providers:systemd? ( sys-apps/systemd[>=165] ) - tcpd? ( sys-apps/tcp-wrappers ) - webrtc-aec? ( media-libs/webrtc-audio-processing[>=0.2] ) - run: - providers:consolekit? ( sys-auth/ConsoleKit2 ) - test: - dev-libs/check[>=0.9.10] - suggestion: - media-sound/pavucontrol [[ description = [ Provides a simple GTK based volume mixer tool ] ]] - media-sound/pulseaudio-dlna [[ description = [ Stream to DLNA/UPNP and Chromecast devices via PulseAudio ] ]] - sys-sound/oss [[ description = [ Provides an alternative sound architecture instead of ALSA ] ]] - sound-themes/sound-theme-freedesktop [[ description = [ Sample PulseAudio event sounds mentioned in default.pa ] ]] -" - - -DEFAULT_SRC_CONFIGURE_PARAMS=( - --localstatedir=/var - --enable-alsa # udev needs alsa or oss support - --enable-dbus # recommended by upstream - --enable-glib2 - --enable-gsettings # We already depend on glib anyway and this just builds a module - --enable-ipv6 - --enable-manpages - --enable-memfd - --enable-openssl - --enable-udev - --disable-adrian-aec # alternative to speex - --disable-bluez4 - --disable-bluez5-ofono-headset - --disable-esound - --disable-gconf - --disable-lirc - --disable-per-user-esound-socket - --disable-samplerate - --disable-solaris - --with-database=gdbm # alternative tdb or simple - --with-speex # recommended and default resampler - --with-soxr # will eventually replace speex as the default resampler - --with-systemduserunitdir="${SYSTEMDUSERUNITDIR}" - --with-udev-rules-dir="${UDEVRULESDIR}" - CFLAGS="${CFLAGS} -D_GNU_SOURCE" -) - -DEFAULT_SRC_CONFIGURE_OPTION_ENABLES=( - 'X x11' - 'arm_cpu_features:neon neon-opt' - 'async-dns asyncns' - avahi - 'bluetooth bluez5' - 'bluetooth bluez5-native-headset' - 'gtk gtk3' - jack - 'journald systemd-journal' - 'oss oss-output' - 'oss oss-wrapper' - 'providers:elogind elogind-login' - 'providers:systemd systemd-daemon' - 'providers:systemd systemd-login' - 'tcpd tcpwrap' - webrtc-aec -) -DEFAULT_SRC_CONFIGURE_OPTION_WITHS=( - "bash-completion bash-completion-dir /usr/share/bash-completion/completions" - caps - "equalizer fftw" - "zsh-completion zsh-completion-dir /usr/share/zsh/site-functions" -) -DEFAULT_SRC_CONFIGURE_TESTS=( '--enable-tests --disable-tests' ) - -AT_M4DIR=( m4 ) - -pulseaudio_src_prepare() { - # Pulseaudio i18n is weird - edo mkdir -p build-aux - edo touch build-aux/config.rpath - - edo intltoolize --automake --copy --force - autotools_src_prepare -} - -pulseaudio_src_install() { - default - - # keep the administrator's override directives directories - keepdir /etc/pulse/{client,daemon}.conf.d - - insinto /etc/security/limits.d/ - doins "${FILES}"/pulse-rt.conf - - keepdir /usr/$(exhost --target)/libexec/pulse - - option providers:systemd || option providers:elogind && edo sed \ - -e '/module-console-kit/,/.endif/{ /^#/!{ s/^/#/ } }' \ - -i "${IMAGE}"/etc/pulse/default.pa - - ! option zsh-completion && edo rm -r "${IMAGE}"/no -} - |