blob: 7df8333a0ed3543cc54b4166037923792ce5a971 (
plain)
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
|
# Maintainer: justforlxz <justforlxz@gmail.com>
pkgname=deepin-kwin-git
pkgver=v5.15.4.r4204.g567199313
pkgrel=1
pkgdesc='An easy to use, but flexible, composited Window Manager'
arch=(x86_64)
license=(LGPL)
depends=(kscreenlocker xcb-util-cursor plasma-framework5 kcmutils5 breeze
pipewire-session-manager libqaccessibilityclient lcms2 libxcvt)
makedepends=(extra-cmake-modules
wayland-protocols
qt5-tools
kdoctools5
dwayland
deepin-wayland-protocols
python
ninja)
optdepends=(dde-kwin)
provides=('deepin-kwin-reborn' 'deepin-kwin')
conflicts=('deepin-kwin-reborn' 'deepin-kwin')
groups=('deepin-git')
source=("$pkgname::git+https://github.com/linuxdeepin/deepin-kwin")
install=deepin-kwin.install
sha256sums=('SKIP')
options=(debug)
pkgver() {
cd $pkgname
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
build() {
cmake -G Ninja -B build -S $pkgname \
-DCMAKE_INSTALL_LIBEXECDIR=lib \
-DBUILD_TESTING=OFF \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKWIN_BUILD_TABBOX=ON \
-DKWIN_BUILD_RUNNERS=OFF
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
|