From d0ae20b44495aee857eaf78ba37922b9f718f5f6 Mon Sep 17 00:00:00 2001 From: Isaac Freund Date: Sat, 26 Feb 2022 22:00:59 +0100 Subject: [PATCH] New package: wlroots0.14-0.14.1 --- common/shlibs | 1 + srcpkgs/wlroots0.14-devel | 1 + srcpkgs/wlroots0.14/template | 39 ++++++++++++++++++++++++++++++++++++ 3 files changed, 41 insertions(+) create mode 120000 srcpkgs/wlroots0.14-devel create mode 100644 srcpkgs/wlroots0.14/template diff --git a/common/shlibs b/common/shlibs index 0dfaddf9b69..8f171c85d99 100644 --- a/common/shlibs +++ b/common/shlibs @@ -3526,6 +3526,7 @@ 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.4 libio.elementary.files-4.1.4_1 libpantheon-files-widgets.so.4 libio.elementary.files-4.1.4_1 +libwlroots.so.9 wlroots0.14-0.14.1_1 libwlroots.so.10 wlroots-0.15.0_1 libbaseencode.so.1 libbaseencode-1.0.9_1 libcotp.so.12 libcotp-1.2.1_1 diff --git a/srcpkgs/wlroots0.14-devel b/srcpkgs/wlroots0.14-devel new file mode 120000 index 00000000000..06618e9d46a --- /dev/null +++ b/srcpkgs/wlroots0.14-devel @@ -0,0 +1 @@ +wlroots0.14 \ No newline at end of file diff --git a/srcpkgs/wlroots0.14/template b/srcpkgs/wlroots0.14/template new file mode 100644 index 00000000000..05b6e22fd4c --- /dev/null +++ b/srcpkgs/wlroots0.14/template @@ -0,0 +1,39 @@ +# Template file for 'wlroots0.14' +pkgname=wlroots0.14 +version=0.14.1 +revision=1 +wrksrc="wlroots-${version}" +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" +_devel_depends="libgbm-devel libglvnd-devel libseat-devel eudev-libudev-devel + libdrm-devel libinput-devel libxkbcommon-devel pixman-devel wayland-devel + wayland-protocols 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://github.com/swaywm/wlroots" +distfiles="https://github.com/swaywm/wlroots/archive/${version}.tar.gz" +checksum=448a83d579ac280357c8a4e902b9477bacbab81cc4d9c140e443642d458869db + +post_install() { + vlicense LICENSE +} + +wlroots0.14-devel_package() { + conflicts="wlroots-devel" + depends="${sourcepkg}>=${version}_${revision} ${_devel_depends}" + short_desc+=" - development files" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove "usr/lib/*.so" + } +}