tupitube/tupitube.quazip5.patch

59 lines
2.1 KiB
Diff

Index: tupitube.desk/configure.tests/quazip/main.cpp
===================================================================
--- tupitube.desk.orig/configure.tests/quazip/main.cpp
+++ tupitube.desk/configure.tests/quazip/main.cpp
@@ -33,8 +33,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>. *
***************************************************************************/
-#include "quazip/quazip.h"
-#include "quazip/quazipfile.h"
+#include <quazip/quazip.h>
+#include <quazip/quazipfile.h>
#include <QFile>
int main()
Index: tupitube.desk/qonf/test.rb
===================================================================
--- tupitube.desk.orig/qonf/test.rb
+++ tupitube.desk/qonf/test.rb
@@ -103,7 +103,7 @@ class Test
qmakeLine = "'LIBS += #{extraLib}'"
qmakeLine += " 'INCLUDEPATH += #{extraInclude}'"
else
- extraLib = "-lquazip-qt5"
+ extraLib = "-lquazip1-qt5"
qmakeLine = "'LIBS += #{extraLib}'"
end
else
@@ -165,10 +165,10 @@ class Test
if conf.hasArgument?("with-quazip")
config.addLib("-lquazip")
else
- config.addLib("-lquazip-qt5")
+ config.addLib("-lquazip1-qt5")
end
- # config.addLib("-lquazip-qt5")
+ # config.addLib("-lquazip1-qt5")
parser.defines.each { |define|
config.addDefine(define)
Index: tupitube.desk/src/libtupi/tuppackagehandler.cpp
===================================================================
--- tupitube.desk.orig/src/libtupi/tuppackagehandler.cpp
+++ tupitube.desk/src/libtupi/tuppackagehandler.cpp
@@ -34,9 +34,9 @@
***************************************************************************/
#include "tuppackagehandler.h"
-#include "quazip/quazip.h"
-#include "quazip/quazipfile.h"
-#include "quazip/JlCompress.h"
+#include <quazip/quazip.h>
+#include <quazip/quazipfile.h>
+#include <quazip/JlCompress.h>
TupPackageHandler::TupPackageHandler()
{