1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR
)/rules.mk
9 PKG_HASH
:= 27f68d96e3b97d98daadef13a202356524924fa381418fa6716b9136ef099093
10 PKG_DESCR
:= wayland compositor
11 PKG_SECTION
:= x11
/drivers
12 PKG_DEPENDS
:= wayland libxkbcommon libinput libpng libjpeg-turbo libseat mesa libexpat
13 PKG_DEPENDS
+= libwebp pam libxcursor libudev xkeyboard-config cairo libffi libdrm seatd
14 PKG_BUILDDEP
:= wayland wayland-protocols libxkbcommon libinput libpng libjpeg-turbo expat
15 PKG_BUILDDEP
+= libwebp pam libXcursor eudev cairo libseat libffi libdrm libdisplay-info mesa
16 PKG_SITES
:= https
://gitlab.freedesktop.org
/wayland
/weston
/-/releases
/$(PKG_VERSION
)/downloads
/
18 PKG_CFLINE_WESTON
:= select ADK_PACKAGE_CAIRO_WITH_PNG@
20 include $(ADK_TOPDIR
)/mk
/package.mk
22 $(eval
$(call PKG_template
,WESTON
,weston
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(PKG_DEPENDS
),$(PKG_DESCR
),$(PKG_SECTION
)))
24 MESON_FLAGS
+= -Dsystemd
=false \
25 -Dbackend-drm-screencast-vaapi
=false \
27 -Dcolor-management-lcms
=false \
30 -Dbackend-pipewire
=false \
32 -Dtest-junit-xml
=false \
35 WRKBUILD
= $(WRKDIR
)/$(PKG_NAME
)-obj
42 $(INSTALL_DIR
) $(IDIR_WESTON
)/usr
/share
43 $(CP
) $(WRKINST
)/usr
/share
/* \
44 $(IDIR_WESTON
)/usr
/share
/
45 $(INSTALL_DIR
) $(IDIR_WESTON
)/usr
/libexec
46 $(CP
) $(WRKINST
)/usr
/libexec
/* \
47 $(IDIR_WESTON
)/usr
/libexec
/
48 $(INSTALL_DIR
) $(IDIR_WESTON
)/usr
/lib
49 $(CP
) $(WRKINST
)/usr
/lib
/weston \
50 $(IDIR_WESTON
)/usr
/lib
/
51 $(CP
) $(WRKINST
)/usr
/lib
/libweston-13 \
52 $(IDIR_WESTON
)/usr
/lib
/
53 $(CP
) $(WRKINST
)/usr
/lib
/*so
* \
54 $(IDIR_WESTON
)/usr
/lib
/
55 $(INSTALL_DIR
) $(IDIR_WESTON
)/usr
/bin
56 $(INSTALL_BIN
) $(WRKINST
)/usr
/bin
/weston \
57 $(IDIR_WESTON
)/usr
/bin
59 include $(ADK_TOPDIR
)/mk
/pkg-bottom.mk