[arch-commits] Commit in deepin-qt5dxcb-plugin/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Sun Apr 26 03:52:16 UTC 2020
Date: Sunday, April 26, 2020 @ 03:52:15
Author: felixonmars
Revision: 621344
archrelease: copy trunk to community-staging-x86_64
Added:
deepin-qt5dxcb-plugin/repos/community-staging-x86_64/
deepin-qt5dxcb-plugin/repos/community-staging-x86_64/PKGBUILD
(from rev 621343, deepin-qt5dxcb-plugin/trunk/PKGBUILD)
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Copied: deepin-qt5dxcb-plugin/repos/community-staging-x86_64/PKGBUILD (from rev 621343, deepin-qt5dxcb-plugin/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-04-26 03:52:15 UTC (rev 621344)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=deepin-qt5dxcb-plugin
+pkgver=5.0.11
+pkgrel=1
+pkgdesc='Qt platform plugins for DDE'
+arch=('x86_64')
+url="https://github.com/linuxdeepin/qt5dxcb-plugin"
+license=('GPL3')
+depends=('cairo' 'qt5-x11extras')
+makedepends=('qt5-xcb-private-headers' 'libglvnd')
+groups=('deepin')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/qt5dxcb-plugin/archive/$pkgver.tar.gz")
+sha512sums=('a53a9445b8c84de47c3a1f50e111de11d43f3998638b0ead7deffc6766e0cc3f989f01835e77ac6dc78415805d49a6d17ca061783b9ced8617ded2d0849b808c')
+
+prepare() {
+ cd qt5dxcb-plugin-$pkgver
+
+ rm -r platformplugin/libqt5xcbqpa-dev
+ sed -i 's|error(Not support Qt Version: .*)|INCLUDEPATH += /usr/include/qtxcb-private|' platformplugin/linux.pri
+
+ sed -i 's/active = VtableHook::overrideVfptrFun.*/active = 1;/' platformplugin/dhighdpi.cpp
+}
+
+build() {
+ cd qt5dxcb-plugin-$pkgver
+ qmake-qt5 PREFIX=/usr
+ make
+}
+
+package() {
+ cd qt5dxcb-plugin-$pkgver
+ make INSTALL_ROOT="$pkgdir" install
+}
More information about the arch-commits
mailing list