From c14335246ff5a0bbab8c6adc23c19ae6a9396778 Mon Sep 17 00:00:00 2001 From: Marcin Puc Date: Fri, 18 Nov 2022 01:58:01 +0100 Subject: [PATCH] New package: wlroots0.15-0.15.1 --- common/shlibs | 1 + srcpkgs/wlroots0.15-devel | 1 + srcpkgs/wlroots0.15/template | 38 ++++++++++++++++++++++++++++++++++++ 3 files changed, 40 insertions(+) create mode 120000 srcpkgs/wlroots0.15-devel create mode 100644 srcpkgs/wlroots0.15/template diff --git a/common/shlibs b/common/shlibs index 47f76da1b59..1c852ef3fdf 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3530,6 +3530,7 @@ libcodecore.so.0 libio.elementary.code-3.0_1 libpantheon-files-core.so.6 libio.elementary.files-6.0.0_1 libpantheon-files-widgets.so.6 libio.elementary.files-6.0.0_1 libwlroots.so.9 wlroots0.14-0.14.1_1 +libwlroots.so.10 wlroots0.15-0.15.1_1 libwlroots.so.11 wlroots-0.16.0_1 libbaseencode.so.1 libbaseencode-1.0.9_1 libcotp.so.12 libcotp-1.2.1_1 diff --git a/srcpkgs/wlroots0.15-devel b/srcpkgs/wlroots0.15-devel new file mode 120000 index 00000000000..2e1ce6ccc62 --- /dev/null +++ b/srcpkgs/wlroots0.15-devel @@ -0,0 +1 @@ +wlroots0.15 \ No newline at end of file diff --git a/srcpkgs/wlroots0.15/template b/srcpkgs/wlroots0.15/template new file mode 100644 index 00000000000..1cfd3c2a71c --- /dev/null +++ b/srcpkgs/wlroots0.15/template @@ -0,0 +1,38 @@ +# Template file for 'wlroots0.15' +pkgname=wlroots0.15 +version=0.15.1 +revision=1 +build_style=meson +# Follow upstream packaging recommendations: +# https://github.com/swaywm/wlroots/wiki/Packaging-recommendations +configure_args="--auto-features=enabled -Dexamples=false -Dwerror=false + -Db_ndebug=false" +hostmakedepends="pkg-config wayland-devel glslang" +_devel_depends="libgbm-devel libglvnd-devel libseat-devel eudev-libudev-devel + libdrm-devel libinput-devel libxkbcommon-devel pixman-devel wayland-devel + wayland-protocols vulkan-loader Vulkan-Headers xcb-util-errors-devel + xcb-util-wm-devel xcb-util-renderutil-devel " +makedepends="${_devel_depends} + libxcb-devel xcb-util-cursor-devel xcb-util-devel xcb-util-image-devel + xcb-util-keysyms-devel xcb-util-xrm-devel xorg-server-xwayland" +short_desc="Modular Wayland compositor library" +maintainer="Isaac Freund " +license="MIT" +homepage="https://gitlab.freedesktop.org/wlroots/wlroots" +distfiles="https://gitlab.freedesktop.org/wlroots/wlroots/-/releases/${version}/downloads/wlroots-${version}.tar.gz" +checksum=5b92f11a52d978919ed1306e0d54c9d59f1762b28d44f0a2da3ef3b351305373 + +post_install() { + vlicense LICENSE +} + +wlroots0.15-devel_package() { + depends="${sourcepkg}>=${version}_${revision} ${_devel_depends}" + conflicts="wlroots0.14-devel" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" + } +}