diff options
Diffstat (limited to 'data/CMakeLists.txt')
-rw-r--r-- | data/CMakeLists.txt | 106 |
1 files changed, 53 insertions, 53 deletions
diff --git a/data/CMakeLists.txt b/data/CMakeLists.txt index 41d02ef..76850db 100644 --- a/data/CMakeLists.txt +++ b/data/CMakeLists.txt @@ -1,13 +1,13 @@ # Data directory -SET(DATADIR ${DATA_INSTALL_DIR}/rosegarden) -SET(ICONDIR ${ICON_INSTALL_DIR}) -SET(MIMEDIR ${MIME_INSTALL_DIR}/audio) -SET(MENUDIR ${XDG_MENU_INSTALL_DIR}) +set(DATADIR ${DATA_INSTALL_DIR}/rosegarden) +set(ICONDIR ${ICON_INSTALL_DIR}) +set(MIMEDIR ${MIME_INSTALL_DIR}/audio) +set(MENUDIR ${XDG_MENU_INSTALL_DIR}) # Guitar chord files -FILE(GLOB CHORD_FILES chords/*.xml) -INSTALL(FILES ${CHORD_FILES} DESTINATION ${DATADIR}/chords) +file(GLOB CHORD_FILES chords/*.xml) +install(FILES ${CHORD_FILES} DESTINATION ${DATADIR}/chords) # Desktop file tde_create_translated_desktop( desktop/rosegarden.desktop ) @@ -24,70 +24,70 @@ tde_create_translated_desktop( ) # Icons -INSTALL(FILES pixmaps/icons/cc-hi16-rosegarden.xpm DESTINATION ${ICONDIR}/locolor/16x16/apps RENAME rosegarden.xpm) -INSTALL(FILES pixmaps/icons/rg-rwb-rose3-16x16.png DESTINATION ${ICONDIR}/hicolor/16x16/apps RENAME rosegarden.png) -INSTALL(FILES pixmaps/icons/cc-hi32-rosegarden.xpm DESTINATION ${ICONDIR}/locolor/32x32/apps RENAME rosegarden.xpm) -INSTALL(FILES pixmaps/icons/rg-rwb-rose3-32x32.png DESTINATION ${ICONDIR}/hicolor/32x32/apps RENAME rosegarden.png) -INSTALL(FILES pixmaps/icons/rg-rwb-rose3-48x48.png DESTINATION ${ICONDIR}/hicolor/48x48/apps RENAME rosegarden.png) -INSTALL(FILES pixmaps/icons/rg-rwb-rose3-64x64.png DESTINATION ${ICONDIR}/hicolor/64x64/apps RENAME rosegarden.png) -INSTALL(FILES pixmaps/icons/rg-rwb-rose3-128x128.png DESTINATION ${ICONDIR}/hicolor/128x128/apps RENAME rosegarden.png) - -INSTALL(FILES pixmaps/icons/mm-mime-hi16-rosegarden.png DESTINATION ${ICONDIR}/hicolor/16x16/mimetypes RENAME x-rosegarden.png) -INSTALL(FILES pixmaps/icons/mm-mime-hi16-rosegarden.png DESTINATION ${ICONDIR}/locolor/16x16/mimetypes RENAME x-rosegarden.png) -INSTALL(FILES pixmaps/icons/mm-mime-hi32-rosegarden.png DESTINATION ${ICONDIR}/hicolor/32x32/mimetypes RENAME x-rosegarden.png) -INSTALL(FILES pixmaps/icons/mm-mime-hi32-rosegarden.png DESTINATION ${ICONDIR}/locolor/32x32/mimetypes RENAME x-rosegarden.png) +install(FILES pixmaps/icons/cc-hi16-rosegarden.xpm DESTINATION ${ICONDIR}/locolor/16x16/apps RENAME rosegarden.xpm) +install(FILES pixmaps/icons/rg-rwb-rose3-16x16.png DESTINATION ${ICONDIR}/hicolor/16x16/apps RENAME rosegarden.png) +install(FILES pixmaps/icons/cc-hi32-rosegarden.xpm DESTINATION ${ICONDIR}/locolor/32x32/apps RENAME rosegarden.xpm) +install(FILES pixmaps/icons/rg-rwb-rose3-32x32.png DESTINATION ${ICONDIR}/hicolor/32x32/apps RENAME rosegarden.png) +install(FILES pixmaps/icons/rg-rwb-rose3-48x48.png DESTINATION ${ICONDIR}/hicolor/48x48/apps RENAME rosegarden.png) +install(FILES pixmaps/icons/rg-rwb-rose3-64x64.png DESTINATION ${ICONDIR}/hicolor/64x64/apps RENAME rosegarden.png) +install(FILES pixmaps/icons/rg-rwb-rose3-128x128.png DESTINATION ${ICONDIR}/hicolor/128x128/apps RENAME rosegarden.png) + +install(FILES pixmaps/icons/mm-mime-hi16-rosegarden.png DESTINATION ${ICONDIR}/hicolor/16x16/mimetypes RENAME x-rosegarden.png) +install(FILES pixmaps/icons/mm-mime-hi16-rosegarden.png DESTINATION ${ICONDIR}/locolor/16x16/mimetypes RENAME x-rosegarden.png) +install(FILES pixmaps/icons/mm-mime-hi32-rosegarden.png DESTINATION ${ICONDIR}/hicolor/32x32/mimetypes RENAME x-rosegarden.png) +install(FILES pixmaps/icons/mm-mime-hi32-rosegarden.png DESTINATION ${ICONDIR}/locolor/32x32/mimetypes RENAME x-rosegarden.png) # styles -FILE(GLOB STYLES_FILES styles/*.xml) -INSTALL(FILES ${STYLES_FILES} DESTINATION ${DATADIR}/styles) +file(GLOB STYLES_FILES styles/*.xml) +install(FILES ${STYLES_FILES} DESTINATION ${DATADIR}/styles) # presets -FILE(GLOB PRESETS_FILES presets/*.xml) -INSTALL(FILES ${PRESETS_FILES} DESTINATION ${DATADIR}/presets) +file(GLOB PRESETS_FILES presets/*.xml) +install(FILES ${PRESETS_FILES} DESTINATION ${DATADIR}/presets) # fonts -FILE(GLOB PFA_FILES fonts/*.pfa) -INSTALL(FILES ${PFA_FILES} DESTINATION ${DATADIR}/fonts) +file(GLOB PFA_FILES fonts/*.pfa) +install(FILES ${PFA_FILES} DESTINATION ${DATADIR}/fonts) -FILE(GLOB XML_FILES fonts/mappings/*.xml) -INSTALL(FILES ${XML_FILES} DESTINATION ${DATADIR}/fonts/mappings) +file(GLOB XML_FILES fonts/mappings/*.xml) +install(FILES ${XML_FILES} DESTINATION ${DATADIR}/fonts/mappings) -FILE(GLOB XPM_FILES pixmaps/rg21/4/*.xpm) -INSTALL(FILES ${XPM_FILES} DESTINATION ${DATADIR}/fonts/rg21/4) +file(GLOB XPM_FILES pixmaps/rg21/4/*.xpm) +install(FILES ${XPM_FILES} DESTINATION ${DATADIR}/fonts/rg21/4) -FILE(GLOB XPM_FILES pixmaps/rg21/8/*.xpm) -INSTALL(FILES ${XPM_FILES} DESTINATION ${DATADIR}/fonts/rg21/8) +file(GLOB XPM_FILES pixmaps/rg21/8/*.xpm) +install(FILES ${XPM_FILES} DESTINATION ${DATADIR}/fonts/rg21/8) -FILE(GLOB XPM_FILES pixmaps/feta/4/*.xpm) -INSTALL(FILES ${XPM_FILES} DESTINATION ${DATADIR}/fonts/feta/4) +file(GLOB XPM_FILES pixmaps/feta/4/*.xpm) +install(FILES ${XPM_FILES} DESTINATION ${DATADIR}/fonts/feta/4) -FILE(GLOB XPM_FILES pixmaps/feta/6/*.xpm) -INSTALL(FILES ${XPM_FILES} DESTINATION ${DATADIR}/fonts/feta/6) +file(GLOB XPM_FILES pixmaps/feta/6/*.xpm) +install(FILES ${XPM_FILES} DESTINATION ${DATADIR}/fonts/feta/6) -FILE(GLOB XPM_FILES pixmaps/feta/8/*.xpm) -INSTALL(FILES ${XPM_FILES} DESTINATION ${DATADIR}/fonts/feta/8) +file(GLOB XPM_FILES pixmaps/feta/8/*.xpm) +install(FILES ${XPM_FILES} DESTINATION ${DATADIR}/fonts/feta/8) -FILE(GLOB XPM_FILES pixmaps/feta/10/*.xpm) -INSTALL(FILES ${XPM_FILES} DESTINATION ${DATADIR}/fonts/feta/10) +file(GLOB XPM_FILES pixmaps/feta/10/*.xpm) +install(FILES ${XPM_FILES} DESTINATION ${DATADIR}/fonts/feta/10) -FILE(GLOB XPM_FILES pixmaps/feta/12/*.xpm) -INSTALL(FILES ${XPM_FILES} DESTINATION ${DATADIR}/fonts/feta/12) +file(GLOB XPM_FILES pixmaps/feta/12/*.xpm) +install(FILES ${XPM_FILES} DESTINATION ${DATADIR}/fonts/feta/12) # pixmaps -FILE(GLOB PIXMAP_FILES pixmaps/misc/*.xpm pixmaps/misc/*.png) -INSTALL(FILES ${PIXMAP_FILES} DESTINATION ${DATADIR}/pixmaps/misc) +file(GLOB PIXMAP_FILES pixmaps/misc/*.xpm pixmaps/misc/*.png) +install(FILES ${PIXMAP_FILES} DESTINATION ${DATADIR}/pixmaps/misc) -FILE(GLOB PIXMAP_FILES pixmaps/toolbar/*.xpm pixmaps/toolbar/*.png) -INSTALL(FILES ${PIXMAP_FILES} DESTINATION ${DATADIR}/pixmaps/toolbar) +file(GLOB PIXMAP_FILES pixmaps/toolbar/*.xpm pixmaps/toolbar/*.png) +install(FILES ${PIXMAP_FILES} DESTINATION ${DATADIR}/pixmaps/toolbar) -FILE(GLOB PIXMAP_FILES pixmaps/transport/*.xpm pixmaps/transport/*.png) -INSTALL(FILES ${PIXMAP_FILES} DESTINATION ${DATADIR}/pixmaps/transport) +file(GLOB PIXMAP_FILES pixmaps/transport/*.xpm pixmaps/transport/*.png) +install(FILES ${PIXMAP_FILES} DESTINATION ${DATADIR}/pixmaps/transport) # Splash -INSTALL(FILES pixmaps/splash.png DESTINATION ${DATADIR}/pixmaps) +install(FILES pixmaps/splash.png DESTINATION ${DATADIR}/pixmaps) # Examples -SET(EXAMPLE_FILES +set(EXAMPLE_FILES examples/aveverum.rg examples/aylindaamiga.rg examples/bogus-surf-jam.rg @@ -117,12 +117,12 @@ SET(EXAMPLE_FILES examples/vivaldi-cs3mv2.rg examples/vivaldi_op44_11_1.rg ) -INSTALL(FILES ${EXAMPLE_FILES} DESTINATION ${DATADIR}/examples) -INSTALL(FILES examples/autoload.rg DESTINATION ${DATADIR}) +install(FILES ${EXAMPLE_FILES} DESTINATION ${DATADIR}/examples) +install(FILES examples/autoload.rg DESTINATION ${DATADIR}) # Library -FILE(GLOB RGD_FILES library/*.rgd) -INSTALL(FILES ${RGD_FILES} DESTINATION ${DATADIR}/library) +file(GLOB RGD_FILES library/*.rgd) +install(FILES ${RGD_FILES} DESTINATION ${DATADIR}/library) # KDE LIRC Profile -INSTALL(FILES profile/rosegarden.profile.xml DESTINATION ${DATA_INSTALL_DIR}/profiles) +install(FILES profile/rosegarden.profile.xml DESTINATION ${DATA_INSTALL_DIR}/profiles) |