~s-cecilio/lenmus/v5.3

« back to all changes in this revision

Viewing changes to CMakeLists.txt

  • Committer: Cecilio Salmeron
  • Date: 2012-12-13 21:41:44 UTC
  • Revision ID: s.cecilios@gmail.com-20121213214144-48cgdrxbok8xb171
added application icon and desktop file for linux

Show diffs side-by-side

added added

removed removed

Lines of Context:
601
601
install(DIRECTORY ${ROOT_DIR}/res/cursors   DESTINATION ${ROOT_INSTALL_HOME}/res
602
602
        FILES_MATCHING PATTERN "*.png" PATTERN ".svn" EXCLUDE )
603
603
install(FILES ${ROOT_DIR}/res/fonts/lmbasic2.ttf  DESTINATION "${ROOT_INSTALL_HOME}/res/fonts")
 
604
install(FILES ${ROOT_DIR}/res/desktop/lenmus.desktop  DESTINATION "${ROOT_INSTALL_HOME}/res/desktop")
604
605
 
605
606
     # xrc
606
607
install(DIRECTORY ${ROOT_DIR}/xrc  DESTINATION ${ROOT_INSTALL_HOME}
610
611
install(DIRECTORY ${ROOT_DIR}/templates   DESTINATION ${ROOT_INSTALL_HOME}
611
612
        FILES_MATCHING PATTERN "*.lms"   PATTERN ".svn" EXCLUDE)
612
613
 
 
614
    # desktop and application icon 48x48 png
 
615
install(FILES ${ROOT_DIR}/res/desktop/lenmus.desktop  DESTINATION "/usr/share/applications")
 
616
install(FILES ${ROOT_DIR}/res/icons/lenmus.png  DESTINATION "/usr/share/pixmaps")
 
617
 
 
618
 
613
619
    # 4. User scores and samples 
614
620
    # ------------------------------------------------------------------------------
615
621
if( UNIX )
640
646
SET(CPACK_DEBIAN_PACKAGE_MAINTAINER "Cecilio Salmeron") #required
641
647
set(CPACK_DEBIAN_PACKAGE_NAME "lenmus")
642
648
set(CPACK_DEBIAN_PACKAGE_VERSION ${LENMUS_VERSION_STRING} )
643
 
set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "i386")
 
649
set(CPACK_DEBIAN_PACKAGE_ARCHITECTURE "amd64")
644
650
 
645
651
set(CPACK_PACKAGE_VENDOR "LenMus")
646
652
set(CPACK_PACKAGE_DESCRIPTION_SUMMARY "A program for learning music theory")
647
653
 
648
 
set(CPACK_PACKAGE_FILE_NAME "${CPACK_DEBIAN_PACKAGE_NAME}-${LENMUS_VERSION_STRING}-linux-i386-32bits")
 
654
set(CPACK_PACKAGE_FILE_NAME "${CPACK_DEBIAN_PACKAGE_NAME}-${LENMUS_VERSION_STRING}-linux-amd64")
649
655
#set(CPACK_DEBIAN_PACKAGE_DEPENDS "libc6 (>= 2.3.1-6), libgcc1 (>= 1:3.4.2-12)")
650
656
 
651
657