diff --git a/srcpkgs/lightdm-slick-greeter/files/slick-greeter.conf b/srcpkgs/lightdm-slick-greeter/files/slick-greeter.conf new file mode 100644 index 00000000000..ae5baa8229b --- /dev/null +++ b/srcpkgs/lightdm-slick-greeter/files/slick-greeter.conf @@ -0,0 +1,34 @@ +[Greeter] +# LightDM GTK+ Configuration +# Available configuration options listed below. +# +# activate-numlock=Whether to activate numlock. This features requires the installation of numlockx. (true or false) +# background=Background file to use, either an image path or a color (e.g. #772953) +# background-color=Background color (e.g. #772953), set before wallpaper is seen +# draw-user-backgrounds=Whether to draw user backgrounds (true or false) +# draw-grid=Whether to draw an overlay grid (true or false) +# show-hostname=Whether to show the hostname in the menubar (true or false) +# show-power=Whether to show the power indicator in the menubar (true or false) +# show-a11y=Whether to show the accessibility options in the menubar (true or false) +# show-keyboard=Whether to show the keyboard indicator in the menubar (true or false) +# show-clock=Whether to show the clock in the menubar (true or false) +# show-quit=Whether to show the quit menu in the menubar (true or false) +# logo=Logo file to use +# other-monitors-logo=Logo file to use for other monitors +# theme-name=GTK+ theme to use +# icon-theme-name=Icon theme to use +# font-name=Font to use +# xft-antialias=Whether to antialias Xft fonts (true or false) +# xft-dpi=Resolution for Xft in dots per inch +# xft-hintstyle=What degree of hinting to use (hintnone/hintslight/hintmedium/hintfull) +# xft-rgba=Type of subpixel antialiasing (none/rgb/bgr/vrgb/vbgr) +# onscreen-keyboard=Whether to enable the onscreen keyboard (true or false) +# high-contrast=Whether to use a high contrast theme (true or false) +# screen-reader=Whether to enable the screen reader (true or false) +# play-ready-sound=A sound file to play when the greeter is ready +# hidden-users=List of usernames (separated by semicolons) that are hidden until Ctr+Alt+Shift is pressed +# group-filter=List of groups that users must be part of to be shown (empty list shows all users) +# enable-hidpi=Whether to enable HiDPI support (on/off/auto) +# only-on-monitor=Sets the monitor on which to show the login window, -1 means "follow the mouse" +# stretch-background-across-monitors=Whether to stretch the background across multiple monitors (false by default) +# clock-format=What clock format to use (e.g., %H:%M or %l:%M %p) diff --git a/srcpkgs/lightdm-slick-greeter/template b/srcpkgs/lightdm-slick-greeter/template new file mode 100644 index 00000000000..7a5225f7e61 --- /dev/null +++ b/srcpkgs/lightdm-slick-greeter/template @@ -0,0 +1,22 @@ +# Template file for 'lightdm-slick-greeter' +pkgname=lightdm-slick-greeter +version=2.0.9 +revision=1 +build_style=meson +hostmakedepends="pkg-config gettext vala" +makedepends="gtk+3-devel lightdm-devel libcanberra-devel ayatana-ido-devel + xapps-devel" +depends="hicolor-icon-theme" +conf_files="/etc/lightdm/slick-greeter.conf" +short_desc="Light Display Manager GTK+ Greeter from Linux Mint" +maintainer="Emil Tomczyk " +license="GPL-3.0-only" +homepage="https://github.com/linuxmint/slick-greeter" +distfiles="https://github.com/linuxmint/slick-greeter/archive/refs/tags/${version}.tar.gz" +checksum=fa0146862ac0967a1a333f9b553d60a5c625c99b903d01aefe9b87bfdb111c29 +provides="lightdm-greeter-1_0" + +post_install() { + vmkdir etc/lightdm + vinstall ${FILESDIR}/slick-greeter.conf 0644 etc/lightdm +}