37 lines
1.2 KiB
Bash
37 lines
1.2 KiB
Bash
# Template file for 'lightdm-webkit2-greeter'
|
|
pkgname=lightdm-webkit2-greeter
|
|
version=2.2.5
|
|
revision=6
|
|
build_style=meson
|
|
hostmakedepends="pkg-config glib-devel gettext"
|
|
makedepends="accountsservice-devel gnome-backgrounds lightdm-devel
|
|
libwebkit2gtk41-devel dbus-glib-devel libxklavier-devel"
|
|
depends="void-artwork"
|
|
short_desc="Light Display Manager Webkit2 Greeter"
|
|
maintainer="John <me@johnnynator.dev>"
|
|
license="GPL-3.0-or-later"
|
|
homepage="https://github.com/Antergos/web-greeter"
|
|
distfiles="https://github.com/Antergos/web-greeter/archive/${version}.tar.gz"
|
|
checksum=f3223db35d0efaae76b2157f312dd10979c133f5a85add8fc75fd66ecb3186e3
|
|
conf_files="/etc/lightdm/lightdm-webkit2-greeter.conf"
|
|
provides="lightdm-greeter-1_0"
|
|
|
|
post_extract() {
|
|
mv themes/antergos themes/void
|
|
}
|
|
|
|
pre_configure() {
|
|
vsed -e "s/dependency('webkit2gtk-4.0'/dependency('webkit2gtk-4.1'/" \
|
|
-e "s/dependency('webkit2gtk-web-extension-4.0'/dependency('webkit2gtk-web-extension-4.1'/" \
|
|
-i meson.build
|
|
}
|
|
|
|
lightdm-webkit-greeter_package() {
|
|
short_desc+=" - (transitional dummy package)"
|
|
depends="lightdm-webkit2-greeter>=${version}_${revision}"
|
|
pkg_install() {
|
|
vmkdir usr/bin
|
|
ln -s ./lightdm-webkit2-greeter ${PKGDESTDIR}/usr/bin/lightdm-webkit-greeter
|
|
}
|
|
}
|