ssu.pro 994 Bytes
Newer Older
Aard's avatar
Aard committed
1 2 3 4 5
contains(QT_VERSION, ^4\\.[0-7]\\..*) {
    error("Can't build with Qt version $${QT_VERSION}. Use at least Qt 4.8.")
}

TEMPLATE = subdirs
6
SUBDIRS = libssu ssud
7
SUBDIRS += rndssucli ssuurlresolver ssuks
8 9 10 11 12

ssuconfhack {
    SUBDIRS += ssuconfperm
}

13
SUBDIRS += tests tools
Aard's avatar
Aard committed
14 15 16 17 18

rndssucli.depends = libssu
rndregisterui.depends = libssu
ssuurlresolver.depends = libssu
tests.depends = libssu
19
ssuks.depends = libssu
20
ssud.depends  = libssu
Aard's avatar
Aard committed
21 22 23 24

config.files = ssu.ini
config.path  = /etc/ssu

25 26 27
oneshot.files = ssu-update-repos
oneshot.path = /usr/lib/oneshot.d

28 29 30
macros.files = macros.ssuks
macros.path  = /etc/rpm/

31
static_config.files = repos.ini ssu-defaults.ini board-mappings.ini
Aard's avatar
Aard committed
32 33
static_config.path  = /usr/share/ssu

34
INSTALLS += config static_config oneshot macros
35 36 37 38 39 40 41 42 43 44

system(qdbusxml2cpp \
    -c SsuAdaptor \
    -a ssud/ssuadaptor.h:ssud/ssuadaptor.cpp \
    dbus/org.nemo.ssu.xml)

system(qdbusxml2cpp \
    -c SsuProxy \
    -p rndssucli/ssuproxy.h:rndssucli/ssuproxy.cpp \
    dbus/org.nemo.ssu.xml)