From: | "Ben de Groot (yngwin)" <yngwin@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in razorqt-base/razorqt-panel/files: razorqt-panel-0.5.1-automagic.patch |
Date: | Mon, 29 Oct 2012 16:07:44 |
Message-Id: | 20121029160735.2313921600@flycatcher.gentoo.org |
1 | yngwin 12/10/29 16:07:35 |
2 | |
3 | Added: razorqt-panel-0.5.1-automagic.patch |
4 | Log: |
5 | Fix automagic deps, bug #440136. Thanks to Enlik for patches. |
6 | |
7 | (Portage version: 2.2.0_alpha142/cvs/Linux x86_64, unsigned Manifest commit) |
8 | |
9 | Revision Changes Path |
10 | 1.1 razorqt-base/razorqt-panel/files/razorqt-panel-0.5.1-automagic.patch |
11 | |
12 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/razorqt-base/razorqt-panel/files/razorqt-panel-0.5.1-automagic.patch?rev=1.1&view=markup |
13 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/razorqt-base/razorqt-panel/files/razorqt-panel-0.5.1-automagic.patch?rev=1.1&content-type=text/plain |
14 | |
15 | Index: razorqt-panel-0.5.1-automagic.patch |
16 | =================================================================== |
17 | diff -ur razorqt-0.5.1.orig/razorqt-panel/CMakeLists.txt razorqt-0.5.1/razorqt-panel/CMakeLists.txt |
18 | --- razorqt-0.5.1.orig/razorqt-panel/CMakeLists.txt 2012-10-29 14:43:48.237180971 +0100 |
19 | +++ razorqt-0.5.1/razorqt-panel/CMakeLists.txt 2012-10-29 15:10:39.384567282 +0100 |
20 | @@ -33,7 +33,11 @@ |
21 | setByDefault(CPULOAD_PLUGIN Yes) |
22 | setByDefault(NETWORKMONITOR_PLUGIN Yes) |
23 | setByDefault(SENSORS_PLUGIN Yes) |
24 | + |
25 | setByDefault(VOLUME_PLUGIN Yes) |
26 | +# Options for the volume plugin. |
27 | +setByDefault(VOLUME_USE_PULSEAUDIO Yes) |
28 | +setByDefault(VOLUME_USE_ALSA Yes) |
29 | # ******************************************************************* |
30 | |
31 | |
32 | @@ -162,8 +166,13 @@ |
33 | endif (SENSORS_PLUGIN) |
34 | |
35 | if (VOLUME_PLUGIN) |
36 | - FIND_PACKAGE(PulseAudio) |
37 | - FIND_PACKAGE(ALSA) |
38 | + if (VOLUME_USE_PULSEAUDIO) |
39 | + FIND_PACKAGE(PulseAudio) |
40 | + endif (VOLUME_USE_PULSEAUDIO) |
41 | + |
42 | + if (VOLUME_USE_ALSA) |
43 | + FIND_PACKAGE(ALSA) |
44 | + endif (VOLUME_USE_ALSA) |
45 | |
46 | if (PULSEAUDIO_FOUND OR ALSA_FOUND) |
47 | set(ENABLED_PLUGINS ${ENABLED_PLUGINS} "Volume") |