Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Q
qt5-base
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
pkg
obextra
qt5-base
Commits
bc4ca70d
Commit
bc4ca70d
authored
3 years ago
by
jean-michel
Browse files
Options
Downloads
Patches
Plain Diff
Disable reduce-relocations, see
https://bugreports.qt.io/browse/QTBUG-86173
parent
e49b0f77
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Pipeline
#1091
passed
3 years ago
Stage: build
Stage: commit
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
trunk/PKGBUILD
+31
-25
31 additions, 25 deletions
trunk/PKGBUILD
with
31 additions
and
25 deletions
trunk/PKGBUILD
+
31
−
25
View file @
bc4ca70d
# Obarun : 66 init/supervisor
# Copyright : Obarun
#------------------------
# Maintainer : Eric Vidal <eric@obarun.org>
# Maintainer : Jean-Michel T.Dydak <jean-michel@obarun.org>
# Maintainer : YianIris <yianiris At Disroot Dot Org>
# Obarun PkgSrc : https://git.obarun.org/pkg/obextra/qt5-base
#----------------
# Pkgbuild Src : https://git.obarun.org/pkg/obextra/qt5-base
#--------------------------------------------------------------
# DESCRIPTION ]
pkgbase
=
qt5-base
pkgname
=(
'qt5-base'
'qt5-xcb-private-headers'
)
pkgver
=
5.15.2+kde+r268
pkgrel
=
2
pkgdesc
=
'A cross-platform application and UI framework'
pkgver
=
5.15.2+kde+r274
pkgrel
=
3
pkgdesc
=
"A cross-platform application and UI framework"
url
=
'https://www.qt.io'
pkgname
=(
'qt5-base'
'qt5-xcb-private-headers'
)
track
=
commit
target
=
edb0f568ca1380623325cb18365b0af81cbf65bf
target
=
98aa64af7e1e677bd107bfb0c432cabf7c3a5e32
source
=(
"git+https://invent.kde.org/qt/qt/
${
pkgbase
/5-
}
#
$track
=
$target
"
'
qt5-base-cflags.patch
'
'
qt5-base-nostrip.patch
'
qt5-base-cflags.patch
qt5-base-nostrip.patch
)
#--------------------
...
...
@@ -33,9 +37,9 @@ pkgver() {
prepare
()
{
cd
${
pkgbase
/5-
}
git revert
-n
6344955d17e17e2398720fe60c34cfc2a4a95208
# Revert version bump
patch
-p1
< ../qt5-base-cflags.patch
# Use system CFLAGS in qmake
patch
-p1
< ../qt5-base-nostrip.patch
# Don't strip binaries with qmake
git revert
-n
6344955d17e17e2398720fe60c34cfc2a4a95208
#
#
Revert version bump
patch
-p1
< ../qt5-base-cflags.patch
#
#
Use system CFLAGS in qmake
patch
-p1
< ../qt5-base-nostrip.patch
#
#
Don't strip binaries with qmake
}
#----------------------
...
...
@@ -59,8 +63,6 @@ makedepends=(
#------------------------
# INSTALL CONFIGURATION ]
arch
=(
x86_64
)
depends
=(
'libjpeg-turbo'
'xcb-util-keysyms'
...
...
@@ -130,7 +132,7 @@ build() {
-system-harfbuzz
\
-no-mimetype-database
\
-no-use-gold-linker
\
-reduce-relocations
\
-no
-reduce-relocations
\
-no-strip
\
-ltcg
...
...
@@ -144,8 +146,10 @@ build() {
# PACKAGE ]
package_qt5-base
()
{
pkgdesc
=
'A cross-platform application and UI framework'
depends+
=(
qt5-translations
)
pkgdesc
=
"A cross-platform application and UI framework"
depends+
=(
'qt5-translations'
)
cd
${
pkgbase
/5-
}
make
INSTALL_ROOT
=
"
$pkgdir
"
install
...
...
@@ -153,7 +157,7 @@ package_qt5-base() {
install
-Dm644
LICENSE
*
-t
"
$pkgdir
"
/usr/share/licenses/
$pkgbase
## Drop QMAKE_PRL_BUILD_DIR because reference the build dir
find
"
$pkgdir
/usr/lib
"
-type
f
-name
'*.prl'
\
find
"
$pkgdir
"
/usr/lib
-type
f
-name
'*.prl'
\
-exec
sed
-i
-e
'/^QMAKE_PRL_BUILD_DIR/d'
{}
\;
## Fix wrong qmake path in pri file
...
...
@@ -167,18 +171,20 @@ package_qt5-base() {
}
package_qt5-xcb-private-headers
()
{
pkgdesc
=
'Private headers for Qt5 Xcb'
depends
=(
"qt5-base=
$pkgver
"
)
pkgdesc
=
"Private headers for Qt5 Xcb"
depends
=(
"qt5-base=
$pkgver
"
)
cd
${
pkgbase
/5-
}
install
-d
-m755
"
$pkgdir
"
/usr/include/qtxcb-private
cp
-r
src/plugins/platforms/xcb/
*
.h
"
$pkgdir
"
/usr/include/qtxcb-private/
}
#--------------------
-----
# LICEN
C
E A
ND VALIDATION
]
#--------------------
#
ARCH
LICEN
S
E A
UTH
]
arch
=(
x86_64
)
license
=(
GPL3 LGPL3 FDL custom
)
sha512sums
=(
'
'
)
sha512sums
=(
''
)
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment