You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
quazip/quazip-path.patch

67 lines
1.7 KiB

15 years ago
--- quazip-0.2.3/quazip/quazip.pro 2008-01-16 00:39:37.000000000 +0800
+++ quazip-0.2.3.new/quazip/quazip.pro 2010-01-31 02:30:00.319816815 +0800
@@ -10,25 +10,20 @@
INCLUDEPATH += .
# Input
-HEADERS += crypt.h \
- ioapi.h \
- quazip.h \
+HEADERS += quazip.h \
quazipfile.h \
quazipfileinfo.h \
- quazipnewinfo.h \
- unzip.h \
- zip.h
+ quazipnewinfo.h
-SOURCES += ioapi.c \
- quazip.cpp \
+SOURCES += quazip.cpp \
quazipfile.cpp \
- quazipnewinfo.cpp \
- unzip.c \
- zip.c
+ quazipnewinfo.cpp
unix {
OBJECTS_DIR=.obj
MOC_DIR=.moc
+ INCLUDEPATH += /usr/include/minizip
+ LIBS += -lminizip
}
# UNIX installation
@@ -38,6 +33,6 @@
unix {
headers.path=$$PREFIX/include/quazip
headers.files=$$HEADERS
- target.path=$$PREFIX/lib
+ target.path=$$LIBDIR
INSTALLS += headers target
}
15 years ago
--- quazip-0.2.3.old/test/unzip/unzip.pro 2007-08-28 23:11:35.000000000 +0800
+++ quazip-0.2.3/test/unzip/unzip.pro 2010-02-03 13:06:24.508318772 +0800
@@ -7,7 +7,9 @@
QT -= gui
DEPENDPATH += .
INCLUDEPATH += . ../..
+INCLUDEPATH += /usr/include/minizip
unix:LIBS += -L../../quazip -lquazip
+unix:LIBS += -lminizip
win32:LIBS += -L../../quazip/release -lquazip
# Input
--- quazip-0.2.3.old/test/zip/zip.pro 2007-08-28 23:11:35.000000000 +0800
+++ quazip-0.2.3/test/zip/zip.pro 2010-02-03 13:05:03.282317770 +0800
@@ -7,7 +7,9 @@
QT -= gui
DEPENDPATH += .
INCLUDEPATH += . ../..
+INCLUDEPATH += /usr/include/minizip
unix:LIBS += -L../../quazip -lquazip
+unix:LIBS += -lminizip
win32:LIBS += -L../../quazip/release -lquazip
# Input