| Name |
qt5-x11extras |
| Description |
Provides platform-specific APIs for X11 |
| Version |
5.15.18-1 |
| Package Base |
qt5-x11extras |
| Homepage |
https://www.qt.io |
| Maintainers |
['Antonio Rojas <arojas@archlinux.org>', 'Felix Yan <felixonmars@archlinux.org>'] |
| Contributors |
['Andrea Scarpino <andrea@archlinux.org>'] |
| Distro-repo |
https://gitlab.archlinux.org/archlinux/packaging/packages/qt5-x11extras |
| Sources |
['kde-qtx11extras::git+https://invent.kde.org/qt/qt/qtx11extras#commit=c44c4fa86fa0794c25baef4ee1f6272aca8c511a'] |
| Dependencies |
['qt5-base'] |
| Optional-Dependencies |
[] |
| Build-Dependencies |
['git'] |
| Provides |
[] |
| Builddate |
02-11-2025 00:53:21 |
| Architecture |
x86_64 |
| Distro-Version |
|
| Licenses |
['FDL', 'GPL3', 'LGPL3', 'custom'] |
| Hash |
4a8638871126566f21d09b0f01325c91db34d34792848d3a4fe3b93187845b5b |
# Maintainer: Felix Yan <felixonmars@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
pkgname=qt5-x11extras
_basever=5.15.18
pkgver=5.15.18
pkgrel=1
_commit=c44c4fa86fa0794c25baef4ee1f6272aca8c511a
arch=('x86_64')
url='https://www.qt.io'
license=('GPL3' 'LGPL3' 'FDL' 'custom')
pkgdesc='Provides platform-specific APIs for X11'
depends=('qt5-base')
makedepends=('git')
groups=('qt5')
_pkgfqn=${pkgname/5-/}
source=(kde-$_pkgfqn::git+https://invent.kde.org/qt/qt/$_pkgfqn#commit=$_commit)
sha256sums=('53ecd9aa79fd0e39e55ad22ce35b9d069e3f25c3e7419679c9fc45f55e22d407')
pkgver() {
cd kde-$_pkgfqn
echo "$_basever+kde+r"`git rev-list --count v$_basever-lts-lgpl..$_commit` | sed -e 's|+kde+r0||'
}
prepare() {
mkdir -p build
}
build() {
cd build
qmake ../kde-$_pkgfqn
make
}
package() {
cd build
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}
}