Commit 91336e3f authored by Ghislain MARY's avatar Ghislain MARY

Add linphone-desktop-rpm target.

parent 0976075b
...@@ -25,6 +25,7 @@ lcb_external_source_paths("..") ...@@ -25,6 +25,7 @@ lcb_external_source_paths("..")
lcb_dependencies("linphone" "ms2plugins" "minizip") lcb_dependencies("linphone" "ms2plugins" "minizip")
lcb_groupable(YES) lcb_groupable(YES)
lcb_package_source(YES) lcb_package_source(YES)
lcb_spec_file("linphoneqt.spec")
lcb_cmake_options("-DENABLE_UPDATE_CHECK=${ENABLE_UPDATE_CHECK}") lcb_cmake_options("-DENABLE_UPDATE_CHECK=${ENABLE_UPDATE_CHECK}")
if(UNIX AND NOT APPLE) if(UNIX AND NOT APPLE)
......
...@@ -73,6 +73,21 @@ class DesktopRaspberryTarget(prepare.Target): ...@@ -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): class NoUITarget(prepare.Target):
def __init__(self, group_builders=False): def __init__(self, group_builders=False):
...@@ -119,10 +134,11 @@ class PythonRaspberryTarget(prepare.Target): ...@@ -119,10 +134,11 @@ class PythonRaspberryTarget(prepare.Target):
desktop_targets = { desktop_targets = {
'desktop': DesktopTarget(), 'desktop': DesktopTarget(),
'python': PythonTarget(),
'desktop-raspberry': DesktopRaspberryTarget(), 'desktop-raspberry': DesktopRaspberryTarget(),
'python-raspberry': PythonRaspberryTarget(), 'desktop-rpm': DesktopRpmTarget(),
'no-ui' : NoUITarget() 'no-ui' : NoUITarget(),
'python': PythonTarget(),
'python-raspberry': PythonRaspberryTarget()
} }
class DesktopPreparator(prepare.Preparator): class DesktopPreparator(prepare.Preparator):
......
cmake-builder @ 5c17f93e
Subproject commit 13ef108c9e14364872ccefcfcdca0d906449da6d Subproject commit 5c17f93e15d591ba67ccbf93b52ab6f0ce964ada
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment