Skip to content

Commit

Permalink
New package: seatd-0.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ifreund committed Aug 31, 2020
1 parent f92a746 commit 9d54308
Show file tree
Hide file tree
Showing 5 changed files with 60 additions and 0 deletions.
1 change: 1 addition & 0 deletions srcpkgs/libseat
1 change: 1 addition & 0 deletions srcpkgs/libseat-devel
2 changes: 2 additions & 0 deletions srcpkgs/seatd/files/seatd/run
@@ -0,0 +1,2 @@
#!/bin/sh
exec /usr/bin/seatd -g video
20 changes: 20 additions & 0 deletions srcpkgs/seatd/patches/no_test.patch
@@ -0,0 +1,20 @@
diff --git a/meson.build b/meson.build
index 301b0e3..0e31f5a 100644
--- a/meson.build
+++ b/meson.build
@@ -172,15 +172,6 @@ if get_option('examples').enabled()
)
endif

-test(
- 'linked_list',
- executable(
- 'linked_list_test',
- ['common/linked_list.c', 'tests/linked_list.c'],
- include_directories: [include_directories('.', 'include')],
- )
-)
-
scdoc = dependency('scdoc', required: get_option('man-pages'), version: '>= 1.9.7')

if scdoc.found()
36 changes: 36 additions & 0 deletions srcpkgs/seatd/template
@@ -0,0 +1,36 @@
# Template file for 'seatd'
pkgname=seatd
version=0.2.0
revision=1
build_style=meson
configure_args="-Dexamples=disabled -Dlogind=enabled"
hostmakedepends="pkg-config scdoc"
makedepends="elogind-devel"
short_desc="Minimal seat management daemon"
maintainer="Isaac Freund <ifreund@ifreund.xyz>"
license="MIT"
homepage="https://kl.wtf/projects/seatd/"
distfiles="https://git.sr.ht/~kennylevinsen/seatd/archive/${version}.tar.gz"
checksum=6b0160fa2f0500da7db6450547b8ffa7063d063dc94a4a2a710f416b2e41699f
patch_args=-Np1

post_install() {
vlicense LICENSE
vsv seatd
}

libseat_package() {
short_desc="Universal seat management library"
pkg_install() {
vmove usr/lib/libseat.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
}
}

0 comments on commit 9d54308

Please sign in to comment.