forked from hrydgard/ppsspp
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Qt: Change target name to ppsspp by default.Install icons and desktop…
… file on Linux. Use a different builddir than SDL by default. Should help distros packaging ppsspp. Note: if you currently use PPSSPPQt, you will need to move the config dir from PPSSPPQt to ppsspp. For distro packagers, you can now use PREFIX and DESTDIR for installs.
- Loading branch information
Showing
5 changed files
with
35 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
TARGET = PPSSPPQt | ||
TARGET = ppsspp | ||
|
||
# Main Qt modules | ||
QT += core gui opengl | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,34 @@ | ||
|
||
|
||
!contains(CONFIG, staticlib) { | ||
isEmpty(PREFIX) { | ||
PREFIX = /usr | ||
} | ||
|
||
# Executable | ||
LIBS += -ldl -lrt | ||
|
||
# Packaging | ||
icon.files = $$P/assets/icon-114.png | ||
icon.path = /usr/share/icons/hicolor/114x114/apps | ||
INSTALLS += icon | ||
icon16.files = $$P/assets/unix-icons/hicolor/16x16/apps/ppsspp.png | ||
icon16.path = $$DESTDIR$$PREFIX/share/icons/hicolor/16x16/apps | ||
|
||
icon32.files = $$P/assets/unix-icons/hicolor/32x32/apps/ppsspp.png | ||
icon32.path = $$DESTDIR$$PREFIX/share/icons/hicolor/32x32/apps | ||
|
||
icon64.files = $$P/assets/unix-icons/hicolor/64x64/apps/ppsspp.png | ||
icon64.path = $$DESTDIR$$PREFIX/share/icons/hicolor/64x64/apps | ||
|
||
icon96.files = $$P/assets/unix-icons/hicolor/96x96/apps/ppsspp.png | ||
icon96.path = $$DESTDIR$$PREFIX/share/icons/hicolor/96x96/apps | ||
|
||
icon256.files = $$P/assets/unix-icons/hicolor/256x256/apps/ppsspp.png | ||
icon256.path = $$DESTDIR$$PREFIX/share/icons/hicolor/256x256/apps | ||
|
||
icon512.files = $$P/assets/unix-icons/hicolor/512x512/apps/ppsspp.png | ||
icon512.path = $$DESTDIR$$PREFIX/share/icons/hicolor/512x512/apps | ||
|
||
applications.files = $$P/debian/ppsspp.desktop | ||
applications.path = $$DESTDIR$$PREFIX/share/applications | ||
|
||
INSTALLS += icon16 icon32 icon64 icon96 icon256 icon512 applications | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters