Date: Saturday, May 6, 2023 @ 16:35:50
  Author: felixonmars
Revision: 1459040

upgpkg: deepin-kwin 5.25.0-1

Modified:
  deepin-kwin/trunk/PKGBUILD
Deleted:
  deepin-kwin/trunk/deepin-kwin-tabbox-chameleon-rename.patch

-------------------------------------------+
 PKGBUILD                                  |   38 ++++++++----------
 deepin-kwin-tabbox-chameleon-rename.patch |   59 ----------------------------
 2 files changed, 17 insertions(+), 80 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-05-06 16:35:48 UTC (rev 1459039)
+++ PKGBUILD    2023-05-06 16:35:50 UTC (rev 1459040)
@@ -3,38 +3,34 @@
 # Contributor: Xu Fasheng <fasheng.xu[AT]gmail.com>
 
 pkgname=deepin-kwin
-pkgver=5.5.11
+pkgver=5.25.0
 pkgrel=1
-pkgdesc='KWin configures on DDE'
+pkgdesc='DDE window manager forked from KWin'
 arch=('x86_64')
-url="https://github.com/linuxdeepin/dde-kwin";
+url="https://github.com/linuxdeepin/deepin-kwin";
 license=('GPL3')
-depends=('deepin-qt5integration' 'deepin-wallpapers' 'kwin')
-makedepends=('extra-cmake-modules' 'ninja' 'qt5-tools')
-source=("$pkgname-$pkgver-deepin.tar.gz::https://github.com/linuxdeepin/dde-kwin/archive/$pkgver-deepin.tar.gz";
-        $pkgname-tabbox-chameleon-rename.patch)
-sha512sums=('0f401842f3f20b31a3527bd480af2a62dbafc10a0d7c3fae6cf5ef088184c5470b177ab641e8496c375ad982bf1649fbaa0e10cfe19532d44a227fa87c7e4d3b'
-            
'454889eaaf48f0e329d6cde870f57dd25dc1f9f88ade234fdb058249c5a9602fdd43dbfffe7c79c0d05843cec500285e719233bf1b4141c32b387bd1c86e02d7')
+depends=(qt5-declarative qt5-x11extras kconfig kconfigwidgets kcoreaddons 
kcrash kdbusaddons
+         kglobalaccel ki18n kiconthemes kidletime knotifications kpackage 
plasma-framework
+         kwidgetsaddons kwindowsystem kcompletion kcmutils knewstuff kservice 
ktextwidgets kxmlgui
+         krunner kdecoration kscreenlocker dwayland xcb-util-cursor 
xorg-xwayland libpipewire breeze
+         lcms2 libqaccessibilityclient qt5-quickcontrols python)
+makedepends=(extra-cmake-modules kdoctools ninja qt5-tools wayland-protocols
+             deepin-wayland-protocols)
+source=("$pkgname-$pkgver.tar.gz::https://github.com/linuxdeepin/deepin-kwin/archive/$pkgver.tar.gz";)
+sha512sums=('c9160483ae76ca8027801550a596097ad40a57104998c93e74fb8ba2e909cf9e1518b1fcb5c2d13507a6ccfa68174a634413e6259b7980f7954c04bc84e000c4')
 
 prepare() {
-  cd dde-kwin-$pkgver-deepin
-  sed -i 
's|/usr/share/backgrounds/default_background.jpg|/usr/share/backgrounds/deepin/desktop.jpg|'
 plugins/kwineffects/multitasking/background.cpp
-  patch -p1 -i ../$pkgname-tabbox-chameleon-rename.patch
+  cd deepin-kwin-$pkgver
+  sed -i 
's|/usr/share/backgrounds/default_background.jpg|/usr/share/backgrounds/deepin/desktop.jpg|'
 src/effects/multitaskview/multitaskview.cpp
 }
 
 build() {
-  cd dde-kwin-$pkgver-deepin
-  cmake . -GNinja -DCMAKE_INSTALL_PREFIX=/usr \
-          -DUSE_WINDOW_TOOL=OFF \
-          -DENABLE_KDECORATION=ON \
-          -DENABLE_BUILTIN_BLUR=OFF \
-          -DENABLE_BUILTIN_MULTITASKING=OFF \
-          -DENABLE_BUILTIN_BLACK_SCREEN=OFF \
-          -DUSE_DEEPIN_WAYLAND=OFF
+  cd deepin-kwin-$pkgver
+  cmake . -GNinja -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBEXECDIR=lib
   ninja
 }
 
 package() {
-  cd dde-kwin-$pkgver-deepin
+  cd deepin-kwin-$pkgver
   DESTDIR="$pkgdir" ninja install
 }

