Skip to content
Snippets Groups Projects
Commit 4a6b73fb authored by jean-michel's avatar jean-michel
Browse files

Bump revision, add debug symbols (not enabled by default)

parent 6507dba4
Branches
Tags
No related merge requests found
Pipeline #1197 passed
......@@ -9,8 +9,8 @@
# DESCRIPTION ]
pkgbase=qt5-base
pkgver=5.15.2+kde+r296
pkgrel=3
pkgver=5.15.2+kde+r297
pkgrel=2
pkgdesc="A cross-platform application and UI framework"
url='https://www.qt.io'
......@@ -19,29 +19,14 @@ pkgname=(
'qt5-xcb-private-headers'
)
track=commit
target=53a047c212af7fbded6505651f648172f9d7a34d
track="commit"
target="d16bf02a11953dcac01dca73e6f3778f293adefe"
source=(
"git+https://invent.kde.org/qt/qt/${pkgbase/5-}#$track=$target"
"git+https://invent.kde.org/qt/qt/${pkgbase/5-}#${track}=${target}"
qt5-base-cflags.patch
qt5-base-nostrip.patch
)
#--------------------
# BUILD PREPARATION ]
pkgver() {
cd ${pkgbase/5-}
echo "5.15.2+kde+r"`git rev-list --count origin/5.15.2..$target`
}
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
}
#----------------------
# BUILD CONFIGURATION ]
......@@ -60,7 +45,8 @@ makedepends=(
'git'
)
options=(debug)
#options=(debug)
#------------------------
# INSTALL CONFIGURATION ]
......@@ -109,6 +95,21 @@ conflicts=(
'qtchooser'
)
#--------------------
# BUILD PREPARATION ]
pkgver() {
cd ${pkgbase/5-}
echo "5.15.2+kde+r"`git rev-list --count origin/5.15.2..$target`
}
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
}
#--------
# BUILD ]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment