mirror of
https://github.com/openwrt/video.git
synced 2026-05-31 06:51:54 +08:00
87da1a9fbb
Drop the obsolete 001-evdev-cast-ioctl-request-to-int.patch which has been merged upstream. Link: https://git.sr.ht/~kennylevinsen/seatd/log/refs/heads/0.9.3 Signed-off-by: Daniel Golle <daniel@makrotopia.org>
82 lines
2.0 KiB
Makefile
82 lines
2.0 KiB
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=seatd
|
|
PKG_VERSION:=0.9.3
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
PKG_SOURCE_URL:=https://git.sr.ht/~kennylevinsen/seatd
|
|
PKG_SOURCE_VERSION:=$(PKG_VERSION)
|
|
PKG_MIRROR_HASH:=9367dc4b644348ffd841634e7270ade94f5667289b798e24a17fd37e519c5908
|
|
|
|
PKG_MAINTAINER:=Daniel Golle <daniel@makrotopia.org>
|
|
PKG_LICENSE:=MIT
|
|
|
|
PKG_INSTALL:=1
|
|
PKG_BUILD_DEPENDS:=wayland/host
|
|
# upstream meson auto-enables -fhardened (which implies
|
|
# -fstack-check=specific); MIPS16 codegen does not implement that and
|
|
# the compile aborts. Build seatd as plain MIPS32 on those targets.
|
|
PKG_BUILD_FLAGS:=no-mips16
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
include $(INCLUDE_DIR)/meson.mk
|
|
|
|
define Package/libseat
|
|
SECTION:=libs
|
|
CATEGORY:=Libraries
|
|
SUBMENU:=Video
|
|
TITLE:=libseat
|
|
URL:=https://git.sr.ht/~kennylevinsen/seatd
|
|
endef
|
|
|
|
define Package/libseat/description
|
|
A universal seat management library.
|
|
endef
|
|
|
|
define Package/seatd
|
|
SECTION:=libs
|
|
CATEGORY:=Libraries
|
|
SUBMENU:=Video
|
|
TITLE:=seatd
|
|
URL:=https://git.sr.ht/~kennylevinsen/seatd
|
|
DEPENDS:=+libseat
|
|
endef
|
|
|
|
define Package/seatd/description
|
|
A minimal seat management daemon.
|
|
endef
|
|
|
|
MESON_ARGS += \
|
|
-Dlibseat-logind=disabled \
|
|
-Dlibseat-seatd=enabled \
|
|
-Dlibseat-builtin=disabled \
|
|
-Dserver=enabled \
|
|
-Dexamples=disabled \
|
|
-Dman-pages=disabled \
|
|
-Ddefaultpath="/tmp/run/seatd.sock"
|
|
|
|
define Build/InstallDev
|
|
$(INSTALL_DIR) $(1)/usr/include
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/include/* $(1)/usr/include/
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib*.so* $(1)/usr/lib/
|
|
$(INSTALL_DIR) $(1)/usr/lib/pkgconfig
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/pkgconfig/*.pc $(1)/usr/lib/pkgconfig
|
|
endef
|
|
|
|
define Package/libseat/install
|
|
$(INSTALL_DIR) $(1)/usr/lib
|
|
$(CP) $(PKG_INSTALL_DIR)/usr/lib/lib*.so.* $(1)/usr/lib/
|
|
endef
|
|
|
|
define Package/seatd/install
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/seatd $(1)/usr/bin/
|
|
$(INSTALL_DIR) $(1)/etc/init.d
|
|
$(INSTALL_BIN) ./files/seatd.init $(1)/etc/init.d/seatd
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,libseat))
|
|
$(eval $(call BuildPackage,seatd))
|