|
|
@ -8,11 +8,11 @@ class qc_libtorrent_rasterbar : public ConfObj |
|
|
|
{ |
|
|
|
{ |
|
|
|
public: |
|
|
|
public: |
|
|
|
qc_libtorrent_rasterbar(Conf *c) : ConfObj(c) {} |
|
|
|
qc_libtorrent_rasterbar(Conf *c) : ConfObj(c) {} |
|
|
|
QString name() const { return "libtorrent-rasterbar >= 0.15.0"; } |
|
|
|
QString name() const { return "libtorrent-rasterbar >= 0.16.0"; } |
|
|
|
QString shortname() const { return "libtorrent-rasterbar"; } |
|
|
|
QString shortname() const { return "libtorrent-rasterbar"; } |
|
|
|
bool exec(){ |
|
|
|
bool exec(){ |
|
|
|
QStringList incs; |
|
|
|
QStringList incs; |
|
|
|
QString req_ver = "0.15.0"; |
|
|
|
QString req_ver = "0.16.0"; |
|
|
|
QString version, libs, other; |
|
|
|
QString version, libs, other; |
|
|
|
VersionMode mode = VersionMin; |
|
|
|
VersionMode mode = VersionMin; |
|
|
|
if(!conf->findPkgConfig("libtorrent-rasterbar", mode, req_ver, &version, &incs, &libs, &other)) |
|
|
|
if(!conf->findPkgConfig("libtorrent-rasterbar", mode, req_ver, &version, &incs, &libs, &other)) |
|
|
|