linux: rename everything. It is PCSX2 is uppercase letter

Sorry for all maintainers that will need to upgrade their packages
This commit is contained in:
Gregory Hainaut 2015-05-18 10:04:23 +02:00
parent 5bd724e651
commit 8d6d8067fd
7 changed files with 18 additions and 16 deletions

View File

@ -97,11 +97,12 @@ if(PACKAGE_MODE)
else()
set(PCSX2_MENU_CATEGORIES "Game;Emulator;")
endif()
configure_file("${CMAKE_SOURCE_DIR}/linux_various/pcsx2.desktop.in" "${CMAKE_BINARY_DIR}/linux_various/pcsx2.desktop" @ONLY)
configure_file("${CMAKE_SOURCE_DIR}/linux_various/PCSX2.desktop.in" "${CMAKE_BINARY_DIR}/linux_various/PCSX2.desktop" @ONLY)
INSTALL(FILES "${CMAKE_BINARY_DIR}/linux_various/pcsx2.desktop" DESTINATION "${CMAKE_INSTALL_PREFIX}/share/applications")
INSTALL(FILES "${CMAKE_SOURCE_DIR}/linux_various/pcsx2.xpm" DESTINATION "${CMAKE_INSTALL_PREFIX}/share/pixmaps")
INSTALL(FILES "${CMAKE_SOURCE_DIR}/bin/docs/PCSX2_FAQ.pdf" DESTINATION "${DOC_DIR}")
INSTALL(FILES "${CMAKE_SOURCE_DIR}/bin/docs/PCSX2_Readme.pdf" DESTINATION "${DOC_DIR}")
INSTALL(FILES "${CMAKE_SOURCE_DIR}/bin/docs/pcsx2.1" DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man1/")
INSTALL(FILES "${CMAKE_BINARY_DIR}/linux_various/PCSX2.desktop" DESTINATION "${CMAKE_INSTALL_PREFIX}/share/applications")
INSTALL(FILES "${CMAKE_SOURCE_DIR}/linux_various/PCSX2.xpm" DESTINATION "${CMAKE_INSTALL_PREFIX}/share/pixmaps")
INSTALL(FILES "${CMAKE_SOURCE_DIR}/bin/docs/PCSX2_FAQ.pdf" DESTINATION "${DOC_DIR}")
INSTALL(FILES "${CMAKE_SOURCE_DIR}/bin/docs/PCSX2_Readme.pdf" DESTINATION "${DOC_DIR}")
INSTALL(FILES "${CMAKE_SOURCE_DIR}/bin/docs/PCSX2.1" DESTINATION "${CMAKE_INSTALL_PREFIX}/share/man/man1/")
INSTALL(FILES "${CMAKE_SOURCE_DIR}/bin/PCSX2-linux.sh" DESTINATION "${BIN_DIR}")
endif()

View File

@ -42,11 +42,11 @@ option(GTK3_API "Use GTK3 api (experimental/wxWidget must be built with GTK3 sup
if(PACKAGE_MODE)
if(NOT DEFINED PLUGIN_DIR)
set(PLUGIN_DIR "${CMAKE_INSTALL_PREFIX}/lib/games/pcsx2")
set(PLUGIN_DIR "${CMAKE_INSTALL_PREFIX}/lib/games/PCSX2")
endif()
if(NOT DEFINED GAMEINDEX_DIR)
set(GAMEINDEX_DIR "${CMAKE_INSTALL_PREFIX}/share/games/pcsx2")
set(GAMEINDEX_DIR "${CMAKE_INSTALL_PREFIX}/share/games/PCSX2")
endif()
if(NOT DEFINED BIN_DIR)
@ -54,7 +54,7 @@ if(PACKAGE_MODE)
endif()
if(NOT DEFINED DOC_DIR)
set(DOC_DIR "${CMAKE_INSTALL_PREFIX}/share/doc/pcsx2")
set(DOC_DIR "${CMAKE_INSTALL_PREFIX}/share/doc/PCSX2")
endif()
# Compile all source codes with those defines

View File

@ -1,6 +1,7 @@
usr/bin/pcsx2 /usr/games/
usr/lib/games/pcsx2
usr/share/applications/pcsx2.desktop
usr/share/pixmaps/pcsx2.xpm
usr/bin/PCSX2 /usr/games/
usr/bin/PCSX2-linux.sh /usr/games/
usr/lib/games/PCSX2
usr/share/applications/PCSX2.desktop
usr/share/pixmaps/PCSX2.xpm
usr/share/locale usr/share/
usr/share/games/pcsx2
usr/share/games/PCSX2

View File

@ -1,6 +1,6 @@
?package(pcsx2-unstable): \
needs="X11" \
section="Applications/Emulators" \
title="pcsx2" \
title="PCSX2" \
longtitle="A playstation 2 emulator" \
command="/usr/games/pcsx2"
command="/usr/games/PCSX2-linux.sh"