mirror of
https://github.com/YACReader/yacreader
synced 2025-07-18 21:14:33 -04:00
Update russian translation. Need to subtract and to bring the terminology to a common denominator
This commit is contained in:
36
compressed_archive/unarr/unarr-wrapper.pri
Normal file
36
compressed_archive/unarr/unarr-wrapper.pri
Normal file
@ -0,0 +1,36 @@
|
||||
INCLUDEPATH += $$PWD
|
||||
DEPENDPATH += $$PWD
|
||||
|
||||
HEADERS += $$PWD/extract_delegate.h \
|
||||
$$PWD/compressed_archive.h \
|
||||
|
||||
SOURCES += $$PWD/compressed_archive.cpp \
|
||||
|
||||
unix:!macx:exists (/usr/include/unarr.h) {
|
||||
message(Using system provided unarr installation)
|
||||
LIBS+=-lunarr
|
||||
DEFINES+=use_unarr
|
||||
}
|
||||
else:macx:exists (../../dependencies/unarr/libunarr.dynlib) {
|
||||
LIBS += -L../../dependencies/unarr/ -lunarr
|
||||
DEFINES+=use_unarr
|
||||
}
|
||||
|
||||
else:win32:exists (../../dependencies/unarr/unarr.dll) {
|
||||
LIBS += -L../../dependencies/unarr/ -lunarr
|
||||
DEFINES+=use_unarr
|
||||
}
|
||||
|
||||
else:exists ($$PWD/unarr-master) {
|
||||
message(Found unarr source-code)
|
||||
message(Unarr will be build as a part of YACReader)
|
||||
|
||||
#qmake based unarr build system
|
||||
#this should only be used for testing or as a last resort
|
||||
include(unarr.pro)
|
||||
DEFINES+=use_unarr
|
||||
}
|
||||
else {
|
||||
error(Missing dependency: unarr decrompression backend. Please install libunarr on your system\
|
||||
or provide a copy of the unarr source code in compressed_archive/unarr/unarr-master)
|
||||
}
|
Reference in New Issue
Block a user