Update to new upstream release 2.0.8, Added new Part Library Electrical1-LCAD.zip, Rebased/Added patches, Added new build requirement libshp-devel OBS-URL: https://build.opensuse.org/request/show/330429 OBS-URL: https://build.opensuse.org/package/show/graphics/librecad?expand=0&rev=27
31 lines
1.0 KiB
Diff
31 lines
1.0 KiB
Diff
---
|
|
librecad/src/src.pro | 1 -
|
|
scripts/postprocess-unix.sh | 2 +-
|
|
2 files changed, 1 insertion(+), 2 deletions(-)
|
|
|
|
Index: LibreCAD-2.0.8/librecad/src/src.pro
|
|
===================================================================
|
|
--- LibreCAD-2.0.8.orig/librecad/src/src.pro
|
|
+++ LibreCAD-2.0.8/librecad/src/src.pro
|
|
@@ -64,7 +64,6 @@ unix {
|
|
DEFINES += QC_APPDIR="\"librecad\""
|
|
DEFINES += QINITIMAGES_LIBRECAD="qInitImages_librecad"
|
|
RC_FILE = ../res/main/librecad.icns
|
|
- QMAKE_POST_LINK = cd $$_PRO_FILE_PWD_/../.. && scripts/postprocess-unix.sh
|
|
}
|
|
}
|
|
win32 {
|
|
Index: LibreCAD-2.0.8/scripts/postprocess-unix.sh
|
|
===================================================================
|
|
--- LibreCAD-2.0.8.orig/scripts/postprocess-unix.sh
|
|
+++ LibreCAD-2.0.8/scripts/postprocess-unix.sh
|
|
@@ -3,7 +3,7 @@
|
|
THISDIR="`pwd`"
|
|
LCDIR="${THISDIR}/librecad"
|
|
PIDIR="${THISDIR}/plugins"
|
|
-RESOURCEDIR="${THISDIR}/unix/resources"
|
|
+RESOURCEDIR=$BUILDDIR
|
|
APPDATADIR="${THISDIR}/unix/appdata"
|
|
TSDIRLC="${LCDIR}/ts"
|
|
TSDIRPI="${PIDIR}/ts"
|