Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
linphone-cmake-builder
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
External Wiki
External Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
BC
public
linphone-cmake-builder
Commits
03157e5b
Commit
03157e5b
authored
Mar 19, 2014
by
Ghislain MARY
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add builders for x264 and msx264.
parent
5055d15f
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
79 additions
and
0 deletions
+79
-0
CMakeLists.txt
builders/CMakeLists.txt
+3
-0
ffmpeg.cmake
builders/ffmpeg.cmake
+4
-0
linphone.cmake
builders/linphone.cmake
+3
-0
msx264.cmake
builders/msx264.cmake
+32
-0
x264.cmake
builders/x264.cmake
+37
-0
No files found.
builders/CMakeLists.txt
View file @
03157e5b
...
...
@@ -78,6 +78,9 @@ endif(${ENABLE_ISAC})
if
(
${
ENABLE_SILK
}
)
list
(
APPEND LINPHONE_BUILDER_BUILDERS mssilk
)
endif
(
${
ENABLE_SILK
}
)
if
(
${
ENABLE_X264
}
)
list
(
APPEND LINPHONE_BUILDER_BUILDERS x264 msx264
)
endif
(
${
ENABLE_X264
}
)
list
(
APPEND LINPHONE_BUILDER_BUILDERS linphone
)
...
...
builders/ffmpeg.cmake
View file @
03157e5b
...
...
@@ -63,3 +63,7 @@ set(EP_ffmpeg_CROSS_COMPILATION_OPTIONS
"--arch=
${
EP_ffmpeg_ARCH
}
"
"--target-os=
${
EP_ffmpeg_TARGET_OS
}
"
)
if
(
${
ENABLE_X264
}
)
list
(
APPEND EP_ffmpeg_CONFIGURE_OPTIONS
"--enable-decoder=h264"
)
endif
(
${
ENABLE_X264
}
)
builders/linphone.cmake
View file @
03157e5b
...
...
@@ -58,6 +58,9 @@ else(WIN32)
if
(
${
ENABLE_SILK
}
)
list
(
APPEND EP_linphone_DEPENDENCIES EP_mssilk
)
endif
(
${
ENABLE_SILK
}
)
if
(
${
ENABLE_X264
}
)
list
(
APPEND EP_linphone_DEPENDENCIES EP_msx264
)
endif
(
${
ENABLE_X264
}
)
if
(
${
ENABLE_ZRTP
}
)
list
(
APPEND EP_linphone_CONFIGURE_OPTIONS
"--enable-zrtp"
)
...
...
builders/msx264.cmake
0 → 100644
View file @
03157e5b
############################################################################
# msx264.cmake
# Copyright (C) 2014 Belledonne Communications, Grenoble France
#
############################################################################
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
############################################################################
set
(
EP_msx264_GIT_REPOSITORY
"git://git.linphone.org/msx264.git"
)
set
(
EP_msx264_GIT_TAG
"6532dd845c59631a9149e9146ba5cf9426db906b"
)
# Branch 'master'
set
(
EP_msx264_USE_AUTOTOOLS
"yes"
)
set
(
EP_msx264_USE_AUTOGEN
"yes"
)
set
(
EP_msx264_CROSS_COMPILATION_OPTIONS
"--prefix=
${
CMAKE_INSTALL_PREFIX
}
"
"--host=
${
LINPHONE_BUILDER_TOOLCHAIN_HOST
}
"
)
set
(
EP_msx264_LINKING_TYPE
"--disable-static"
"--enable-shared"
)
set
(
EP_msx264_DEPENDENCIES EP_ms2 EP_x264
)
builders/x264.cmake
0 → 100644
View file @
03157e5b
############################################################################
# x264.cmake
# Copyright (C) 2014 Belledonne Communications, Grenoble France
#
############################################################################
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
# as published by the Free Software Foundation; either version 2
# of the License, or (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
############################################################################
set
(
EP_x264_GIT_REPOSITORY
"git://git.videolan.org/x264.git"
)
set
(
EP_x264_GIT_TAG
"f6a8615ab0c922ac2cb5c82c9824f6f4742b1725"
)
set
(
EP_x264_USE_AUTOTOOLS
"yes"
)
set
(
EP_x264_CROSS_COMPILATION_OPTIONS
"--prefix=
${
CMAKE_INSTALL_PREFIX
}
"
"--host=
${
LINPHONE_BUILDER_TOOLCHAIN_HOST
}
"
)
set
(
EP_x264_CONFIGURE_OPTIONS
"--extra-cflags=
${
LINPHONE_BUILDER_TOOLCHAIN_CFLAGS
}
"
"--extra-ldflags=
${
LINPHONE_BUILDER_TOOLCHAIN_LDFLAGS
}
"
)
set
(
EP_x264_LINKING_TYPE
"--enable-shared"
)
set
(
EP_x264_CONFIGURE_ENV
"CC=$CC"
)
set
(
EP_x264_BUILD_IN_SOURCE
"yes"
)
set
(
EP_x264_INSTALL_TARGET
"install-lib-shared"
)
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