--- /dev/null
+commit 6509952dd6eff48d608a0e4124fa771bfaf53b53
+Author: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
+Date: Sun Apr 16 21:09:55 2017 +0200
+
+ Fix build without ALSA again
+
+diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
+index 30e6a98..fb79bdd 100644
+--- a/src/CMakeLists.txt
++++ b/src/CMakeLists.txt
+@@ -7,7 +7,10 @@ if(CMAKE_COMPILER_IS_GNUCXX)
+ endif()
+
+ find_package(Alsa)
+-alsa_configure_file(${CMAKE_CURRENT_BINARY_DIR}/config-alsa.h)
++if(ALSA_FOUND)
++ alsa_configure_file(${CMAKE_CURRENT_BINARY_DIR}/config-alsa.h)
++ add_definitions(-DHAVE_LIBASOUND2)
++endif(ALSA_FOUND)
+
+ set(wmlib_audio_SRCS
+ wmlib/audio/audio.c
--- /dev/null
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KDE_BLOCK_SLOT4="false"
+inherit kde5
+
+DESCRIPTION="Library for playing & ripping CDs"
+LICENSE="GPL-2+ LGPL-2+"
+KEYWORDS="~amd64 ~arm ~x86"
+IUSE="alsa"
+
+RDEPEND="
+ $(add_frameworks_dep kcoreaddons)
+ $(add_frameworks_dep ki18n)
+ $(add_frameworks_dep solid)
+ $(add_qt_dep qtdbus)
+ media-libs/phonon[qt5]
+ alsa? ( media-libs/alsa-lib )
+"
+DEPEND="${RDEPEND}
+ $(add_frameworks_dep kdelibs4support)
+"
+
+PATCHES=( "${FILESDIR}/${P}-no-alsa.patch" )
+
+src_configure() {
+ local mycmakeargs=(
+ $(cmake-utils_use_find_package alsa Alsa)
+ )
+ kde5_src_configure
+}