diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-06-20 19:17:08 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-06-20 19:17:08 +0100 |
commit | 1941d371dc945a34f7070c341af1392edb5ca3a9 (patch) | |
tree | e827c75ecfe184ed595a64cc562c654341edf373 /x11-misc/i3status/files/0003-conditionally-compile-pulse.c-only-when-using-pulsea.patch | |
parent | 332b9eb4903f99b0e65722058ce481fdc21b93d3 (diff) |
gentoo auto-resync : 20:06:2023 - 19:17:08
Diffstat (limited to 'x11-misc/i3status/files/0003-conditionally-compile-pulse.c-only-when-using-pulsea.patch')
-rw-r--r-- | x11-misc/i3status/files/0003-conditionally-compile-pulse.c-only-when-using-pulsea.patch | 56 |
1 files changed, 0 insertions, 56 deletions
diff --git a/x11-misc/i3status/files/0003-conditionally-compile-pulse.c-only-when-using-pulsea.patch b/x11-misc/i3status/files/0003-conditionally-compile-pulse.c-only-when-using-pulsea.patch deleted file mode 100644 index a1ac91ff8f21..000000000000 --- a/x11-misc/i3status/files/0003-conditionally-compile-pulse.c-only-when-using-pulsea.patch +++ /dev/null @@ -1,56 +0,0 @@ -From 1999d5cf555c6f373549840d40f8565dcabad93b Mon Sep 17 00:00:00 2001 -From: Michael Stapelberg <michael@stapelberg.de> -Date: Thu, 11 Jul 2019 15:23:08 +0200 -Subject: [PATCH 3/7] conditionally compile pulse.c only when using pulseaudio - -fixes #352 ---- - Makefile.am | 7 +++++-- - configure.ac | 3 +++ - 2 files changed, 8 insertions(+), 2 deletions(-) - -diff --git a/Makefile.am b/Makefile.am -index bb251f0..c2c1c0a 100644 ---- a/Makefile.am -+++ b/Makefile.am -@@ -68,8 +68,11 @@ i3status_SOURCES = \ - src/print_volume.c \ - src/print_wireless_info.c \ - src/print_file_contents.c \ -- src/process_runs.c \ -- src/pulse.c -+ src/process_runs.c -+ -+if PULSE -+i3status_SOURCES += src/pulse.c -+endif - - dist_sysconf_DATA = \ - i3status.conf -diff --git a/configure.ac b/configure.ac -index cf9e430..95009ac 100644 ---- a/configure.ac -+++ b/configure.ac -@@ -80,16 +80,19 @@ AC_CANONICAL_HOST - PKG_CHECK_MODULES([CONFUSE], [libconfuse]) - PKG_CHECK_MODULES([YAJL], [yajl]) - -+pulse=false - case $host_os in - linux*) - PKG_CHECK_MODULES([NLGENL], [libnl-genl-3.0]) - PKG_CHECK_MODULES([ALSA], [alsa]) - PKG_CHECK_MODULES([PULSE], [libpulse]) -+ pulse=true - ;; - netbsd*) - AC_SEARCH_LIBS([prop_string_create], [prop]) - ;; - esac -+AM_CONDITIONAL([PULSE], [test x$pulse = xtrue]) - - dnl TODO: check for libbsd for GNU/kFreeBSD - --- -2.26.2 - |