~ubuntu-branches/debian/jessie/qpdfview/jessie

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
include(qpdfview.pri)

TARGET = qpdfview_djvu
TEMPLATE = lib
CONFIG += plugin
static_djvu_plugin:CONFIG += static

OBJECTS_DIR = objects-djvu
MOC_DIR = moc-dvju

HEADERS = sources/global.h sources/model.h sources/djvumodel.h
SOURCES = sources/model.cpp sources/djvumodel.cpp

QT += core gui

greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

!without_pkgconfig {
    CONFIG += link_pkgconfig
    PKGCONFIG += ddjvuapi
}

!static_dvju_plugin {
    target.path = $${PLUGIN_INSTALL_PATH}
    INSTALLS += target
}