kwin-fourier, qt6-base-fourier: detach upstream-tarball name from pkgname
build and publish packages / distcc-avahi-aarch64 (push) Successful in 29s
build and publish packages / lmcp-any (push) Successful in 7s
build and publish packages / lmcp-debian (push) Successful in 4s
build and publish packages / claude-his-any (push) Successful in 6s
build and publish packages / ffmpeg-v4l2-request-aarch64 (push) Successful in 12m57s
build and publish packages / claude-his-debian (push) Successful in 5s

After the rename, source URLs and extracted-dir refs that used
$pkgname-$pkgver were producing kwin-fourier-6.6.4.tar.xz etc. which
KDE doesn't ship. Use a separate _upname/hardcoded value for the
upstream artifact.

  kwin-fourier:  introduce _upname=kwin, use everywhere the upstream
                 dir/tarball name is referenced (source URL, prepare
                 patch -d, cmake -S)
  qt6-base-fourier: $_pkgfn=${pkgbase/6-/} produced 'qtbase-fourier'
                 with the rename. Hardcode _pkgfn=qtbase.
This commit is contained in:
2026-04-30 05:31:23 +00:00
parent 65b3919800
commit 7a5ec202ff
2 changed files with 5 additions and 4 deletions
+4 -3
View File
@@ -24,6 +24,7 @@ pkgname=kwin-fourier
pkgver=6.6.4
_dirver=$(echo $pkgver | cut -d. -f1-3)
pkgrel=3
_upname=kwin
epoch=1
arch=(aarch64 x86_64)
url='https://kde.org/plasma-desktop/'
@@ -100,7 +101,7 @@ groups=(plasma)
provides=(kwin)
conflicts=(kwin)
replaces=(kwin)
source=(https://download.kde.org/stable/plasma/$_dirver/$pkgname-$pkgver.tar.xz{,.sig}
source=(https://download.kde.org/stable/plasma/$_dirver/$_upname-$pkgver.tar.xz{,.sig}
0001-transaction-bypass-watchDmaBuf-fence-wait.patch)
sha256sums=('3f9439760580a977d018daf4b35b62e5a1700def7b21c8dfbfc789d21378d7ad'
'SKIP'
@@ -112,11 +113,11 @@ validpgpkeys=('E0A3EB202F8E57528E13E72FD7574483BB57B18D' # Jonathan Esk-Riddell
'1FA881591C26B276D7A5518EEAAF29B42A678C20') # Marco Martin <notmart@gmail.com>
prepare() {
patch -d $pkgname-$pkgver -p1 < 0001-transaction-bypass-watchDmaBuf-fence-wait.patch
patch -d $_upname-$pkgver -p1 < 0001-transaction-bypass-watchDmaBuf-fence-wait.patch
}
build() {
cmake -B build -S $pkgname-$pkgver \
cmake -B build -S $_upname-$pkgver \
-DCMAKE_INSTALL_LIBEXECDIR=lib \
-DBUILD_TESTING=OFF
cmake --build build
+1 -1
View File
@@ -108,7 +108,7 @@ optdepends=('freetds: MS SQL driver'
'postgresql-libs: PostgreSQL driver'
'unixodbc: ODBC driver')
groups=(qt6)
_pkgfn=${pkgbase/6-/}
_pkgfn=qtbase
source=(git+https://code.qt.io/qt/$_pkgfn#tag=v$_pkgver
qt6-base-cflags.patch
qt6-base-nostrip.patch