Date: Sunday, July 31, 2022 @ 10:20:21 Author: felixonmars Revision: 1259262
archrelease: copy trunk to community-x86_64 Added: deepin-session-ui/repos/community-x86_64/PKGBUILD (from rev 1259261, deepin-session-ui/trunk/PKGBUILD) Deleted: deepin-session-ui/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 81 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 40 insertions(+), 41 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-07-31 10:20:06 UTC (rev 1259261) +++ PKGBUILD 2022-07-31 10:20:21 UTC (rev 1259262) @@ -1,41 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Josip Ponjavic <josipponjavic at gmail dot com> -# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com> - -pkgname=deepin-session-ui -pkgver=5.5.6 -pkgrel=4 -pkgdesc='Deepin desktop-environment - Session UI module' -arch=('x86_64') -url="https://github.com/linuxdeepin/dde-session-ui" -license=('GPL3') -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') -source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-session-ui/archive/$pkgver.tar.gz") -sha512sums=('24137948bb92b42b70d06c7eab2bae6278d71e46a35b767aac9f93f33241e404f31416e8f7ed2fbcf7d859b4d8f635f441244867424c6ac11471e2d6d3266fd2') - -prepare() { - 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 -} - -check() { - cd dde-session-ui-$pkgver - # make test -} - -package() { - cd dde-session-ui-$pkgver - make INSTALL_ROOT="$pkgdir" install -} Copied: deepin-session-ui/repos/community-x86_64/PKGBUILD (from rev 1259261, deepin-session-ui/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-07-31 10:20:21 UTC (rev 1259262) @@ -0,0 +1,40 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Josip Ponjavic <josipponjavic at gmail dot com> +# Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com> + +pkgname=deepin-session-ui +pkgver=5.5.23 +pkgrel=1 +pkgdesc='Deepin desktop-environment - Session UI module' +arch=('x86_64') +url="https://github.com/linuxdeepin/dde-session-ui" +license=('GPL3') +groups=('deepin') +depends=('gsettings-qt' 'deepin-qt5integration' 'liblightdm-qt5' 'qt5-svg' 'deepin-daemon' + 'deepin-control-center' 'deepin-wallpapers') +makedepends=('cmake' 'deepin-gettext-tools' 'gtest' 'ninja') +source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/dde-session-ui/archive/$pkgver.tar.gz") +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 build + cmake -GNinja -DCMAKE_INSTALL_PREFIX=/usr ../dde-session-ui-$pkgver + ninja +} + +check() { + cd build + # ninja test +} + +package() { + cd build + DESTDIR=="$pkgdir" ninja install +}