20 lines
557 B
Python
20 lines
557 B
Python
from .base import (
|
|
Dependency,
|
|
GitClone,
|
|
QMakeBuilder)
|
|
|
|
class KiwixDesktop(Dependency):
|
|
name = "kiwix-desktop"
|
|
|
|
class Source(GitClone):
|
|
git_remote = "https://github.com/kiwix/kiwix-desktop.git"
|
|
git_dir = "kiwix-desktop"
|
|
|
|
class Builder(QMakeBuilder):
|
|
dependencies = ["qt", "qtwebengine", "kiwix-lib"]
|
|
@property
|
|
def configure_options(self):
|
|
yield "PREFIX={}".format(self.buildEnv.install_dir)
|
|
if self.buildEnv.platformInfo.static:
|
|
yield 'CONFIG+=static'
|