blob: 718798cdfde1ec6af7807a031c867c117a8c8da4 (
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
47
48
49
50
51
52
53
54
55
56
57
58
|
# Maintainer: Chih-Hsuan Yen <base64_decode("eXUzYWN0eHQydHR0ZmlteEBjaHllbi5jYwo=")>
_pkgname=lxqt-wayland-session
pkgname=$_pkgname-git
pkgver=0.0.0.r23.7e30673
pkgrel=1
pkgdesc='Files needed for the LXQt Wayland Session'
arch=('any')
url='https://github.com/lxqt/lxqt-wayland-session'
# see https://github.com/lxqt/lxqt-wayland-session/blob/master/LICENSE for more details
license=(
'LGPL-2.1-only' # most files
'MIT' # files adapted from sway and wayfire
'GPL-2.0-only' # files adapted from labwc https://github.com/labwc/labwc/blob/0.8.0/meson.build#L5
'GPL-3.0-only' # files adapted from river (https://codeberg.org/river/river/src/tag/v0.3.5#licensing) and labwc-themes
'BSD-3-Clause' # files adapted from hyprland
'CC-BY-SA-4.0' # wallpapers
)
depends=(
'sh'
'lxqt-session-git'
# Allow to use xdg-utils under LXQt, similar to https://github.com/lxqt/lxqt-session/blob/2.0.0/CHANGELOG#L27
# startlxqtwayland sets XDG_CURRENT_DESKTOP
'qtxdg-tools-git'
# For applications that need layer-shell-qt (ex: lxqt-panel)
'layer-shell-qt'
)
optdepends=(
# See upstream README.md for supported compositors
'labwc'
'wayfire'
'kwin'
'hyprland'
'river'
'sway'
)
makedepends=('git' 'cmake' 'qt6-tools' 'lxqt-build-tools-git')
provides=("$_pkgname=$pkgver")
conflicts=("$_pkgname")
source=("git+https://github.com/lxqt/$_pkgname.git")
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
printf "0.0.0.r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cmake -B build -S "$srcdir/$_pkgname" \
-DCMAKE_INSTALL_PREFIX=/usr
make -C build
}
package() {
make -C build DESTDIR="$pkgdir" install
install -Dm644 $_pkgname/{COPYING.LESSER,COPYING,LICENSE.MIT,LICENSE.GPLv2,LICENSE.BSD} -t "$pkgdir"/usr/share/licenses/$pkgname
}
|