desktop/qelectrotech/install-dir.patch

40 lines
1.7 KiB
Diff

diff -ruN qelectrotech-0.5-src/qelectrotech.pro src/qelectrotech-0.5-src/qelectrotech.pro
--- qelectrotech-0.5-src/qelectrotech.pro 2015-10-12 14:48:32.000000000 +0200
+++ src/qelectrotech-0.5-src/qelectrotech.pro 2015-12-04 11:49:16.197910112 +0100
@@ -5,20 +5,20 @@
# Chemins utilises pour la compilation et l'installation de QET
unix {
# Chemins UNIX
- COMPIL_PREFIX = '/usr/local/'
- INSTALL_PREFIX = '/usr/local/'
+ COMPIL_PREFIX = '/usr/'
+ INSTALL_PREFIX = '/usr/'
QET_BINARY_PATH = 'bin/'
QET_COMMON_COLLECTION_PATH = 'share/qelectrotech/elements/'
QET_COMMON_TBT_PATH = 'share/qelectrotech/titleblocks/'
QET_LANG_PATH = 'share/qelectrotech/lang/'
QET_EXAMPLES_PATH = 'share/qelectrotech/examples/'
QET_LICENSE_PATH = 'doc/qelectrotech/'
- QET_MIME_XML_PATH = '../share/mime/application/'
- QET_MIME_DESKTOP_PATH = '../share/mimelnk/application/'
- QET_MIME_PACKAGE_PATH = '../share/mime/packages/'
+ QET_MIME_XML_PATH = 'share/mime/application/'
+ QET_MIME_DESKTOP_PATH = 'share/mimelnk/application/'
+ QET_MIME_PACKAGE_PATH = 'share/mime/packages/'
QET_DESKTOP_PATH = 'share/applications/'
QET_ICONS_PATH = 'share/icons/hicolor/'
- QET_MAN_PATH = 'man/'
+ QET_MAN_PATH = 'share/man/'
QET_APPDATA_PATH = 'share/appdata'
}
win32 {
@@ -34,7 +34,7 @@
macx {
# Chemins MacOS X
COMPIL_PREFIX = './'
- INSTALL_PREFIX = '/usr/local/'
+ INSTALL_PREFIX = '/usr/'
QET_BINARY_PATH = 'bin/'
QET_COMMON_COLLECTION_PATH = '../Resources/elements/'
QET_COMMON_TBT_PATH = '../Resources/titleblocks/'