Skip to content

Commit f4f90c8

Browse files
committed
qt5-datavis3d: initial commit.
1 parent adfb040 commit f4f90c8

File tree

3 files changed

+57
-0
lines changed

3 files changed

+57
-0
lines changed

packages/pyside2/PKGBUILD

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ prepare(){
4646

4747
build() {
4848
cmake -B build -S $_pkgfqn \
49+
-DCMAKE_POLICY_VERSION_MINIMUM=3.5 \
4950
-DCMAKE_INSTALL_PREFIX=/usr \
5051
-DCMAKE_BUILD_TYPE=None \
5152
-DBUILD_TESTS=OFF \

packages/qt5-datavis3d/PKGBUILD

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
# This file is part of BlackArch Linux ( https://www.blackarch.org/ ).
2+
# See COPYING for license details.
3+
#
4+
# from AUR - adapted our style
5+
#
6+
# Old Maintainer: Felix Yan <[email protected]>
7+
# Old Maintainer: Antonio Rojas <[email protected]>
8+
9+
pkgname=qt5-datavis3d
10+
_basever=5.15.17
11+
pkgver=5.15.17
12+
pkgrel=1
13+
_commit=a57e633b675d7886c3e5c64441f50ffe831f2de8
14+
pkgdesc='Qt Data Visualization module.'
15+
arch=('x86_64' 'aarch64')
16+
url='https://www.qt.io/'
17+
license=('GPL3')
18+
depends=('qt5-base')
19+
makedepends=('qt5-declarative' 'git')
20+
optdepends=('qt5-declarative: QML bindings')
21+
groups=('qt5')
22+
_pkgfqn=${pkgname/5-/}
23+
source=(kde-$_pkgfqn::git+https://invent.kde.org/qt/qt/$_pkgfqn#commit=$_commit)
24+
sha256sums=('8f264ff76d4899955fb1b820a8f38f197b1a8febd8930bacffcf5affe0733fe8')
25+
26+
pkgver() {
27+
cd "kde-$_pkgfqn"
28+
29+
echo "$_basever+kde+r"`git rev-list --count v$_basever-lts-lgpl..$_commit` |
30+
sed -e 's|+kde+r0||'
31+
}
32+
33+
prepare() {
34+
mkdir -p build
35+
}
36+
37+
build() {
38+
cd build
39+
40+
qmake "../kde-$_pkgfqn"
41+
make
42+
}
43+
44+
package() {
45+
cd build
46+
47+
make INSTALL_ROOT="$pkgdir" install
48+
49+
# Drop QMAKE_PRL_BUILD_DIR because reference the build dir
50+
find "$pkgdir/usr/lib" -type f -name '*.prl' \
51+
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
52+
}
53+

packages/qt5-datavis3d/README.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
This package is part of the `qt5` suite, and is managed by the scripts at https://gitlab.archlinux.org/archlinux/kde-build.
2+
3+
Do not upgrade this package individually, or make any format changes to the PKGBUILD without checking with the Qt package maintainers first.

0 commit comments

Comments
 (0)