diff options
Diffstat (limited to 'media-libs/libechonest/files/libechonest-2.2.0-always_use_QJSON_LIBRARIES.patch')
-rw-r--r-- | media-libs/libechonest/files/libechonest-2.2.0-always_use_QJSON_LIBRARIES.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/media-libs/libechonest/files/libechonest-2.2.0-always_use_QJSON_LIBRARIES.patch b/media-libs/libechonest/files/libechonest-2.2.0-always_use_QJSON_LIBRARIES.patch new file mode 100644 index 000000000000..9edd035979c7 --- /dev/null +++ b/media-libs/libechonest/files/libechonest-2.2.0-always_use_QJSON_LIBRARIES.patch @@ -0,0 +1,23 @@ +http://bugs.gentoo.org/show_bug.cgi?id=503656#c4 +http://github.com/lfranchi/libechonest/pull/14 + +--- src/CMakeLists.txt ++++ src/CMakeLists.txt +@@ -40,16 +40,8 @@ + + QT_WRAP_CPP( ${LIBECHONEST_H} ) + +-SET( OS_SPECIFIC_LINK_LIBRARIES "" ) +-IF( APPLE OR MINGW ) +- SET( OS_SPECIFIC_LINK_LIBRARIES ${QJSON_LIBRARIES} ) +-ELSE( APPLE OR MINGW ) +- SET( OS_SPECIFIC_LINK_LIBRARIES ${QJSON_LDFLAGS} ) +-ENDIF( APPLE OR MINGW ) +- +- + add_library( echonest SHARED ${LIBECHONEST_SRC} ) +-target_link_libraries( echonest ${OS_SPECIFIC_LINK_LIBRARIES} ${QT_QTCORE_LIBRARY} ${QT_QTNETWORK_LIBRARY} ) ++target_link_libraries( echonest ${QT_QTCORE_LIBRARY} ${QT_QTNETWORK_LIBRARY} ${QJSON_LIBRARIES} ) + set_target_properties( echonest PROPERTIES VERSION ${ECHONEST_LIB_VERSION} SOVERSION ${ECHONEST_LIB_VERSION_SONAME} ) + qt5_use_modules( echonest Core Network Xml ) + install( TARGETS echonest RUNTIME DESTINATION bin |