[arch-commits] Commit in deepin-session-ui/trunk (PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Sun Jul 31 10:20:06 UTC 2022
Date: Sunday, July 31, 2022 @ 10:20:06
Author: felixonmars
Revision: 1259261
upgpkg: deepin-session-ui 5.5.23-1
Modified:
deepin-session-ui/trunk/PKGBUILD
----------+
PKGBUILD | 27 +++++++++++++--------------
1 file changed, 13 insertions(+), 14 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-07-31 10:17:47 UTC (rev 1259260)
+++ PKGBUILD 2022-07-31 10:20:06 UTC (rev 1259261)
@@ -3,8 +3,8 @@
# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
pkgname=deepin-session-ui
-pkgver=5.5.6
-pkgrel=4
+pkgver=5.5.23
+pkgrel=1
pkgdesc='Deepin desktop-environment - Session UI module'
arch=('x86_64')
url="https://github.com/linuxdeepin/dde-session-ui"
@@ -12,30 +12,29 @@
groups=('deepin')
depends=('gsettings-qt' 'deepin-qt5integration' 'liblightdm-qt5' 'qt5-svg' 'deepin-daemon'
'deepin-control-center' 'deepin-wallpapers')
-makedepends=('deepin-gettext-tools' 'gtest' 'qt5-tools')
-provides=('deepin-notifications')
-conflicts=('dde-workspace' 'dde-session-ui' 'deepin-notifications')
-replaces=('dde-workspace' 'dde-session-ui' 'deepin-notifications')
+makedepends=('cmake' 'deepin-gettext-tools' 'gtest' 'ninja')
source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-session-ui/archive/$pkgver.tar.gz")
-sha512sums=('24137948bb92b42b70d06c7eab2bae6278d71e46a35b767aac9f93f33241e404f31416e8f7ed2fbcf7d859b4d8f635f441244867424c6ac11471e2d6d3266fd2')
+sha512sums=('bc975a0bc38e0e87d8e7316e93603aa9ecfe67061220d7571456b3a0e210a7c0134850d672f27f38e0721e5f0a57adec0a355c24facfec51d733f1a1716c8e5f')
prepare() {
+ mkdir -p build
+
cd dde-session-ui-$pkgver
sed -i 's|/usr/share/backgrounds/default_background.jpg|/usr/share/backgrounds/deepin/desktop.jpg|' widgets/*.cpp
}
build() {
- cd dde-session-ui-$pkgver
- qmake-qt5 PREFIX=/usr
- make
+ cd build
+ cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr ../dde-session-ui-$pkgver
+ ninja
}
check() {
- cd dde-session-ui-$pkgver
- # make test
+ cd build
+ # ninja test
}
package() {
- cd dde-session-ui-$pkgver
- make INSTALL_ROOT="$pkgdir" install
+ cd build
+ DESTDIR=="$pkgdir" ninja install
}
More information about the arch-commits
mailing list