Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linphone-desktop
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
linphone-desktop
Commits
7ff1e75c
Commit
7ff1e75c
authored
Jul 07, 2016
by
Ghislain MARY
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Correctly package desktop for raspberry.
parent
1358f77a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
7 deletions
+8
-7
prepare.py
prepare.py
+8
-7
No files found.
prepare.py
View file @
7ff1e75c
...
...
@@ -47,6 +47,10 @@ class DesktopTarget(prepare.Target):
self
.
config_file
=
'configs/config-desktop.cmake'
self
.
output
=
'OUTPUT/'
+
self
.
name
self
.
external_source_path
=
os
.
path
.
join
(
current_path
,
'submodules'
)
self
.
packaging_args
=
[
"-DCMAKE_SKIP_INSTALL_RPATH=YES"
,
"-DENABLE_RELATIVE_PREFIX=YES"
]
class
DesktopRaspberryTarget
(
prepare
.
Target
):
...
...
@@ -59,8 +63,10 @@ class DesktopRaspberryTarget(prepare.Target):
self
.
toolchain_file
=
'toolchains/toolchain-raspberry.cmake'
self
.
output
=
'OUTPUT/'
+
self
.
name
self
.
external_source_path
=
os
.
path
.
join
(
current_path
,
'submodules'
)
self
.
additional_args
+=
[
'-DCMAKE_INSTALL_RPATH=$ORIGIN/../lib'
]
self
.
additional_args
+=
[
'-DENABLE_RELATIVE_PREFIX=YES'
]
self
.
packaging_args
=
[
"-DCMAKE_INSTALL_RPATH=$ORIGIN/../lib"
,
"-DENABLE_RELATIVE_PREFIX=YES"
]
class
PythonTarget
(
prepare
.
Target
):
...
...
@@ -128,11 +134,6 @@ class DesktopPreparator(prepare.Preparator):
self
.
additional_args
+=
[
"-DENABLE_VPX=YES"
]
self
.
additional_args
+=
[
"-DENABLE_X264=NO"
]
if
self
.
args
.
package
:
self
.
additional_args
+=
[
"-DENABLE_PACKAGING=YES"
]
self
.
additional_args
+=
[
"-DCMAKE_SKIP_INSTALL_RPATH=YES"
]
self
.
additional_args
+=
[
"-DENABLE_RELATIVE_PREFIX=YES"
]
def
check_environment
(
self
):
ret
=
prepare
.
Preparator
.
check_environment
(
self
)
if
platform
.
system
()
==
'Windows'
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment