extra/qt6-3d to 6.0.2-1

This commit is contained in:
Kevin Mihelich 2021-03-03 23:14:13 +00:00
parent aa9a38c92e
commit 21495f1ee7

View file

@ -6,7 +6,7 @@
# - explicitly link v5/v6 with libatomic
pkgname=qt6-3d
_qtver=6.0.1
_qtver=6.0.2
pkgver=${_qtver/-/}
pkgrel=1
arch=(x86_64)
@ -18,8 +18,8 @@ makedepends=(cmake qt6-declarative qt6-shadertools vulkan-headers) # assimp
optdepends=('qt6-shadertools: RHI renderer' 'qt6-declarative: QML bindings')
groups=(qt6)
_pkgfn="${pkgname/6-/}-everywhere-src-${_qtver}"
source=("https://download.qt.io/official_releases/additional_libraries/${pkgname/6-/}/${pkgver%.*}/$_qtver/$_pkgfn.tar.xz")
sha256sums=('1234c6904ad13894fb1a798a5540317d241b5cbded70e980e929f477bc060f34')
source=("https://download.qt.io/official_releases/additional_libraries/${pkgver%.*}/$_qtver/$_pkgfn.tar.xz")
sha256sums=('ff6434da878062aea612a9d7323bd615c2f232c4462c26323f1a5511aac6db89')
build() {
[[ $CARCH == "arm" || $CARCH == "armv6h" ]] && echo "target_link_libraries(3DCore PRIVATE atomic)" >> ${_pkgfn}/src/core/CMakeLists.txt