]>
Commit | Line | Data |
---|---|---|
d97dc0b8 | 1 | diff -urN amarok-2.4.0.90.orig/CMakeLists.txt amarok-2.4.0.90/CMakeLists.txt |
2 | --- amarok-2.4.0.90.orig/CMakeLists.txt 2011-04-19 00:03:27.910000016 +0000 | |
3 | +++ amarok-2.4.0.90/CMakeLists.txt 2011-04-19 00:06:17.466666683 +0000 | |
4 | @@ -105,6 +105,10 @@ | |
5 | macro_optional_find_package(QJSON) | |
6 | macro_log_feature( QJSON_FOUND "QJson" "Qt JSON Parser used for the Playdar Collection" "http://qjson.sourceforge.net/" FALSE "" "" ) | |
7 | ||
8 | + # HUpnp is required for the upnp plugin | |
9 | + macro_optional_find_package(HUpnp) | |
10 | + macro_log_feature ( HUPNP_FOUND "HUpnp" "HUpnp is an universal Plug and Play Library" "http://herqq.org/" FALSE "" "" ) | |
11 | + | |
12 | # macro_optional_find_package(Strigi) | |
13 | # macro_log_feature( STRIGI_FOUND "strigi" "Index metadata of files" "http://strigi.sourceforge.net" FALSE "" "" ) | |
14 | ||
15 | diff -urN amarok-2.4.0.90.orig/src/core-impl/collections/CMakeLists.txt amarok-2.4.0.90/src/core-impl/collections/CMakeLists.txt | |
16 | --- amarok-2.4.0.90.orig/src/core-impl/collections/CMakeLists.txt 2011-04-19 00:03:27.940000015 +0000 | |
17 | +++ amarok-2.4.0.90/src/core-impl/collections/CMakeLists.txt 2011-04-19 00:07:06.753333348 +0000 | |
18 | @@ -25,4 +25,6 @@ | |
19 | if( QJSON_FOUND ) | |
20 | add_subdirectory( playdarcollection ) | |
21 | endif( QJSON_FOUND ) | |
22 | -add_subdirectory( upnpcollection ) | |
23 | +if( HUPNP_FOUND ) | |
24 | + add_subdirectory( upnpcollection ) | |
25 | +endif( HUPNP_FOUND ) | |
26 | diff -urN amarok-2.4.0.90.orig/cmake/modules/FindHUpnp.cmake amarok-2.4.0.90/cmake/modules/FindHUpnp.cmake | |
27 | --- amarok-2.4.0.90.orig/cmake/modules/FindHUpnp.cmake 2011-04-19 01:59:14.313333349 +0000 | |
28 | +++ amarok-2.4.0.90/cmake/modules/FindHUpnp.cmake 2011-04-19 02:14:13.670000016 +0000 | |
29 | @@ -6,7 +6,7 @@ | |
30 | # HUPNP_LIBRARIES | |
31 | # HUPNP_FOUND | |
32 | ||
33 | -find_path(HUPNP_INCLUDE_DIR HUpnp HINTS ${KDE4_INCLUDE_DIR}) | |
34 | +find_path(HUPNP_INCLUDE_DIR HUpnp HINTS ${KDE4_INCLUDE_DIR} /usr/include/HUpnpCore) | |
35 | ||
36 | find_library(HUPNP_LIBRARIES HUpnp PATHS ${KDE4_LIB_DIR}) |