blob: 7f4f883cba15ab52ac6986f4032ff730df449b8c (
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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
|
# Maintainer: Dan Johansen <strit@strits.dk>
# Contributor: Luis Martinez <luis dot martinez at disroot dot org>
# Contributor: Librewish <librewish@gmail.com?
pkgbase=greetd-qtgreet
pkgname=('greetd-qtgreet' 'greetd-qtgreet-qt6')
_pkgname=QtGreet
pkgver=2.0.2
pkgrel=3
pkgdesc='Qt based greeter for greetd'
arch=('aarch64' 'x86_64')
url="https://gitlab.com/marcusbritanicus/$_pkgname"
license=('GPL-3.0-only')
makedepends=('meson'
'ninja'
'qt5-base'
'dfl-wayqt'
'dfl-login1'
'dfl-applications'
'dfl-utils'
'qt6-base'
'dfl-wayqt-qt6'
'dfl-login1-qt6'
'dfl-applications-qt6'
'dfl-utils-qt6'
'mpv'
'wlroots0.17')
backup=("etc/qtgreet/config.ini"
"etc/qtgreet/sway.cfg"
"etc/qtgreet/users.conf"
"etc/qtgreet/wayfire.ini")
source=("$pkgbase-$pkgver.tar.gz::$url/-/archive/v$pkgver/$_pkgname-v$pkgver.tar.gz")
sha256sums=('a9e79d4ab498b54b02f246e67781a4622049eb77f507a4120e8a12298081d453')
build() {
cd "${_pkgname}-v${pkgver}"
echo "Building QT5 version..."
PKG_CONFIG_PATH=/usr/lib/wlroots0.17/pkgconfig \
meson .build --prefix=/usr -Duse_qt_version=qt5 --buildtype=release
ninja -C .build
echo "Building QT6 version..."
PKG_CONFIG_PATH=/usr/lib/wlroots0.17/pkgconfig \
meson .build-qt6 --prefix=/usr -Duse_qt_version=qt6 --buildtype=release
ninja -C .build-qt6
}
package_greetd-qtgreet() {
depends=('qt5-base'
'dfl-wayqt'
'dfl-login1'
'dfl-applications'
'dfl-utils'
'mpv'
'wlroots0.17')
optdepends=('wayfire')
cd "${_pkgname}-v${pkgver}"
DESTDIR="${pkgdir}" ninja -C .build install
}
package_greetd-qtgreet-qt6() {
depends=('qt6-base'
'dfl-wayqt-qt6'
'dfl-login1-qt6'
'dfl-applications-qt6'
'dfl-utils-qt6'
'mpv'
'wlroots0.17')
optdepends=('wayfire')
cd "${_pkgname}-v${pkgver}"
DESTDIR="${pkgdir}" ninja -C .build-qt6 install
}
|