Skip to content

Commit

Permalink
Make isomd5sum a proper dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
squimrel committed Jun 10, 2017
1 parent 827729c commit 991aad3
Show file tree
Hide file tree
Showing 13 changed files with 11 additions and 764 deletions.
1 change: 1 addition & 0 deletions README.md
Expand Up @@ -32,6 +32,7 @@ The main binary, `mediawriter`, will be writen to `$PREFIX/bin` and the helper b

* `udisks2` or `storaged`
* `xz-libs`
* `isomd5sum-devel`

### Windows

Expand Down
2 changes: 1 addition & 1 deletion app/app.pro
Expand Up @@ -4,7 +4,7 @@ TARGET = mediawriter

QT += qml quick widgets network

LIBS += -lisomd5
LIBS += -lcheckisomd5

CONFIG += c++11

Expand Down
4 changes: 3 additions & 1 deletion app/releasemanager.cpp
Expand Up @@ -20,7 +20,9 @@
#include "releasemanager.h"
#include "drivemanager.h"

#include "isomd5/libcheckisomd5.h"
extern "C" {
#include <libcheckisomd5.h>
}

#include <QtQml>
#include <QApplication>
Expand Down
2 changes: 0 additions & 2 deletions deployment.pri
Expand Up @@ -13,8 +13,6 @@ linux {
DEFINES += DATADIR=\\\"$$DATADIR\\\"
DEFINES += LIBEXECDIR=\\\"$$LIBEXECDIR\\\"
}
QMAKE_LIBDIR += $$top_builddir/lib
INCLUDEPATH += $$top_srcdir/lib/
isEmpty(MEDIAWRITER_VERSION) {
DEFINES += MEDIAWRITER_VERSION="\\\"$(shell git -C \""$$_PRO_FILE_PWD_"\" describe --tags || echo N/A)\\\""
} else {
Expand Down
2 changes: 1 addition & 1 deletion helper/helper.pro
Expand Up @@ -2,7 +2,7 @@ TEMPLATE = app

QT += core

LIBS += -lisomd5
LIBS += -lcheckisomd5 -limplantisomd5

CONFIG += c++11
CONFIG += console
Expand Down
5 changes: 4 additions & 1 deletion helper/write.cpp
Expand Up @@ -29,7 +29,10 @@

#include <lzma.h>

#include "isomd5/libcheckisomd5.h"
extern "C" {
#include <libcheckisomd5.h>
#include <libimplantisomd5.h>
}

#include "page_aligned_buffer.h"

Expand Down
11 changes: 0 additions & 11 deletions lib/isomd5/isomd5.pro

This file was deleted.

0 comments on commit 991aad3

Please sign in to comment.