Deleted: deepin-kwin-tabbox-chameleon-rename.patch
===================================================================
--- deepin-kwin-tabbox-chameleon-rename.patch   2023-05-06 16:35:48 UTC (rev 
1459039)
+++ deepin-kwin-tabbox-chameleon-rename.patch   2023-05-06 16:35:50 UTC (rev 
1459040)
@@ -1,59 +0,0 @@
-commit 30f09148b0c1ab4843d6a146a26c99a8945a4346
-Author: Felix Yan <[email protected]>
-Date:   Wed Feb 26 18:36:20 2020 +0800
-
-    Rename thumbnail_grid to avoid conflict with new kdeplasma-addons
-
-diff --git a/configures/kwinrc.in b/configures/kwinrc.in
-index 9551f40ce..d5493c285 100644
---- a/configures/kwinrc.in
-+++ b/configures/kwinrc.in
-@@ -40,7 +40,7 @@ ActivitiesMode=1
- ApplicationsMode=0
- DesktopMode=1
- HighlightWindows=true
--LayoutName=thumbnail_grid
-+LayoutName=chameleon
- MinimizedMode=0
- MultiScreenMode=0
- ShowDesktopMode=1
-diff --git a/tabbox/CMakeLists.txt b/tabbox/CMakeLists.txt
-index af1c0d929..d377f3056 100644
---- a/tabbox/CMakeLists.txt
-+++ b/tabbox/CMakeLists.txt
-@@ -1,6 +1,6 @@
- install(
-     DIRECTORY
--    thumbnail_grid
-+    chameleon
-     DESTINATION
-     ${CMAKE_INSTALL_PREFIX}/share/kwin/tabbox
- )
-diff --git a/tabbox/thumbnail_grid/contents/ui/main.qml 
b/tabbox/chameleon/contents/ui/main.qml
-similarity index 100%
-rename from tabbox/thumbnail_grid/contents/ui/main.qml
-rename to tabbox/chameleon/contents/ui/main.qml
-diff --git a/tabbox/thumbnail_grid/metadata.desktop 
b/tabbox/chameleon/metadata.desktop
-similarity index 71%
-rename from tabbox/thumbnail_grid/metadata.desktop
-rename to tabbox/chameleon/metadata.desktop
-index 7114afe0b..97ae44aa3 100755
---- a/tabbox/thumbnail_grid/metadata.desktop
-+++ b/tabbox/chameleon/metadata.desktop
-@@ -1,5 +1,5 @@
- [Desktop Entry]
--Name=Thumbnail Grid
-+Name=Chameleon
- Comment=
- 
- Type=Service
-@@ -11,7 +11,7 @@ X-Plasma-MainScript=ui/main.qml
- Icon=preferences-system-windows-switcher-big-icons
- X-KDE-PluginInfo-Author=Chris Holland
- [email protected]
--X-KDE-PluginInfo-Name=thumbnail_grid
-+X-KDE-PluginInfo-Name=chameleon
- X-KDE-PluginInfo-Version=4
--X-KDE-PluginInfo-Website=https://github.com/Zren/kwin-tabbox-thumbnail_grid
-+X-KDE-PluginInfo-Website=https://github.com/linuxdeepin/dde-kwin
- X-KDE-PluginInfo-Depends=

Reply via email to