2018-09-02 23:29:38 +00:00
|
|
|
# Maintainer: Luca Weiss <luca@z3ntu.xyz>
|
|
|
|
pkgname=qt5-qtsystems
|
2019-02-14 19:59:01 +00:00
|
|
|
pkgver=0_git20190103
|
|
|
|
_commit="e3332ee38d27a134cef6621fdaf36687af1b6f4a"
|
2020-01-06 09:32:40 +00:00
|
|
|
pkgrel=1
|
2020-11-21 11:02:25 +00:00
|
|
|
arch="all"
|
2018-09-02 23:29:38 +00:00
|
|
|
url='http://qt-project.org/'
|
2020-01-06 09:32:40 +00:00
|
|
|
license="LGPL-2.1-only AND LGPL-3.0-only AND GPL-3.0-only AND Qt-GPL-exception-1.0"
|
|
|
|
pkgdesc="Qt Systems"
|
2018-09-02 23:29:38 +00:00
|
|
|
depends_dev="qt5-qtdeclarative-dev"
|
|
|
|
makedepends="$depends_dev git"
|
2020-01-06 09:32:40 +00:00
|
|
|
source="$pkgname-$_commit.tar.gz::https://github.com/qt/qtsystems/archive/$_commit.tar.gz"
|
2018-09-02 23:29:38 +00:00
|
|
|
subpackages="$pkgname-dev $pkgname-doc"
|
2020-01-06 09:32:40 +00:00
|
|
|
builddir="$srcdir/qtsystems-$_commit"
|
2018-09-02 23:29:38 +00:00
|
|
|
options="!check"
|
|
|
|
|
|
|
|
prepare() {
|
|
|
|
default_prepare
|
|
|
|
# Something in the build system only runs the syncqt.pl script when it's in a git repo
|
|
|
|
git init
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
qmake-qt5
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
make INSTALL_ROOT="$pkgdir" install
|
|
|
|
|
|
|
|
# Drop QMAKE_PRL_BUILD_DIR because reference the build dir
|
|
|
|
find "$pkgdir/usr/lib" -type f -name '*.prl' \
|
|
|
|
-exec sed -i -e '/^QMAKE_PRL_BUILD_DIR/d' {} \;
|
|
|
|
|
|
|
|
install -d "$pkgdir"/usr/share/licenses
|
|
|
|
ln -s /usr/share/licenses/qt5-base "$pkgdir"/usr/share/licenses/$pkgname
|
|
|
|
}
|
2019-02-14 19:59:01 +00:00
|
|
|
sha512sums="48ed8353a021892cb226a5cb99de1919a48638ddf765094f47c204e8699892e33f66a39d717bfd238516b9529d2158227be8c510f4f1a7ddb68901e6e7cb0e85 qt5-qtsystems-e3332ee38d27a134cef6621fdaf36687af1b6f4a.tar.gz"
|