Fix build of subtitlecomposer cherry-picking upstream patches

This commit is contained in:
Martchus 2024-05-22 22:54:20 +02:00
parent 5ee082869c
commit 9ef21cdfdb
1 changed files with 17 additions and 3 deletions

View File

@ -14,7 +14,8 @@ arch=('i686' 'x86_64')
url="https://invent.kde.org/multimedia/${pkgname}"
license=('GPL')
depends=('qt6-declarative' 'qt6-5compat' 'kcoreaddons' 'ktextwidgets' 'kio' 'sonnet' 'kcodecs' 'kxmlgui' 'ki18n' 'ffmpeg' 'openal')
makedepends=('extra-cmake-modules' 'jack' 'blas' 'xorg-server-xvfb')
checkdepends=('xorg-server-xvfb')
makedepends=('extra-cmake-modules' 'jack' 'blas')
# Comment/uncomment the following dependency to disable/enable
# building the pocketsphinx plugin
@ -34,13 +35,26 @@ optdepends=(
_tar=${pkgname}-${pkgver}
source=("https://download.kde.org/stable/${pkgname}/${_tar}.tar.xz"
"https://download.kde.org/stable/${pkgname}/${_tar}.tar.xz.sig")
"https://download.kde.org/stable/${pkgname}/${_tar}.tar.xz.sig"
https://invent.kde.org/multimedia/subtitlecomposer/-/commit/f8280dbcc0b23aed2e55d8db39c220ad900e7825.patch
https://invent.kde.org/multimedia/subtitlecomposer/-/commit/4ae795f0cabdf9236f144ac14202de9df39b8232.patch
https://invent.kde.org/multimedia/subtitlecomposer/-/commit/75882f06140ed76aa3e86c759f0fdcec11c6ee51.patch
https://invent.kde.org/multimedia/subtitlecomposer/-/commit/a5f82704da9e143ed29cccbe71b06bf0b507ec3b.patch)
sha256sums=('b1416bdf7223b1979a36620b913c117c1b6c933bf165e28491af476310d7c9f8'
'SKIP')
'SKIP'
'7e6289d52b592d9e273bb9c36949b343a55e076343ea2cf36cc6e580555aaeff'
'c78d860ce150eac38b26a968390217a9ce7e3c673fdae24e38e67341a77f7f84'
'93b588697ee7a48a323644a96d5ba79a2077ae87be00e54fa4bf451692d95590'
'94ae52d263c95187a48e7c7282f5c32a652a90f5009317957b3ee5e13c512eaa')
validpgpkeys=('76F79007A54A4B68F1547928E2418746EF9D9B26')
prepare() {
cd "${srcdir}/${_tar}"
patch -p1 -i "$srcdir"/f8280dbcc0b23aed2e55d8db39c220ad900e7825.patch
patch -p1 -i "$srcdir"/4ae795f0cabdf9236f144ac14202de9df39b8232.patch
patch -p1 -i "$srcdir"/75882f06140ed76aa3e86c759f0fdcec11c6ee51.patch
patch -p1 -i "$srcdir"/a5f82704da9e143ed29cccbe71b06bf0b507ec3b.patch
}
build() {