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
998c8c10
Commit
998c8c10
authored
Mar 23, 2018
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore(tools): remove build_qt_tarball
parent
f4aefc51
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
67 additions
and
75 deletions
+67
-75
.gitignore
.gitignore
+2
-3
build_qt_rpm
tools/build_qt_rpm
+65
-3
build_qt_tarball
tools/build_qt_tarball
+0
-69
No files found.
.gitignore
View file @
998c8c10
...
...
@@ -33,9 +33,8 @@ GTAGS
# RPM --------------------------------------------------------------------------
qt-*.tar.gz
qt5/
rpm-qt-*/
linphone-qt/
rpm-*/
# OTHER ------------------------------------------------------------------------
...
...
tools/build_qt_rpm
View file @
998c8c10
#!/usr/bin/env bash
# See: http://wiki.qt.io/Building_Qt_5_from_Git
# See: http://doc.qt.io/qt-5/configure-options.html
REPO_URL
=
'git://code.qt.io/qt/qt5.git'
QT_VERSION
=
'5.10.1'
RPM_NAME
=
linphone-qt-
${
QT_VERSION
}
REPO_FOLDER
=
linphone-qt
RPM_FOLDER
=
rpm-
${
RPM_NAME
}
# ==============================================================================
RED
=
'\e[1;31m'
NC
=
'\e[0m'
SCRIPT_DIR
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
&&
pwd
)
"
cd
"
${
SCRIPT_DIR
}
/.."
# ==============================================================================
mkdir
-p
rpm-qt-
${
QT_VERSION
}
/rpmbuild/
{
BUILD,RPMS,SOURCES,SPECS,SRPMS
}
cp
qt-
${
QT_VERSION
}
.tar.gz rpm-qt-
${
QT_VERSION
}
/rpmbuild/SOURCES
if
[
!
-d
"
${
REPO_FOLDER
}
/.git"
]
;
then
git clone
"
${
REPO_URL
}
"
"
${
REPO_FOLDER
}
"
fi
cd
"
${
REPO_FOLDER
}
"
while
test
$#
-gt
0
do
case
"
$1
"
in
--clean
)
echo
"Clean..."
git submodule foreach
'git clean -dfx'
;;
--
*
)
echo
"Invalid option:
$1
"
;;
esac
shift
done
git checkout
"
${
QT_VERSION
}
"
if
[[
$?
!=
0
]]
;
then
printf
"
${
RED
}
Unable to checkout
${
QT_VERSION
}
.
${
NC
}
\n
"
exit
1
fi
./init-repository
--module-subset
=
default,
\
-qtandroidextras
,
\
-qtcharts
,
\
-qtdoc
,
\
-qtlocation
,
\
-qtmacextras
,
\
-qtnetworkauth
,
\
-qtpurchasing
,
\
-qtremoteobjects
,
\
-qtrepotools
,
\
-qtscript
,
\
-qtscxml
,
\
-qtsensors
,
\
-qtspeech
,
\
-qtwebchannel
,
\
-qtwebengine
,
\
-qtwebglplugin
,
\
-qtwebsockets
,
\
-qtwebview
,
\
-qtwinextras
,
\
-qtx11extras
,
\
-qtxmlpatterns
\
-f
cd
..
mkdir
-p
${
RPM_FOLDER
}
/rpmbuild/
{
BUILD,RPMS,SOURCES,SPECS,SRPMS
}
tar
--transform
"s/^
${
REPO_FOLDER
}
/
${
RPM_NAME
}
/"
-czvf
${
RPM_FOLDER
}
/rpmbuild/SOURCES/
${
RPM_NAME
}
.tar.gz
${
REPO_FOLDER
}
/
rpmbuild
-bb
\
--define
'_qt5_dir /opt/com.belledonne-communications/linphone'
\
--define
"_qt5_version
${
QT_VERSION
}
"
\
--define
"_topdir
$PWD
/
rpm-qt-
${
QT_VERSION
}
/rpmbuild"
\
--define
"_topdir
$PWD
/
${
RPM_FOLDER
}
/rpmbuild"
\
build/rpm/qt5.spec
tools/build_qt_tarball
deleted
100755 → 0
View file @
f4aefc51
#!/usr/bin/env bash
# See: http://wiki.qt.io/Building_Qt_5_from_Git
# See: http://doc.qt.io/qt-5/configure-options.html
REPO_URL
=
'git://code.qt.io/qt/qt5.git'
REPO_FOLDER
=
linphone-qt
QT_VERSION
=
'5.10.1'
# ==============================================================================
RED
=
'\e[1;31m'
NC
=
'\e[0m'
SCRIPT_DIR
=
"
$(
cd
"
$(
dirname
"
${
BASH_SOURCE
[0]
}
"
)
"
&&
pwd
)
"
cd
"
${
SCRIPT_DIR
}
/.."
# ==============================================================================
if
[
!
-d
"
${
REPO_FOLDER
}
/.git"
]
;
then
git clone
"
${
REPO_URL
}
"
"
${
REPO_FOLDER
}
"
fi
cd
"
${
REPO_FOLDER
}
"
while
test
$#
-gt
0
do
case
"
$1
"
in
--clean
)
echo
"Clean..."
git submodule foreach
'git clean -dfx'
;;
--
*
)
echo
"Invalid option:
$1
"
;;
esac
shift
done
git checkout
"
${
QT_VERSION
}
"
if
[[
$?
!=
0
]]
;
then
printf
"
${
RED
}
Unable to checkout
${
QT_VERSION
}
.
${
NC
}
\n
"
exit
1
fi
./init-repository
--module-subset
=
default,
\
-qtandroidextras
,
\
-qtcharts
,
\
-qtdoc
,
\
-qtlocation
,
\
-qtmacextras
,
\
-qtnetworkauth
,
\
-qtpurchasing
,
\
-qtremoteobjects
,
\
-qtrepotools
,
\
-qtscript
,
\
-qtscxml
,
\
-qtsensors
,
\
-qtspeech
,
\
-qtwebchannel
,
\
-qtwebengine
,
\
-qtwebglplugin
,
\
-qtwebsockets
,
\
-qtwebview
,
\
-qtwinextras
,
\
-qtx11extras
,
\
-qtxmlpatterns
\
-f
cd
..
tar
--transform
"s/^qt5/qt-
${
QT_VERSION
}
/"
-czvf
linphone-qt-
${
QT_VERSION
}
.tar.gz qt5/
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