repoindex/repoindex.pro

74 lines
1.6 KiB
Prolog

projectname = repoindex
VERSION = 1.0.0
# include ../../common.pri when building as part of a subdirs project; otherwise include general.pri
!include(../../common.pri) {
!include(./general.pri) {
error("Couldn't find the common.pri or the general.pri file!")
}
}
TEMPLATE = app
CONFIG += console # enables qDebug()
QT += core network websockets concurrent KArchive
SOURCES += main.cpp \
alpm/manager.cpp \
alpm/package.cpp \
alpm/utilities.cpp \
alpm/database.cpp \
network/server.cpp \
network/connection.cpp \
alpm/group.cpp \
alpm/config.cpp \
network/aurquery.cpp \
alpm/updatelookup.cpp \
alpm/resolvebuildorder.cpp \
alpm/mingwbundle.cpp
HEADERS += \
alpm/manager.h \
alpm/package.h \
alpm/list.h \
alpm/utilities.h \
alpm/database.h \
network/server.h \
network/connection.h \
alpm/group.h \
alpm/config.h \
network/aurquery.h \
alpm/updatelookup.h \
alpm/resolvebuildorder.h \
alpm/mingwbundle.h
DISTFILES += \
README.md \
LICENSE \
web/index.html \
web/js/alpm.js \
web/js/pagination.js \
web/js/entrymanagement.js \
web/js/packagemanagement.js \
web/js/groupmanagement.js \
web/js/pagemanagement.js \
web/js/repomanagement.js \
web/js/proto.js \
web/js/utils.js \
web/css/core.css \
web/css/dashboard.css \
repoindex.conf.js
# libs and includepath
CONFIG(debug, debug|release) {
LIBS += -L../../ -lc++utilitiesd -lalpm -lKF5Archive
} else {
LIBS += -L../../ -lc++utilities -lalpm -lKF5Archive
}
INCLUDEPATH += ../
# installs
target.path = $$(INSTALL_ROOT)/bin
INSTALLS += target