ports/cad/qelectrotech/patches/patch-qelectrotech_pro

32 lines
1.3 KiB
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: qelectrotech.pro
--- qelectrotech.pro.orig
+++ qelectrotech.pro
@@ -12,8 +12,8 @@ unix {
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_PACKAGE_PATH = '../share/mime/packages/'
+ QET_LICENSE_PATH = 'share/doc/qelectrotech/'
+ QET_MIME_PACKAGE_PATH = 'share/mime/packages/'
QET_DESKTOP_PATH = 'share/applications/'
QET_ICONS_PATH = 'share/icons/hicolor/'
QET_MAN_PATH = 'man/'
@@ -233,7 +233,7 @@ UI_SOURCES_DIR = sources/ui/
UI_HEADERS_DIR = sources/ui/
# Configuration de la compilation
-CONFIG += c++17 debug_and_release warn_on link_pkgconfig
+CONFIG += c++17 release warn_on link_pkgconfig
# Nom du binaire genere par la compilation
TARGET = qelectrotech
@@ -283,7 +283,6 @@ icons.files = ico/breeze-icons/16x16 \
man.path = $$join(INSTALL_PREFIX,,,$${QET_MAN_PATH})
man.files = man/files/*
-man.extra = sh man/compress_man_pages.sh
# L'installation comprend la copie du binaire, des elements, des fichiers de langue et du fichier LICENSE
INSTALLS += target elements tbt lang copyright