Commit 536680da authored by Jonathan Riddell's avatar Jonathan Riddell 🏄
Browse files

rename to ksnakeduel

parent 543ecc28
project(ktron)
project(ksnakeduel)
cmake_minimum_required (VERSION 2.8.12 FATAL_ERROR)
set (QT_MIN_VERSION "5.3.0")
......@@ -46,7 +46,7 @@ add_subdirectory(doc)
########### next target ###############
set(ktron_SRCS
set(ksnakeduel_SRCS
ksnakeduel_debug.cpp
renderer.cpp
object.cpp
......@@ -60,26 +60,23 @@ set(ktron_SRCS
ktron.cpp
main.cpp)
ki18n_wrap_ui(ktron_SRCS general.ui)
ki18n_wrap_ui(ksnakeduel_SRCS general.ui)
kconfig_add_kcfg_files(ktron_SRCS settings.kcfgc)
kconfig_add_kcfg_files(ksnakeduel_SRCS settings.kcfgc)
kde4_add_app_icon(ktron_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/pics/hi*-app-ktron.png")
kde4_add_app_icon(ksnakeduel_SRCS "${CMAKE_CURRENT_SOURCE_DIR}/pics/hi*-app-ksnakeduel.png")
add_executable(ktron ${ktron_SRCS})
add_executable(ksnakeduel ${ksnakeduel_SRCS})
target_link_libraries(ktron KF5KDEGames KF5KDEGamesPrivate KF5::NotifyConfig KF5::KDELibs4Support Qt5::Svg)
target_link_libraries(ksnakeduel KF5KDEGames KF5KDEGamesPrivate KF5::NotifyConfig KF5::KDELibs4Support Qt5::Svg)
install(TARGETS ktron ${INSTALL_TARGETS_DEFAULT_ARGS})
configure_file(kdesnake.cmake ${CMAKE_CURRENT_BINARY_DIR}/kdesnake @ONLY)
install(TARGETS ksnakeduel ${INSTALL_TARGETS_DEFAULT_ARGS})
########### install files ###############
install(PROGRAMS ${CMAKE_CURRENT_BINARY_DIR}/kdesnake DESTINATION ${BIN_INSTALL_DIR})
install(PROGRAMS ktron.desktop kdesnake.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
install(FILES ktron.kcfg DESTINATION ${KCFG_INSTALL_DIR})
install(FILES ktronui.rc DESTINATION ${KXMLGUI_INSTALL_DIR}/ktron)
install(FILES ktron.knsrc DESTINATION ${CONFIG_INSTALL_DIR})
install(PROGRAMS ksnakeduel.desktop DESTINATION ${XDG_APPS_INSTALL_DIR})
install(FILES ksnakeduel.kcfg DESTINATION ${KCFG_INSTALL_DIR})
install(FILES ksnakeduelui.rc DESTINATION ${KXMLGUI_INSTALL_DIR}/ksnakeduel)
install(FILES ksnakeduel.knsrc DESTINATION ${CONFIG_INSTALL_DIR})
feature_summary(WHAT ALL INCLUDE_QUIET_PACKAGES FATAL_ON_MISSING_REQUIRED_PACKAGES)
########### install files ###############
#
#
kdoctools_create_handbook(index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en SUBDIR ktron)
kdoctools_create_handbook(index.docbook INSTALL_DESTINATION ${HTML_INSTALL_DIR}/en SUBDIR ksnakeduel)
[Desktop Entry]
Type=Application
Exec=ktron -snake -caption %c %i
Icon=kdesnake
X-DocPath=ktron/index.html
GenericName=Snake-like Game
GenericName[bs]=Igra kao zmija
GenericName[ca]=Joc a l'estil de l'Snake
GenericName[ca@valencia]=Joc a l'estil de l'Snake
GenericName[cs]=Hra typu Hadi
GenericName[da]=Snake-lignende spil
GenericName[de]=„Snake“-Spiel
GenericName[el]=Παιχνίδι παρόμοιο με το Snake
GenericName[en_GB]=Snake-like Game
GenericName[es]=Juego similar a Snake
GenericName[et]=Ussimäng
GenericName[eu]=Sugea bezalako jokoa
GenericName[fi]=Snaken kaltainen peli
GenericName[fr]=Jeu du serpent
GenericName[ga]=Cluiche Cosúil le Snake
GenericName[gl]=Xogo similar ao Snake
GenericName[hu]=Kígyós játék
GenericName[is]=Leikur líkur Snake
GenericName[it]=Un gioco simile a Snake
GenericName[ja]=Snake のようなゲーム
GenericName[kk]=Snake-секілді ойын
GenericName[km]=ល្បែង​ដូច​ពស់
GenericName[ko]=뱀 꼬리 게임
GenericName[lv]=Snake līdzīga spēle
GenericName[mr]=स्नेक सारखा खेळ
GenericName[nb]=Snake-liknende spill
GenericName[nds]=Snake-liek Speel
GenericName[nl]=Snake-achtig spel
GenericName[nn]=Snake-liknande spel
GenericName[pl]=Gra podobna do gry "Węże"
GenericName[pt]=Jogo Semelhante ao Snake
GenericName[pt_BR]=Jogo semelhante ao Snake
GenericName[ro]=Joc asemănător cu Rîma
GenericName[ru]=Игра в стиле «змейки»
GenericName[sk]=Hra typu "Hadi"
GenericName[sl]=Igra podobna Snake
GenericName[sr]=Змијолика игра
GenericName[sr@ijekavian]=Змијолика игра
GenericName[sr@ijekavianlatin]=Zmijolika igra
GenericName[sr@latin]=Zmijolika igra
GenericName[sv]=Ormliknande spel
GenericName[tr]=Yılan-benzeri bir Oyun
GenericName[uk]=Гра, схожа на Snake
GenericName[x-test]=xxSnake-like Gamexx
GenericName[zh_CN]=类似贪吃蛇的游戏
GenericName[zh_TW]=類似吞食蛇遊戲
Terminal=false
Name=KSnake
Name[bs]=KSnake
Name[ca]=KSnake
Name[ca@valencia]=KSnake
Name[cs]=KSnake
Name[da]=KSnake
Name[de]=KSnake
Name[el]=KSnake
Name[en_GB]=KSnake
Name[es]=KSnake
Name[et]=KSnake
Name[eu]=KSnake
Name[fi]=KSnake
Name[fr]=KSnake
Name[ga]=KSnake
Name[gl]=KSnake
Name[hu]=KSnake
Name[is]=KSnákur
Name[it]=KSnake
Name[ja]=KSnake
Name[kk]=KSnake
Name[km]=KSnake​
Name[ko]=KSnake
Name[lv]=KSnake
Name[mr]=के-स्नेक
Name[nb]=KSnake
Name[nds]=KSnake
Name[nl]=KSnake
Name[nn]=KSnake
Name[pl]=KSnake
Name[pt]=KSnake
Name[pt_BR]=KSnake
Name[ro]=KSnake
Name[ru]=KSnake
Name[sk]=KSnake
Name[sl]=KSnake
Name[sr]=К‑змијице
Name[sr@ijekavian]=К‑змијице
Name[sr@ijekavianlatin]=K‑zmijice
Name[sr@latin]=K‑zmijice
Name[sv]=Ormspel
Name[tr]=KSnake
Name[ug]=KSnake
Name[uk]=KSnake
Name[x-test]=xxKSnakexx
Name[zh_CN]=KSnake
Name[zh_TW]=KSnake
X-KDE-StartupNotify=true
X-DCOP-ServiceType=Multi
Categories=Qt;KDE;Game;ArcadeGame;
[Desktop Entry]
Type=Application
Exec=ktron -caption %c %i
Icon=ktron
X-DocPath=ktron/index.html
Exec=ksnakeduel
Icon=ksnakeduel
X-DocPath=ksnakeduel/index.html
Terminal=false
Name=KSnakeDuel
Name[bs]=KSnakeDuel
......
......@@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.kde.org/standards/kcfg/1.0
http://www.kde.org/standards/kcfg/1.0/kcfg.xsd" >
<kcfgfile name="ktronrc"/>
<kcfgfile name="ksnakeduelrc"/>
<group name="General">
<entry name="Theme" type="String">
<label>The graphical theme to be used.</label>
......
......@@ -46,7 +46,7 @@ static QString notice = i18n("(c) 1998-2000, Matthias Kiefer\n"
int main(int argc, char* argv[])
{
KAboutData aboutData( "ktron", i18n("KSnakeDuel"),
KAboutData aboutData( "ksnakeduel", i18n("KSnakeDuel"),
KTRON_VERSION, description, KAboutLicense::GPL, notice);
aboutData.addAuthor(i18n("Matthias Kiefer"), i18n("Original author"), "matthias.kiefer@gmx.de");
aboutData.addAuthor(i18n("Benjamin Meyer"), i18n("Various improvements"), "ben+ktron@meyerhome.net");
......
ecm_install_icons(ICONS
hi128-apps-kdesnake.png hi16-apps-kdesnake.png hi22-apps-kdesnake.png hi256-apps-kdesnake.png hi32-apps-ktron.png hi48-apps-ktron.png hi64-apps-ktron.png
hi128-apps-ktron.png hi16-apps-ktron.png hi22-apps-ktron.png hi32-apps-kdesnake.png hi48-apps-kdesnake.png hi64-apps-kdesnake.png DESTINATION
${ICON_INSTALL_DIR})
hi128-apps-ksnakeduel.png
hi16-apps-ksnakeduel.png
hi22-apps-ksnakeduel.png
hi256-apps-ksnakeduel.png
hi32-apps-ksnakeduel.png
hi48-apps-ksnakeduel.png
hi64-apps-ksnakeduel.png
DESTINATION
${ICON_INSTALL_DIR})
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment