mirror of
https://gitlab.linphone.org/BC/public/linphone-desktop.git
synced 2026-04-24 23:18:34 +00:00
Add linphone-desktop-rpm target.
This commit is contained in:
parent
0976075b05
commit
91336e3fc2
3 changed files with 21 additions and 4 deletions
|
|
@ -25,6 +25,7 @@ lcb_external_source_paths("..")
|
|||
lcb_dependencies("linphone" "ms2plugins" "minizip")
|
||||
lcb_groupable(YES)
|
||||
lcb_package_source(YES)
|
||||
lcb_spec_file("linphoneqt.spec")
|
||||
|
||||
lcb_cmake_options("-DENABLE_UPDATE_CHECK=${ENABLE_UPDATE_CHECK}")
|
||||
if(UNIX AND NOT APPLE)
|
||||
|
|
|
|||
22
prepare.py
22
prepare.py
|
|
@ -73,6 +73,21 @@ class DesktopRaspberryTarget(prepare.Target):
|
|||
]
|
||||
|
||||
|
||||
class DesktopRpmTarget(prepare.Target):
|
||||
|
||||
def __init__(self, group_builders=False):
|
||||
prepare.Target.__init__(self, 'desktop-rpm')
|
||||
current_path = os.path.dirname(os.path.realpath(__file__))
|
||||
self.config_file = 'configs/config-desktop-rpm.cmake'
|
||||
self.output = 'OUTPUT/' + self.name
|
||||
self.external_source_path = os.path.join(current_path, 'submodules')
|
||||
external_builders_path = os.path.join(current_path, 'cmake_builder')
|
||||
self.additional_args = [
|
||||
"-DLINPHONE_BUILDER_EXTERNAL_BUILDERS_PATH=" + external_builders_path,
|
||||
"-DLINPHONE_BUILDER_TARGET=linphoneqt"
|
||||
]
|
||||
|
||||
|
||||
class NoUITarget(prepare.Target):
|
||||
|
||||
def __init__(self, group_builders=False):
|
||||
|
|
@ -119,10 +134,11 @@ class PythonRaspberryTarget(prepare.Target):
|
|||
|
||||
desktop_targets = {
|
||||
'desktop': DesktopTarget(),
|
||||
'python': PythonTarget(),
|
||||
'desktop-raspberry': DesktopRaspberryTarget(),
|
||||
'python-raspberry': PythonRaspberryTarget(),
|
||||
'no-ui' : NoUITarget()
|
||||
'desktop-rpm': DesktopRpmTarget(),
|
||||
'no-ui' : NoUITarget(),
|
||||
'python': PythonTarget(),
|
||||
'python-raspberry': PythonRaspberryTarget()
|
||||
}
|
||||
|
||||
class DesktopPreparator(prepare.Preparator):
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit 13ef108c9e14364872ccefcfcdca0d906449da6d
|
||||
Subproject commit 5c17f93e15d591ba67ccbf93b52ab6f0ce964ada
|
||||
Loading…
Add table
Reference in a new issue