[trunk] -> [testing] 'qt6-webchannel-6.4.1-1' add
packagesQ/qt6-webchannel/pipeline/head This commit looks good
Details
packagesQ/qt6-webchannel/pipeline/head This commit looks good
Details
parent
beec2d0bc9
commit
f18e9dbea2
@ -0,0 +1,31 @@
|
||||
# Maintainer: artist <artist@artixlinux.org>
|
||||
# Maintainer: Felix Yan <felixonmars@archlinux.org>
|
||||
|
||||
pkgname=qt6-webchannel
|
||||
_qtver=6.4.1
|
||||
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=('2dbe19f120c5e3fc50f46e83c05a328f76bb018cd5149fb3e40f4ac63c2a7ca9')
|
||||
|
||||
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…
Reference in new issue