From b79c6dfc5f9b9d6bc066a9fbdabf3dc060983fe6 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Mon, 31 Aug 2020 16:19:39 +0200 Subject: [PATCH] New package: seatd-0.4.0 The elogind build option is enabled by default so that we can enable only the libseat wlroots backend by default. This is also the right default if other projects start using seatd. --- common/shlibs | 1 + srcpkgs/libseat | 1 + srcpkgs/libseat-devel | 1 + srcpkgs/seatd/files/seatd/run | 2 ++ srcpkgs/seatd/template | 40 +++++++++++++++++++++++++++++++++++ 5 files changed, 45 insertions(+) create mode 120000 srcpkgs/libseat create mode 120000 srcpkgs/libseat-devel create mode 100644 srcpkgs/seatd/files/seatd/run create mode 100644 srcpkgs/seatd/template diff --git a/common/shlibs b/common/shlibs index 5e274cc8d8d..8e73de74f7a 100644 --- a/common/shlibs +++ b/common/shlibs @@ -2978,6 +2978,7 @@ libstilview.so.0 libsidplayfp-1.8.7_1 libczmq.so.4 czmq-4.0.1_1 liblz.so.1 lzlib-1.8_1 libelogind.so.0 libelogind-238.1_2 +libseat.so.1 libseat-0.3.0_1 libnma.so.0 libnm-gtk-1.4.0_1 libgspell-1.so.2 gspell-1.8.0_1 libotf.so.1 libotf-0.9.16_1 diff --git a/srcpkgs/libseat b/srcpkgs/libseat new file mode 120000 index 00000000000..c277276d33e --- /dev/null +++ b/srcpkgs/libseat @@ -0,0 +1 @@ +seatd \ No newline at end of file diff --git a/srcpkgs/libseat-devel b/srcpkgs/libseat-devel new file mode 120000 index 00000000000..c277276d33e --- /dev/null +++ b/srcpkgs/libseat-devel @@ -0,0 +1 @@ +seatd \ No newline at end of file diff --git a/srcpkgs/seatd/files/seatd/run b/srcpkgs/seatd/files/seatd/run new file mode 100644 index 00000000000..a7cf1b48a36 --- /dev/null +++ b/srcpkgs/seatd/files/seatd/run @@ -0,0 +1,2 @@ +#!/bin/sh +exec /usr/bin/seatd -g _seatd diff --git a/srcpkgs/seatd/template b/srcpkgs/seatd/template new file mode 100644 index 00000000000..d76d4d3a658 --- /dev/null +++ b/srcpkgs/seatd/template @@ -0,0 +1,40 @@ +# Template file for 'seatd' +pkgname=seatd +version=0.4.0 +revision=1 +build_style=meson +configure_args="-Dexamples=disabled $(vopt_if elogind -Dlogind=enabled)" +hostmakedepends="pkg-config scdoc" +makedepends="$(vopt_if elogind elogind-devel)" +short_desc="Minimal seat management daemon" +maintainer="Isaac Freund " +license="MIT" +homepage="https://kl.wtf/projects/seatd/" +distfiles="https://git.sr.ht/~kennylevinsen/seatd/archive/${version}.tar.gz" +checksum=3c7458ff0c0d41ddd7734d01a5c5a9110ee5b94f01931e7e41ea0fd0c2e6050f +system_groups=_seatd + +build_options="elogind" +build_options_default="elogind" + +post_install() { + vlicense LICENSE + vsv seatd +} + +libseat_package() { + short_desc="Universal seat management library" + pkg_install() { + vmove "usr/lib/*.so.*" + } +} + +libseat-devel_package() { + depends="libseat>=${version}_${revision} ${makedepends}" + short_desc="Universal seat management library - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" + } +}