From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] proj/kde:master commit in: kde-apps/libkcompactdisc/files/
Date: Sun, 16 Apr 2017 20:19:45 +0000 (UTC) [thread overview]
Message-ID: <1492373902.9a8b5e7ac652dba8749de23792f2256d96091755.asturm@gentoo> (raw)
commit: 9a8b5e7ac652dba8749de23792f2256d96091755
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 16 20:18:22 2017 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Apr 16 20:18:22 2017 +0000
URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=9a8b5e7a
kde-apps/libkcompactdisc: Fix ALSA linking as well
Package-Manager: Portage-2.3.3, Repoman-2.3.1
.../files/libkcompactdisc-17.04.0-no-alsa.patch | 23 ++++++++++++++++++----
1 file changed, 19 insertions(+), 4 deletions(-)
diff --git a/kde-apps/libkcompactdisc/files/libkcompactdisc-17.04.0-no-alsa.patch b/kde-apps/libkcompactdisc/files/libkcompactdisc-17.04.0-no-alsa.patch
index e2bb2c11d3..6bebf88e7c 100644
--- a/kde-apps/libkcompactdisc/files/libkcompactdisc-17.04.0-no-alsa.patch
+++ b/kde-apps/libkcompactdisc/files/libkcompactdisc-17.04.0-no-alsa.patch
@@ -1,21 +1,36 @@
-commit 082b1637c6720a0955855a92a037cd033568ddf1
+commit bb427b44150e23e618209334d826d389b903ac8a
Author: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
Date: Sun Apr 16 21:23:58 2017 +0200
Fix build without ALSA again
+
+ Signed-off-by: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
-index b25c7d7..c32f1f7 100644
+index b25c7d7..c89e9dd 100644
--- a/src/CMakeLists.txt
+++ b/src/CMakeLists.txt
-@@ -13,7 +13,9 @@ set_package_properties(ALSA PROPERTIES
+@@ -12,8 +12,10 @@ set_package_properties(ALSA PROPERTIES
+ DESCRIPTION "ALSA provides audio and MIDI functionality"
TYPE OPTIONAL
PURPOSE "Play back audo CDs via ALSA")
- set(HAVE_ALSA ${ALSA_FOUND})
+-set(HAVE_ALSA ${ALSA_FOUND})
-configure_file(config-alsa.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-alsa.h)
+if(ALSA_FOUND)
++ add_definitions(-DHAVE_ALSA)
+ configure_file(config-alsa.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-alsa.h)
+endif(ALSA_FOUND)
set(wmlib_audio_SRCS
wmlib/audio/audio.c
+@@ -79,8 +81,8 @@ target_link_libraries(KF5CompactDisc
+ Phonon::phonon4qt5
+ )
+
+-if (HAVE_ALSA)
+- target_link_libraries(KF5CompactDisc ${ALSA_LIBRARY})
++if (ALSA_FOUND)
++ target_link_libraries(KF5CompactDisc ${ALSA_LIBRARIES})
+ endif ()
+
+ if (USE_WMLIB)
next reply other threads:[~2017-04-16 20:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-16 20:19 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2017-04-17 10:43 [gentoo-commits] proj/kde:master commit in: kde-apps/libkcompactdisc/files/ Andreas Sturmlechner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1492373902.9a8b5e7ac652dba8749de23792f2256d96091755.asturm@gentoo \
--to=asturm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox