Fix ipod/Amarok compilation

git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/applications/amarok@1228288 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
v3.5.13-sru
tpearson 14 years ago
parent bd72b76ea2
commit e9db3e45ed

@ -15,6 +15,8 @@ include_directories(
${CMAKE_BINARY_DIR} ${CMAKE_BINARY_DIR}
${CMAKE_BINARY_DIR}/amarok/src ${CMAKE_BINARY_DIR}/amarok/src
${CMAKE_SOURCE_DIR}/amarok/src ${CMAKE_SOURCE_DIR}/amarok/src
${CMAKE_SOURCE_DIR}/amarok/src/amarokcore
${CMAKE_BINARY_DIR}/amarok/src/amarokcore
#${CMAKE_SOURCE_DIR} #${CMAKE_SOURCE_DIR}
${TDE_INCLUDE_DIR} ${TDE_INCLUDE_DIR}
${TQT_INCLUDE_DIRS} ${TQT_INCLUDE_DIRS}
@ -37,6 +39,6 @@ install( FILES
tde_add_kpart( libamarok_ipod-mediadevice AUTOMOC tde_add_kpart( libamarok_ipod-mediadevice AUTOMOC
SOURCES ipodmediadevice.cpp SOURCES ipodmediadevice.cpp
LINK amarok-shared LINK amarok-shared glib-2.0 gpod
DESTINATION ${PLUGIN_INSTALL_DIR} DESTINATION ${PLUGIN_INSTALL_DIR}
) )

@ -1313,7 +1313,7 @@ IpodMediaDevice::detectModel()
break; break;
#ifdef HAVE_LIBGPOD_060 #ifdef HAVE_LIBGPOD_060
case ITDB_IPOD_MODEL_IPHONE_1: case ITDB_IPOD_MODEL_IPHONE_1:
case ITDB_IPOD_MODEL_TOUCH_BLACK: case ITDB_IPOD_GENERATION_TOUCH_1:
m_isIPhone = true; m_isIPhone = true;
debug() << "detected iPhone/iPod Touch" << endl; debug() << "detected iPhone/iPod Touch" << endl;
break; break;

Loading…
Cancel
Save