Package deepin-kwin: Specfile
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 | %define _cmake__builddir BUILD %define repo dde-kwin %def_disable clang Name: deepin-kwin Version: 5.6.5 Release: alt1 Summary: KWin configuration for Deepin Desktop Environment License: GPL-3.0+ and MIT Group: Graphical desktop/Other Url: https://github.com/linuxdeepin/dde-kwin Packager: Leontiy Volodin <lvol@altlinux.org> Source: %url/archive/%version/%repo-%version.tar.gz Provides: deepin-kwin-devel = %version Obsoletes: deepin-kwin-devel < %version Requires: deepin-kwin2 %if_enabled clang BuildRequires(pre): clang-devel %else BuildRequires(pre): gcc-c++ %endif BuildRequires(pre): rpm-build-kf5 rpm-build-ninja BuildRequires(pre): plasma5-kwin-devel libkwin5 BuildRequires: cmake extra-cmake-modules qt5-tools qt5-tools-devel qt5-base-devel plasma5-kdecoration-devel qt5-x11extras-devel qt5-declarative-devel kf5-kwindowsystem-devel kf5-kcoreaddons-devel dtk5-gui-devel dtk5-common kf5-kconfig-devel kf5-kglobalaccel-devel kf5-ki18n-devel gsettings-qt-devel plasma5-kwin-devel BuildRequires: zlib-devel bzlib-devel libpng-devel libpcre-devel libbrotli-devel libuuid-devel libexpat-devel libdrm-devel libgbm-devel BuildRequires: libxcb-devel libglvnd-devel libX11-devel BuildRequires: plasma5-kwayland-server-devel kf5-kwayland-devel dwayland-devel libwayland-client-devel # libkwineffects12 libkwinglutils12 libxcb libGL libX11 %description This package provides a kwin configuration that used as the new WM for Deepin Desktop Environment. %prep %setup -n %repo-%version sed -i 's|${CMAKE_INSTALL_PREFIX}/share/kwin/scripts|%_K5data/kwin/scripts/|' \ scripts/CMakeLists.txt sed -i 's|/usr/include/KWaylandServer|%_K5inc/KWaylandServer|' CMakeLists.txt # sed -i 's|/usr/share/backgrounds/default_background.jpg|/usr/share/design-current/backgrounds/default.png|' \ # deepin-wm-dbus/deepinwmfaker.cpp sed -i 's|dtkcore|Dtk::Core|' deepin-wm-dbus/CMakeLists.txt %build %add_optflags -I%_includedir/DWayland/Client %if_enabled clang export CC="clang" export CXX="clang++" export AR="llvm-ar" %endif export PATH=%_qt5_bindir:$PATH %K5cmake \ -GNinja \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_LIBDIR=%_K5lib \ -DUSE_SCRIPTS=ON \ -DUSE_DEEPIN_WM_DBUS=ON \ -DUSE_TABBOX=ON \ -DUSE_DEEPIN_WAYLAND=ON \ -DUSE_KWIN_NO_SCALE=ON \ # cmake --build "%_cmake__builddir" -j%__nprocs %install %cmake_install chmod +x %buildroot%_bindir/kwin_no_scale %files %doc CHANGELOG.md LICENSE %_sysconfdir/xdg/* %_bindir/kwin_no_scale %_bindir/deepin-wm-dbus %dir %_datadir/dsg/ %dir %_datadir/dsg/configs/ %dir %_datadir/dsg/configs/org.kde.kwin/ %_datadir/dsg/configs/org.kde.kwin/org.kde.kwin.splitmenu.display.json %_K5data/kwin/scripts/* %_datadir/dbus-1/interfaces/com.deepin.wm.xml %_datadir/dbus-1/services/com.deepin.wm.service %changelog * Sun Jan 22 2023 Leontiy Volodin <lvol@altlinux.org> 5.6.5-alt1 - New version (5.6.5). - Removed unneeded patches. * Thu Jan 19 2023 Leontiy Volodin <lvol@altlinux.org> 5.5.11-alt3 - Fix build with dtkcore 5.6.4. * Thu Nov 24 2022 Leontiy Volodin <lvol@altlinux.org> 5.5.11-alt2.1 - Removed hard mention of the cmake build version. * Wed Nov 23 2022 Leontiy Volodin <lvol@altlinux.org> 5.5.11-alt2 - New version (5.5.11-deepin). - Restored blur. * Thu Oct 06 2022 Leontiy Volodin <lvol@altlinux.org> 5.5.11-alt1 - New version (5.5.11). * Thu Jun 02 2022 Leontiy Volodin <lvol@altlinux.org> 5.4.26-alt3 - Fixed multitasking using the dock panel. - Rebuilt with gcc12. * Tue May 31 2022 Leontiy Volodin <lvol@altlinux.org> 5.4.26-alt2 - Fixed wallpaper error. - Enabled blur. - Enabled checkbox for rounding. * Tue Apr 19 2022 Leontiy Volodin <lvol@altlinux.org> 5.4.26-alt1 - New version (5.4.26). * Wed Mar 09 2022 Leontiy Volodin <lvol@altlinux.org> 5.4.19-alt1 - New version (5.4.19). * Fri Feb 04 2022 Leontiy Volodin <lvol@altlinux.org> 5.4.12-alt1 - New version (5.4.12). * Mon Nov 08 2021 Sergey V Turchin <zerg@altlinux.org> 5.3.14-alt3 - fix to build with new kwin * Tue Oct 05 2021 Leontiy Volodin <lvol@altlinux.org> 5.3.14-alt2 - Fixed library links with x11. * Fri Aug 20 2021 Leontiy Volodin <lvol@altlinux.org> 5.3.14-alt1 - New version (5.3.14). * Tue May 18 2021 Leontiy Volodin <lvol@altlinux.org> 5.3.9-alt1 - New version (5.3.9) with rpmgs script. * Fri Apr 09 2021 Leontiy Volodin <lvol@altlinux.org> 5.3.7-alt3.git4d0141c - Fixed build with dtk 5.4.13. * Wed Mar 31 2021 Leontiy Volodin <lvol@altlinux.org> 5.3.7-alt2.git4d0141c - Fixed compile with kwin 5.21. - Built from commit 4d0141c175e770586f2e08893c8105d1022dfc29. * Tue Mar 30 2021 Leontiy Volodin <lvol@altlinux.org> 5.3.7-alt1 - New version (5.3.7) with rpmgs script. * Mon Jan 04 2021 Leontiy Volodin <lvol@altlinux.org> 5.2.0.13-alt1 - New version (5.2.0.13) with rpmgs script. * Tue Dec 15 2020 Leontiy Volodin <lvol@altlinux.org> 5.2.0.11-alt2 - Changed default background. * Fri Dec 11 2020 Leontiy Volodin <lvol@altlinux.org> 5.2.0.11-alt1 - New version (5.2.0.11) with rpmgs script. * Tue Dec 08 2020 Leontiy Volodin <lvol@altlinux.org> 5.2.0.2-alt4 - Fixed critical wm error. * Wed Nov 25 2020 Leontiy Volodin <lvol@altlinux.org> 5.2.0.2-alt3 - Fixed undefined symbols in elfs. - Fixed url. * Wed Nov 25 2020 Andrey Cherepanov <cas@altlinux.org> 5.2.0.2-alt2.1 - Link with libkwin to prevent unresolved symbols. * Wed Oct 07 2020 Leontiy Volodin <lvol@altlinux.org> 5.2.0.2-alt2 - Fixed file locations. * Wed Sep 30 2020 Leontiy Volodin <lvol@altlinux.org> 5.2.0.2-alt1 - Initial build for ALT Sisyphus (thanks fedora and archlinux for this spec). |