mirror of
https://github.com/YACReader/yacreader
synced 2025-06-04 01:28:55 -04:00
Fix bug #46 (icons on Linux)
This commit is contained in:
parent
c26e1442bf
commit
f6382666b6
@ -3,7 +3,7 @@ Name=YACReader
|
|||||||
GenericName=Yet Another Comic Reader
|
GenericName=Yet Another Comic Reader
|
||||||
Comment=A comic reader with support for .cb*, .pdf and whole directories.
|
Comment=A comic reader with support for .cb*, .pdf and whole directories.
|
||||||
Exec=YACReader %f
|
Exec=YACReader %f
|
||||||
Icon=/usr/share/yacreader/icon.png
|
Icon=YACReader
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Type=Application
|
Type=Application
|
||||||
StartupNotify=true
|
StartupNotify=true
|
||||||
|
@ -245,15 +245,12 @@ docs.path = $$DATADIR/doc/yacreader
|
|||||||
docs.extra = cp ../README.txt ../README
|
docs.extra = cp ../README.txt ../README
|
||||||
docs.files = ../README ../CHANGELOG.md
|
docs.files = ../README ../CHANGELOG.md
|
||||||
|
|
||||||
icon.path = $$DATADIR/yacreader
|
icon.path = $$DATADIR/icons/hicolor/48x48/apps
|
||||||
icon.files = ../images/icon.png
|
icon.files = ../YACReader.png
|
||||||
|
|
||||||
desktop.path = $$DATADIR/applications
|
desktop.path = $$DATADIR/applications
|
||||||
desktop.extra = desktop-file-edit --set-icon=$$DATADIR/yacreader/icon.png ../YACReader.desktop
|
|
||||||
desktop.files = ../YACReader.desktop
|
desktop.files = ../YACReader.desktop
|
||||||
|
|
||||||
#TODO: icons should be located at /usr/share/icons and have the same basename as their application
|
|
||||||
|
|
||||||
translation.path = $$DATADIR/yacreader/languages
|
translation.path = $$DATADIR/yacreader/languages
|
||||||
translation.files = ../release/languages/yacreader_*
|
translation.files = ../release/languages/yacreader_*
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@ Name=YACReader Library
|
|||||||
GenericName=Yet Another Comic Reader - Library
|
GenericName=Yet Another Comic Reader - Library
|
||||||
Comment=A comic library management application with server mode.
|
Comment=A comic library management application with server mode.
|
||||||
Exec=YACReaderLibrary %f
|
Exec=YACReaderLibrary %f
|
||||||
Icon=/usr/share/yacreader/iconLibrary.png
|
Icon=YACReaderLibrary
|
||||||
Terminal=false
|
Terminal=false
|
||||||
Type=Application
|
Type=Application
|
||||||
StartupNotify=true
|
StartupNotify=true
|
||||||
|
@ -40,7 +40,7 @@ win32 {
|
|||||||
} else {
|
} else {
|
||||||
LIBS += -loleaut32 -lole32 -lshell32 -lopengl32 -lglu32 -luser32
|
LIBS += -loleaut32 -lole32 -lshell32 -lopengl32 -lglu32 -luser32
|
||||||
}
|
}
|
||||||
|
|
||||||
QMAKE_CXXFLAGS_RELEASE += /MP /Ob2 /Oi /Ot /GT /GL
|
QMAKE_CXXFLAGS_RELEASE += /MP /Ob2 /Oi /Ot /GT /GL
|
||||||
QMAKE_LFLAGS_RELEASE += /LTCG
|
QMAKE_LFLAGS_RELEASE += /LTCG
|
||||||
CONFIG -= embed_manifest_exe
|
CONFIG -= embed_manifest_exe
|
||||||
@ -156,7 +156,7 @@ HEADERS += comic_flow.h \
|
|||||||
HEADERS += ../common/gl/yacreader_flow_gl.h
|
HEADERS += ../common/gl/yacreader_flow_gl.h
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
SOURCES += comic_flow.cpp \
|
SOURCES += comic_flow.cpp \
|
||||||
create_library_dialog.cpp \
|
create_library_dialog.cpp \
|
||||||
library_creator.cpp \
|
library_creator.cpp \
|
||||||
@ -231,7 +231,7 @@ SOURCES += comic_flow.cpp \
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
include(./server/server.pri)
|
include(./server/server.pri)
|
||||||
include(../custom_widgets/custom_widgets_yacreaderlibrary.pri)
|
include(../custom_widgets/custom_widgets_yacreaderlibrary.pri)
|
||||||
CONFIG(7zip){
|
CONFIG(7zip){
|
||||||
@ -257,7 +257,7 @@ macx {
|
|||||||
ICON = YACReaderLibrary.icns
|
ICON = YACReaderLibrary.icns
|
||||||
}
|
}
|
||||||
|
|
||||||
TRANSLATIONS = yacreaderlibrary_es.ts \
|
TRANSLATIONS = yacreaderlibrary_es.ts \
|
||||||
yacreaderlibrary_ru.ts \
|
yacreaderlibrary_ru.ts \
|
||||||
yacreaderlibrary_pt.ts \
|
yacreaderlibrary_pt.ts \
|
||||||
yacreaderlibrary_fr.ts \
|
yacreaderlibrary_fr.ts \
|
||||||
@ -313,11 +313,10 @@ isEmpty(DESTDIR) {
|
|||||||
server.path = $$DATADIR/yacreader
|
server.path = $$DATADIR/yacreader
|
||||||
server.files = ../release/server
|
server.files = ../release/server
|
||||||
|
|
||||||
icon.path = $$DATADIR/yacreader
|
icon.path = $$DATADIR/icons/hicolor/48x48/apps
|
||||||
icon.files = ../images/iconLibrary.png ../images/db.png ../images/coversPackage.png
|
icon.files = ../YACReaderLibrary.png
|
||||||
|
|
||||||
desktop.path = $$DATADIR/applications
|
desktop.path = $$DATADIR/applications
|
||||||
desktop.extra = desktop-file-edit --set-icon=$$DATADIR/yacreader/iconLibrary.png $$PWD/../YACReaderLibrary.desktop
|
|
||||||
desktop.files = ../YACReaderLibrary.desktop
|
desktop.files = ../YACReaderLibrary.desktop
|
||||||
#TODO: icons should be located at /usr/share/icons and have the same basename as their application
|
#TODO: icons should be located at /usr/share/icons and have the same basename as their application
|
||||||
|
|
||||||
|
BIN
images/YACReader.png
Normal file
BIN
images/YACReader.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 4.8 KiB |
BIN
images/YACReaderLibrary.png
Normal file
BIN
images/YACReaderLibrary.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 5.2 KiB |
Loading…
x
Reference in New Issue
Block a user