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

master
artoo 8 months ago
parent c9baf24686
commit 5679aaa18e
Signed by: artoo
GPG Key ID: 3292CD0BB0DB310B

@ -2,7 +2,7 @@
# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=qt6-positioning
_qtver=6.3.0
_qtver=6.3.1
pkgver=${_qtver/-/}
pkgrel=1
arch=(x86_64)
@ -19,10 +19,13 @@ 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=('e9ed50f6b245a346db34d625d0012774ef0ec8e7fd65037127ec26758708236e')
sha256sums=('06788e4ecae1920094b30e4046f0abd23c8189d8a51e9c939b02f0b6abe2e86c')
build() {
cmake -DCMAKE_INSTALL_PREFIX=/usr -B build -S $_pkgfn -G Ninja
cmake -B build \
-S $_pkgfn \
-G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr
cmake --build build
}

@ -0,0 +1,37 @@
# Maintainer: Antonio Rojas <arojas@archlinux.org>
# Maintainer: Felix Yan <felixonmars@archlinux.org>
pkgname=qt6-positioning
_qtver=6.3.1
pkgver=${_qtver/-/}
pkgrel=1
arch=(x86_64)
url='https://www.qt.io'
license=(GPL3 LGPL3 FDL custom)
pkgdesc='Provides access to position, satellite and area monitoring classes'
depends=(qt6-base)
makedepends=(cmake ninja qt6-declarative qt6-serialport)
optdepends=('qt6-declarative: QML bindings' 'qt6-serialport: NMEA plugin')
conflicts=(qt6-location)
provides=(qt6-location)
replaces=(qt6-location)
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=('06788e4ecae1920094b30e4046f0abd23c8189d8a51e9c939b02f0b6abe2e86c')
build() {
cmake -B build \
-S $_pkgfn \
-G Ninja \
-DCMAKE_INSTALL_PREFIX=/usr
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