Move unix-icons out of assets
@ -1613,7 +1613,7 @@ endif()
|
||||
if (TargetBin)
|
||||
if (IOS OR APPLE)
|
||||
if (APPLE AND NOT IOS)
|
||||
set(ICON_PATH_ABS ${CMAKE_CURRENT_SOURCE_DIR}/assets/ppsspp.icns)
|
||||
set(ICON_PATH_ABS ${CMAKE_CURRENT_SOURCE_DIR}/icons/ppsspp.icns)
|
||||
set( MACOSX_BUNDLE_ICON_FILE ppsspp.icns )
|
||||
set_source_files_properties(${ICON_PATH_ABS} PROPERTIES MACOSX_PACKAGE_LOCATION "Resources")
|
||||
endif()
|
||||
|
@ -10,22 +10,22 @@
|
||||
linux-*|hpux-*|solaris-*: LIBS += -lrt # clock_gettime
|
||||
|
||||
# Packaging
|
||||
icon16.files = $$P/assets/unix-icons/hicolor/16x16/apps/ppsspp.png
|
||||
icon16.files = $$P/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.files = $$P/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.files = $$P/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.files = $$P/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.files = $$P/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.files = $$P/icons/hicolor/512x512/apps/ppsspp.png
|
||||
icon512.path = $$DESTDIR$$PREFIX/share/icons/hicolor/512x512/apps
|
||||
|
||||
applications.files = $$P/debian/ppsspp.desktop
|
||||
|
6
assets/unix-icons/convert-to-png.sh → icons/convert-to-png.sh
Executable file → Normal file
@ -15,7 +15,7 @@
|
||||
# Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
|
||||
# Very simple bash script to convert svg to png files, you can choose inkscape or imagemagick ('convert' command) and the path to icons export.
|
||||
# Only converts assets/unix-icons/icon-512.svg
|
||||
# Only converts icons/icon-512.svg
|
||||
# Needs improvement, yeah, i know, it is not so good... at least it work :)
|
||||
|
||||
|
||||
@ -27,7 +27,7 @@
|
||||
|
||||
# Default options
|
||||
software_option="inkscape" # sometimes imagemagick does not convert very well, so inkscape is default
|
||||
path="icons" # i.e. assets/unix-icons/icons/
|
||||
path="icons" # i.e. icons/icons/
|
||||
|
||||
echo -e
|
||||
|
||||
@ -56,7 +56,7 @@ while [ "$1" != "" ]; do
|
||||
done
|
||||
|
||||
|
||||
# Creating assets/unix-icons/icons/ if user does not choose any directory
|
||||
# Creating icons/icons/ if user does not choose any directory
|
||||
if [ "$path" == "icons" ] && [ ! -d "$path" ]; then
|
||||
mkdir icons/
|
||||
fi
|
Before Width: | Height: | Size: 9.3 KiB After Width: | Height: | Size: 9.3 KiB |
Before Width: | Height: | Size: 659 B After Width: | Height: | Size: 659 B |
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 1.3 KiB |
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 18 KiB |
Before Width: | Height: | Size: 1.9 KiB After Width: | Height: | Size: 1.9 KiB |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 42 KiB |
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
Before Width: | Height: | Size: 6.8 KiB After Width: | Height: | Size: 6.8 KiB |
Before Width: | Height: | Size: 12 KiB After Width: | Height: | Size: 12 KiB |
Before Width: | Height: | Size: 10 KiB After Width: | Height: | Size: 10 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 38 KiB After Width: | Height: | Size: 38 KiB |