[trunk] -> [testing] 'qt6-webchannel-6.4.0-1' add
packagesQ/qt6-webchannel/pipeline/head This commit looks good Details

master
artist 4 months ago
parent ea5bfa84aa
commit ddb8080d1b
Signed by: artist
GPG Key ID: 73580DE2EDDFA6D6

@ -2,7 +2,7 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=qt6-webchannel
_qtver=6.3.2
_qtver=6.4.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(x86_64)
@ -15,13 +15,11 @@ groups=(qt6)
options=(debug)
_pkgfn=${pkgname/6-/}-everywhere-src-$_qtver
source=(https://download.qt.io/official_releases/qt/${pkgver%.*}/$_qtver/submodules/$_pkgfn.tar.xz)
sha256sums=('d1ba476ba48b22ed64baad8100a1ac659220992fbd4501d69b47e0867d02153f')
sha256sums=('528f6d837cc58854deaddafbb76eb237f4dbd688a4407b438ab9c0db1613695a')
build() {
cmake -B build \
-S $_pkgfn \
-G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr
cmake -B build -S $_pkgfn -G Ninja -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_MESSAGE_LOG_LEVEL=STATUS
cmake --build build
}

@ -0,0 +1,31 @@
# Maintainer: artist <artist@artixlinux.org>
# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=qt6-webchannel
_qtver=6.4.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(x86_64)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='Provides access to QObject or QML objects from HTML clients for seamless integration of Qt applications with HTML/JavaScript clients'
depends=(qt6-declarative)
makedepends=(cmake ninja qt6-websockets)
groups=(qt6)
options=(debug)
_pkgfn=${pkgname/6-/}-everywhere-src-$_qtver
source=(https://download.qt.io/official_releases/qt/${pkgver%.*}/$_qtver/submodules/$_pkgfn.tar.xz)
sha256sums=('528f6d837cc58854deaddafbb76eb237f4dbd688a4407b438ab9c0db1613695a')
build() {
cmake -B build -S $_pkgfn -G Ninja -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_MESSAGE_LOG_LEVEL=STATUS
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
install -d "$pkgdir"/usr/share/licenses
ln -s /usr/share/licenses/qt6-base "$pkgdir"/usr/share/licenses/$pkgname
}
Loading…
Cancel
Save