diff --git a/common/shlibs b/common/shlibs index 7df69a3871..aa695ce3e5 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3313,3 +3313,4 @@ libcodecore.so.0 libio.elementary.code-3.0_1 libio.elementary.music-core.so.0 libio.elementary.music-5.0_1 libpantheon-files-core.so.0 libio.elementary.files-4.0_1 libpantheon-files-widgets.so.0 libio.elementary.files-4.0_1 +libwlroots.so.0 wlroots-0.1_1 diff --git a/srcpkgs/wlroots-devel b/srcpkgs/wlroots-devel new file mode 120000 index 0000000000..25eaaab13a --- /dev/null +++ b/srcpkgs/wlroots-devel @@ -0,0 +1 @@ +wlroots \ No newline at end of file diff --git a/srcpkgs/wlroots/template b/srcpkgs/wlroots/template new file mode 100644 index 0000000000..e2efe69afc --- /dev/null +++ b/srcpkgs/wlroots/template @@ -0,0 +1,34 @@ +# Template file for 'wlroots' +pkgname=wlroots +version=0.1 +revision=1 +build_style=meson +configure_args="-Dlibcap=enabled -Dlogind=enabled -Dlogind-provider=elogind + -Dxcb-errors=enabled -Dxcb-icccm=enabled -Dxcb-xkb=enabled -Dxwayland=enabled + -Dx11-backend=enabled -Dexamples=false -Drootston=false" +hostmakedepends="pkg-config wayland-devel" +makedepends="elogind-devel libcap-devel wayland-devel wayland-protocols + MesaLib-devel libinput-devel libxkbcommon-devel libdrm-devel pixman-devel + libxcb-devel xcb-util-cursor-devel xcb-util-devel xcb-util-image-devel + xcb-util-keysyms-devel xcb-util-renderutil-devel xcb-util-wm-devel + xcb-util-errors-devel xcb-util-xrm-devel" +short_desc="Module Wayland compositor library" +maintainer="maxice8 " +license="MIT" +homepage="https://github.com/swaywm/wlroots" +distfiles="https://github.com/swaywm/wlroots/archive/${version}.tar.gz" +checksum=cff055bc141eefea6fb1aa410d166890f1e6666d3fd321d70403a543494a6a84 + +post_install() { + vlicense LICENSE +} + +wlroots-devel_package() { + depends="wlroots-${version}_${revision}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" + } +}