summaryrefslogtreecommitdiff
path: root/gui-libs/wlroots
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2020-01-15 15:51:32 +0000
committerV3n3RiX <venerix@redcorelinux.org>2020-01-15 15:51:32 +0000
commit21435953e16cda318a82334ddbadb3b5c36d9ea7 (patch)
treee1810a4b135afce04b34862ef0fab2bfaeb8aeca /gui-libs/wlroots
parent7bc9c63c9da678a7e6fceb095d56c634afd22c56 (diff)
gentoo resync : 15.01.2020
Diffstat (limited to 'gui-libs/wlroots')
-rw-r--r--gui-libs/wlroots/Manifest2
-rw-r--r--gui-libs/wlroots/wlroots-0.9.1.ebuild75
2 files changed, 77 insertions, 0 deletions
diff --git a/gui-libs/wlroots/Manifest b/gui-libs/wlroots/Manifest
index e9bdc6e50608..b1c2ab768bfa 100644
--- a/gui-libs/wlroots/Manifest
+++ b/gui-libs/wlroots/Manifest
@@ -1,7 +1,9 @@
AUX wlroots-0.8.1-eglmesaextfix.patch 655 BLAKE2B 94a8e4271037360ee13ebd86852b542426b2a7e7a7bc2df30b74ab57e246b757e7a9ef71f82dc73d7a9c2a352116e13eeddb957c0ca931aad8eb1c9baf729c48 SHA512 2bffe4e80e01902640ec7e585f277a008d3b35568d61a79398659e32fa1aa69b5f9784c3eb931c0851cf1c76f42435887618a14aba0515542ed0b03ebf0eaa42
DIST wlroots-0.6.0.tar.gz 497934 BLAKE2B a0b631831752e533f83ed62e402ef69b0994df050fd643cf2ef89556face4a822b3936bc758b70ab160eedda8ced16c0992dc209600914095784bba97bd26ee2 SHA512 c205d4303a381e11ef2f4db2faac1ddf9ad85c675824aae9cfe62d9f8bd313f1568d4810db1d006416783b50c8364198648a46d1ba453a0d8f659d6920618286
DIST wlroots-0.8.1.tar.gz 451814 BLAKE2B 85f221ba9068839f326e09df616f6182f518b9a129730dda794103305e3c0786d609a7cc6cb60a90c9d51cb77e3dbbc5993901271dcf1bd656c7744260561b06 SHA512 da41513de48e00303b31fde620463389103215011c6cc49b9a2420a1529889722aa54f26a211179c528709edb6b90ba2efdae5e4bcef18147d9516f3a94e365a
+DIST wlroots-0.9.1.tar.gz 464941 BLAKE2B 89598d14d401965d52ee7a6e717f0d574c0b8922bf9441843137baacfaae1928c987543d3c5123fe6612b45e5047a88ec2b099b22e92e747e6431f8375348bd1 SHA512 d43a1ad0441579a7a7ffe28a17546ba851f06aed66b1f8324e69934b4f0f8cc08ae0038a609a51cdcf283e3b0628ec6a29d3f903265f9f3a5cd3d66981cb04c8
EBUILD wlroots-0.6.0.ebuild 1882 BLAKE2B 1ecbd11added412bb951a2fcb2a3810e67788b2590ea5e7262bf8e86dd9fd7e34d5ee3845c8d7e0dba00d2750917b84d84645ced7e54c85162762221c34c7178 SHA512 03a62c755d4bf57a79be14fbce917245e658a09d57c71c5e8294dce579b189bc9ab64c9a87e06efe27214db281c9191a16d74ed6e545218a2fb81a23f1a8f619
EBUILD wlroots-0.8.1-r1.ebuild 1982 BLAKE2B b4492dd909a04631bb66dd36b0b46cdc6d397e40778dd1606cbdce41b68d4d4fbbee4db41c2c10b5c5b2875bab2f85c871ea0056c97d16b33f1f69a75410fb51 SHA512 b81d1a2d0b4f5d30d0f795765a596166d8c5de1b70bd88fa15f6f1aacde695761acfb197eec20fc98652a40a482e3eb7e4ee20679933806af391d5c22dd947d6
+EBUILD wlroots-0.9.1.ebuild 1833 BLAKE2B b841e7dec1053d06794d1469a15615d6991e800c3d6b7f333ac202f29afa519f112f6e192c83d551b397fba11c456c4b694a37563c91b30bfc0c824d94a6dda1 SHA512 9d56ec44dca530720a8e480c7fe4b922a11f987e48bc4729f0b66342e04e0febccd79b6478f50fb1f5d578bfe08aff3183c0f476b80e4242eaf3666a07291318
EBUILD wlroots-9999.ebuild 1836 BLAKE2B f18c1cba6f5a79b8824fa62280360efbd4c89c67f0b4ae1a83fc3aa5fd2a9dc5e5e12855c8e6a542b66b682405dd98c479d7043b2e687f7bf8b37305c7d6c6f3 SHA512 291b7060c3f782d26176fc38af7286c902283b3b20c64a50726368549f048e26b1b6666e442dc445f7a54a6f266f2e525cfd42a1e0615d52e4010108f217da81
MISC metadata.xml 1611 BLAKE2B a52787db83324cc424c28255d7a6db05fa6ea7f92f2d5d7cd6ac4121e89f77b9e642be4ecccdb5b75be2f4ac9b1434f98d40743ae86be8044165f70cc59add65 SHA512 b04fbd1afea30e057f0feea17d05195fb76bf872aa80b5d5d6f20ac47a99c08c3703bee65b2352587a6ac588974a7da375228b439c82f861bdefa41537278a99
diff --git a/gui-libs/wlroots/wlroots-0.9.1.ebuild b/gui-libs/wlroots/wlroots-0.9.1.ebuild
new file mode 100644
index 000000000000..1be8cf9b8d96
--- /dev/null
+++ b/gui-libs/wlroots/wlroots-0.9.1.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit fcaps meson
+
+DESCRIPTION="Pluggable, composable, unopinionated modules for building a Wayland compositor"
+HOMEPAGE="https://github.com/swaywm/wlroots"
+
+if [[ ${PV} == 9999 ]]; then
+ EGIT_REPO_URI="https://github.com/swaywm/${PN}.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/swaywm/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm64 ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0/9"
+IUSE="elogind icccm systemd x11-backend X"
+REQUIRED_USE="?? ( elogind systemd )"
+
+DEPEND="
+ >=dev-libs/libinput-1.9.0:0=
+ >=dev-libs/wayland-1.17.0
+ media-libs/mesa[egl,gles2,gbm]
+ virtual/libudev
+ x11-libs/libdrm
+ x11-libs/libxkbcommon
+ x11-libs/pixman
+ elogind? ( >=sys-auth/elogind-237 )
+ icccm? ( x11-libs/xcb-util-wm )
+ systemd? ( >=sys-apps/systemd-237 )
+ x11-backend? ( x11-libs/libxcb:0= )
+ X? (
+ x11-base/xorg-server[wayland]
+ x11-libs/libxcb:0=
+ x11-libs/xcb-util-image
+ )
+"
+RDEPEND="
+ ${DEPEND}
+"
+BDEPEND="
+ >=dev-libs/wayland-protocols-1.17
+ virtual/pkgconfig
+"
+
+src_configure() {
+ # xcb-util-errors is not on Gentoo Repository (and upstream seems inactive?)
+ local emesonargs=(
+ "-Dxcb-errors=disabled"
+ -Dlibcap=$(usex filecaps enabled disabled)
+ -Dxcb-icccm=$(usex icccm enabled disabled)
+ -Dxwayland=$(usex X enabled disabled)
+ -Dx11-backend=$(usex x11-backend enabled disabled)
+ "-Dexamples=false"
+ "-Dwerror=false"
+ )
+ if use systemd; then
+ emesonargs+=("-Dlogind=enabled" "-Dlogind-provider=systemd")
+ elif use elogind; then
+ emesonargs+=("-Dlogind=enabled" "-Dlogind-provider=elogind")
+ else
+ emesonargs+=("-Dlogind=disabled")
+ fi
+
+ meson_src_configure
+}
+
+pkg_postinst() {
+ elog "You must be in the input group to allow your compositor"
+ elog "to access input devices via libinput."
+}