1 include $(TOPDIR
)/rules.mk
5 PKG_RELEASE
:=$(AUTORELEASE
)
8 PKG_SOURCE_URL
:=https
://git.sr.ht
/~kennylevinsen
/seatd
9 PKG_SOURCE_VERSION
:=$(PKG_VERSION
)
10 PKG_MIRROR_HASH
:=f3bcdf68b67ec48e637851031a839bff1835ca8462a03fa4f7556f431217af37
12 PKG_MAINTAINER
:=Daniel Golle
<daniel@makrotopia.org
>
16 PKG_BUILD_DEPENDS
:=wayland
/host
18 include $(INCLUDE_DIR
)/package.mk
19 include $(INCLUDE_DIR
)/meson.mk
21 define Package
/libseat
26 URL
:=https
://git.sr.ht
/~kennylevinsen
/seatd
29 define Package
/libseat
/description
30 A universal seat management library.
38 URL
:=https
://git.sr.ht
/~kennylevinsen
/seatd
42 define Package
/seatd
/description
43 A minimal seat management daemon.
47 -Dlibseat-logind
=disabled \
48 -Dlibseat-seatd
=enabled \
49 -Dlibseat-builtin
=disabled \
52 -Dman-pages
=disabled \
53 -Ddefaultpath
="/tmp/run/seatd.sock"
55 define Build
/InstallDev
56 $(INSTALL_DIR
) $(1)/usr
/include
57 $(CP
) $(PKG_INSTALL_DIR
)/usr
/include/* $(1)/usr
/include/
58 $(INSTALL_DIR
) $(1)/usr
/lib
59 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/lib
*.so
* $(1)/usr
/lib
/
60 $(INSTALL_DIR
) $(1)/usr
/lib
/pkgconfig
61 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/pkgconfig
/*.
pc $(1)/usr
/lib
/pkgconfig
64 define Package
/libseat
/install
65 $(INSTALL_DIR
) $(1)/usr
/lib
66 $(CP
) $(PKG_INSTALL_DIR
)/usr
/lib
/lib
*.so.
* $(1)/usr
/lib
/
69 define Package
/seatd
/install
70 $(INSTALL_DIR
) $(1)/usr
/bin
71 $(INSTALL_BIN
) $(PKG_INSTALL_DIR
)/usr
/bin
/seatd
$(1)/usr
/bin
/
72 $(INSTALL_DIR
) $(1)/etc
/init.d
73 $(INSTALL_BIN
) .
/files
/seatd.init
$(1)/etc
/init.d
/seatd
76 $(eval
$(call BuildPackage
,libseat
))
77 $(eval
$(call BuildPackage
,seatd
))
78 $(eval
$(call HostBuild
))