Browse Source

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 11 years ago
parent
commit
e9db3e45ed
  1. 4
      amarok/src/mediadevice/ipod/CMakeLists.txt
  2. 2
      amarok/src/mediadevice/ipod/ipodmediadevice.cpp

4
amarok/src/mediadevice/ipod/CMakeLists.txt

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

2
amarok/src/mediadevice/ipod/ipodmediadevice.cpp

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

Loading…
Cancel
Save