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

master
artist 10 months ago
parent 068a17f019
commit 150105a56a

@ -2,7 +2,7 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=qt6-webchannel
_qtver=6.2.4
_qtver=6.3.0
pkgver=${_qtver/-/}
pkgrel=1
arch=(x86_64)
@ -13,12 +13,12 @@ depends=(qt6-declarative)
makedepends=(cmake ninja qt6-websockets)
groups=(qt6)
options=(debug)
_pkgfn="${pkgname/6-/}-everywhere-src-$_qtver"
_pkgfn=${pkgname/6-/}-everywhere-src-$_qtver
source=(https://download.qt.io/official_releases/qt/${pkgver%.*}/$_qtver/submodules/$_pkgfn.tar.xz)
sha256sums=('20ce2bbc21b6f1fb665d37887d4af7e761baa3a1c1b9cc0f550ede212a8d296d')
sha256sums=('ebc4c428a31ff8510046a5e6aced58eeb5b63be72a098effc021cc96e27be40e')
build() {
cmake -B build -S $_pkgfn -G Ninja
cmake -DCMAKE_INSTALL_PREFIX=/usr -B build -S $_pkgfn -G Ninja
cmake --build build
}

@ -0,0 +1,30 @@
# Maintainer: Antonio Rojas <arojas@archlinux.org>
# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=qt6-webchannel
_qtver=6.3.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=('ebc4c428a31ff8510046a5e6aced58eeb5b63be72a098effc021cc96e27be40e')
build() {
cmake -DCMAKE_INSTALL_PREFIX=/usr -B build -S $_pkgfn -G Ninja
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