From 47949a98e88419536175e2eca88b2b72ef06c181 Mon Sep 17 00:00:00 2001 From: turret Date: Sun, 21 May 2023 17:47:44 -0500 Subject: add cage, dwl, and gentoo-sources, grapejuice symlinks --- gui-wm/cage/Manifest | 6 ++++ gui-wm/cage/cage-0.1.3.ebuild | 32 +++++++++++++++++ gui-wm/cage/cage-0.1.4.ebuild | 33 ++++++++++++++++++ gui-wm/cage/cage-9999.ebuild | 32 +++++++++++++++++ gui-wm/cage/metadata.xml | 20 +++++++++++ gui-wm/dwl/Manifest | 8 +++++ gui-wm/dwl/dwl-0.3.1.ebuild | 50 ++++++++++++++++++++++++++ gui-wm/dwl/dwl-0.4-r1.ebuild | 81 +++++++++++++++++++++++++++++++++++++++++++ gui-wm/dwl/dwl-9999-r1.ebuild | 80 ++++++++++++++++++++++++++++++++++++++++++ gui-wm/dwl/dwl-9999.ebuild | 80 ++++++++++++++++++++++++++++++++++++++++++ gui-wm/dwl/files/dwl.desktop | 7 ++++ gui-wm/dwl/metadata.xml | 19 ++++++++++ 12 files changed, 448 insertions(+) create mode 100644 gui-wm/cage/Manifest create mode 100644 gui-wm/cage/cage-0.1.3.ebuild create mode 100644 gui-wm/cage/cage-0.1.4.ebuild create mode 100644 gui-wm/cage/cage-9999.ebuild create mode 100644 gui-wm/cage/metadata.xml create mode 100644 gui-wm/dwl/Manifest create mode 100644 gui-wm/dwl/dwl-0.3.1.ebuild create mode 100644 gui-wm/dwl/dwl-0.4-r1.ebuild create mode 100644 gui-wm/dwl/dwl-9999-r1.ebuild create mode 100644 gui-wm/dwl/dwl-9999.ebuild create mode 100644 gui-wm/dwl/files/dwl.desktop create mode 100644 gui-wm/dwl/metadata.xml (limited to 'gui-wm') diff --git a/gui-wm/cage/Manifest b/gui-wm/cage/Manifest new file mode 100644 index 0000000..c8e2ffe --- /dev/null +++ b/gui-wm/cage/Manifest @@ -0,0 +1,6 @@ +DIST cage-0.1.3.tar.gz 24615 BLAKE2B 6c06cabfd2faca568c7d96095199d42c5798228f44688c285c6300a20e95ab320385513b8081f798b92a70cb7fdfa33cbd0572c4647aa8a2db75e4a50dc638be SHA512 34d2dca963810f6173343ae280e2692645a79e263aa1c01d22730db5cc14e68c0b0ec19dd947134ef27841f2ee28a28d5d71e64c396b81b6230426220517471b +DIST cage-0.1.4.tar.gz 25430 BLAKE2B a479695cf4f46c6e9fc54934c50c46f50d2f8f7f72d257267003ef4bb79c7f2b3e90232c0d6843164f7873625876cb7665b5f46d42f6b66efa6565cc99ae1a47 SHA512 55773fac44bf9e98086e53cbc20d17e3aad7046bedfe638ef8f896543388481be3989fede6f950d4f8cb0583f701cbf79617dfa011c7777a7c8b22c9bcddd64f +EBUILD cage-0.1.3.ebuild 635 BLAKE2B 35905356eec43ec7cf7c994e62637644f259013181e7cb9feadf38b10d6b223645b18bba8f9e946254cf2af4c65f98509dcc75af8158d6eaddecc6865ea59bcb SHA512 a2c19a812a0927477dea8d910ccf9b0da17f5c395ae53cca192593106d0af7a7921662225f75a485f91034e662dbf2c3726f6b6696e6532e3deb0087d76eab2c +EBUILD cage-0.1.4.ebuild 653 BLAKE2B d936bde0bf59fcab0a17eadef7374078835473685c0a46c551cdb7417ec28b731f1dfe67eccdd8ecb668eacdd76642ed66bb17ef0841020cc69c2994096b66a6 SHA512 2f72fd397b083936e96e4ad8e5f409ee9a9f24c31d0bd051a95c1c4c1bd1ab9f59ae1bef03077d6f6bf2a73cecadfb3591102a43c063e97885ae5fbee847bcfd +EBUILD cage-9999.ebuild 635 BLAKE2B 686757b5da0e0d3c389379c6030323aa3377d6650e7513eeda2ea84b1a93acd97ad51d87cda988c49c9deff474dd44d9b29d4a41a1ed4706e1eb7c7a61bbdec4 SHA512 8e5d0fb2608f94ed81c6b980f651d585deb66426cd432dc911fd20a0a24b1bb66116553f596de12a2c3bab838f34f815eb343179bfa3c3323c912d770a67f9fd +MISC metadata.xml 714 BLAKE2B c0187ed3074fb37a621defcfa118ede6fdb11c3e060b013b7d12632e909c7a70b16a6517355a624a089e7639e0f65a2b8271cd122f7bec292f42fc4da18340fe SHA512 eca8b0f04d3b58a0a0b22e8386a005de9131ccd21f8b14a8a20ab6fef4d957332dbbe2b48bdff0bd70b182759b50388e560c1cdaccda7167efc50a520c4d154a diff --git a/gui-wm/cage/cage-0.1.3.ebuild b/gui-wm/cage/cage-0.1.3.ebuild new file mode 100644 index 0000000..c5d0733 --- /dev/null +++ b/gui-wm/cage/cage-0.1.3.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson + +if [[ "${PV}" == 9999 ]] +then + inherit git-r3 + EGIT_REPO_URI="https://github.com/Hjdskes/cage" +else + SRC_URI="https://github.com/Hjdskes/cage/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="A Wayland kiosk" +HOMEPAGE="https://www.hjdskes.nl/projects/cage/ https://github.com/Hjdskes/cage" +LICENSE="MIT" +SLOT="0" + +IUSE="X" + +RDEPEND=" + >=gui-libs/wlroots-0.13[X?] + x11-libs/libxkbcommon[X?] +" +DEPEND="${RDEPEND}" + +src_configure() { + meson_src_configure $(meson_use X xwayland) +} diff --git a/gui-wm/cage/cage-0.1.4.ebuild b/gui-wm/cage/cage-0.1.4.ebuild new file mode 100644 index 0000000..ada7de6 --- /dev/null +++ b/gui-wm/cage/cage-0.1.4.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson + +if [[ "${PV}" == 9999 ]] +then + inherit git-r3 + EGIT_REPO_URI="https://github.com/Hjdskes/cage" +else + SRC_URI="https://github.com/Hjdskes/cage/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="A Wayland kiosk" +HOMEPAGE="https://www.hjdskes.nl/projects/cage/ https://github.com/Hjdskes/cage" +LICENSE="MIT" +SLOT="0" +RESTRICT="mirror" + +IUSE="X" + +RDEPEND=" + >=gui-libs/wlroots-0.14[X?] + x11-libs/libxkbcommon[X?] +" +DEPEND="${RDEPEND}" + +src_configure() { + meson_src_configure $(meson_use X xwayland) +} diff --git a/gui-wm/cage/cage-9999.ebuild b/gui-wm/cage/cage-9999.ebuild new file mode 100644 index 0000000..b463a12 --- /dev/null +++ b/gui-wm/cage/cage-9999.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit meson + +if [[ "${PV}" == 9999 ]] +then + inherit git-r3 + EGIT_REPO_URI="https://github.com/Hjdskes/cage" +else + SRC_URI="https://github.com/Hjdskes/cage/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="A Wayland kiosk" +HOMEPAGE="https://www.hjdskes.nl/projects/cage/ https://github.com/Hjdskes/cage" +LICENSE="MIT" +SLOT="0" + +IUSE="X" + +RDEPEND=" + >=gui-libs/wlroots-0.14[X?] + x11-libs/libxkbcommon[X?] +" +DEPEND="${RDEPEND}" + +src_configure() { + meson_src_configure $(meson_use X xwayland) +} diff --git a/gui-wm/cage/metadata.xml b/gui-wm/cage/metadata.xml new file mode 100644 index 0000000..b426d7f --- /dev/null +++ b/gui-wm/cage/metadata.xml @@ -0,0 +1,20 @@ + + + + + coppens.matthias.abc@gmail.com + Matthias Coppens + + + Enable support for X11 applications (XWayland) + + + + Jente Hidskes + dev@hjdskes.nl + + https://github.com/Hjdskes/cage/wiki + https://github.com/Hjdskes/cage/issues + Hjdskes/cage + + diff --git a/gui-wm/dwl/Manifest b/gui-wm/dwl/Manifest new file mode 100644 index 0000000..f9b4f67 --- /dev/null +++ b/gui-wm/dwl/Manifest @@ -0,0 +1,8 @@ +AUX dwl.desktop 102 BLAKE2B edc678ce6265ccf4fdfc19b6b7b56c38bfe85ab2ea3e2fe5d156b98b7eb736cb6709dcff824c9942707e64dd0a4b6feffcf003d96899e95a4956ebba0cf1557b SHA512 32e3314438c473e9259f6e13c28fb5c70c9ee9f112964e34aa09a7fdbdb99067e51336dba16bff75557ee90aee0352aa4504f47ca7d20a082471d75fc7cb2e3c +DIST dwl-0.3.1.tar.gz 51347 BLAKE2B 754dcf17de405f4a3f69478444fe46199f4e67fd7a7801e02131676e23e7324b49d6f31da629a6ab977262a210b95adcb8407c37b81031aac3ee6d2427f27a10 SHA512 c6bcaf26d6f67f7712f907331c947afc84a5c5b990f5ec6d568d65f624a2cafd1617055ed514cd7e8a331abcd4c37ed574672dcbeeb890607d8eb38e7a304215 +DIST dwl-0.4.tar.gz 55527 BLAKE2B a4c6d763574f2bf88db959a4730447874de61d4d868d12285feebc121204c4dbda82ab3cfef791999e138898daa5564d295d4943aff015d91d62d9c9ade6d005 SHA512 6e15e05001e6469d13bef2d532980585d57de55c8feb461a7c25a76d7cdaee022785485faca02cd9d1214457fbeb1bec0eb652700ba0ddccca4aa780df0046b2 +EBUILD dwl-0.3.1.ebuild 877 BLAKE2B e39f7e6a75904fa18ff60d7f4b7b43a261fbeecc47a4f76ac46c709f5522b054604372b9bf6fbe351cabe17a6b3c5064e8e8fe3d37beb9db9fd40230d91d5c4a SHA512 5757a257ce05823ed79a6cd6e05f1dc834ea297b581f70dafacb41e29b8ef52294ae0c1b4c80469afe83f3b58e2ab483414616e1c51758c8778fa5f0832d7e10 +EBUILD dwl-0.4-r1.ebuild 1440 BLAKE2B f474dbe48f3d5ccc4f9b83ba6f4104f8766a375a3c6f5b38076d2cb36fab5ddaab0a15295531fd0ff9c70135aabe48bf0551897e1b2fe014f434ccf61e232cb5 SHA512 a3cb614d46cb2a4100ae5a536b4e1b0861bb0fbc8716dcb63ece53655900642f588083d59116b0cf9b8e117247b254f9b03f5e9dbbdace3481596842b1c9a176 +EBUILD dwl-9999-r1.ebuild 1418 BLAKE2B 5a940c0ffb2e745b038f4402ee4496bd61fd661c4ff44ff24ce9a5fe05b00e998ac9a06e930ce5bd7a4df25ecaf28f9e8c138bda3efafd46398bfa5b80adeee0 SHA512 80d285ae8e250a8965ec9ebbdc72af7055c41c50ae7bd1ac3ac0449305c0b1f672c440ee7afc133c2046f9e9d1b8bb743dad5ad607feb62d506be2d86fbb7397 +EBUILD dwl-9999.ebuild 1418 BLAKE2B 5a940c0ffb2e745b038f4402ee4496bd61fd661c4ff44ff24ce9a5fe05b00e998ac9a06e930ce5bd7a4df25ecaf28f9e8c138bda3efafd46398bfa5b80adeee0 SHA512 80d285ae8e250a8965ec9ebbdc72af7055c41c50ae7bd1ac3ac0449305c0b1f672c440ee7afc133c2046f9e9d1b8bb743dad5ad607feb62d506be2d86fbb7397 +MISC metadata.xml 641 BLAKE2B 744e2c8c19b0147417d14bfb78e139419474d0915562f5e87a9b27f2943ae4f20f7cb598359ad8bb4524cdfcad9ddbb760e605b1e1a419240bd515a00781bae7 SHA512 c371abca532be2ff13a8678d0f8a9c0e5ea363f5a1ce6c968f4980290668f9d356174d53ee660040c071b54d157e0e9e5c1bb76e0ff408ade763eda3fd060e4b diff --git a/gui-wm/dwl/dwl-0.3.1.ebuild b/gui-wm/dwl/dwl-0.3.1.ebuild new file mode 100644 index 0000000..8438f67 --- /dev/null +++ b/gui-wm/dwl/dwl-0.3.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 2021-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit flag-o-matic savedconfig toolchain-funcs desktop + +DESCRIPTION="dwm for Wayland" +HOMEPAGE="https://github.com/djpohly/dwl" +SRC_URI="https://github.com/djpohly/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="CC0-1.0 GPL-3 MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="X" + +RDEPEND=" + dev-libs/libinput + dev-libs/wayland + gui-libs/wlroots:0/15[X(-)?] + x11-libs/libxkbcommon + X? ( x11-libs/libxcb ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-libs/wayland-protocols + dev-util/wayland-scanner + virtual/pkgconfig +" + +src_prepare() { + default + + restore_config config.h +} + +src_configure() { + use X && append-cppflags -DXWAYLAND + tc-export CC +} + +src_install() { + emake PREFIX="${ED}/usr" install + + domenu "${FILESDIR}"/dwl.desktop + + einstalldocs + + save_config config.h +} diff --git a/gui-wm/dwl/dwl-0.4-r1.ebuild b/gui-wm/dwl/dwl-0.4-r1.ebuild new file mode 100644 index 0000000..8782a50 --- /dev/null +++ b/gui-wm/dwl/dwl-0.4-r1.ebuild @@ -0,0 +1,81 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic savedconfig toolchain-funcs + +if [[ ${PV} == *9999 ]]; then + EGIT_REPO_URI="https://github.com/djpohly/dwl" + inherit git-r3 + + # 9999-r0: main (latest wlroots release) + # 9999-r1: wlroots-next (wlroots-9999) + case ${PVR} in + 9999) + EGIT_BRANCH=main + WLROOTS_SLOT="0/16" + ;; + 9999-r1) + EGIT_BRANCH=wlroots-next + WLROOTS_SLOT="0/9999" + ;; + esac +else + WLROOTS_SLOT="0/16" + SRC_URI="https://github.com/djpohly/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="dwm for Wayland" +HOMEPAGE="https://github.com/djpohly/dwl" + +RESTRICT="primaryuri" +LICENSE="CC0-1.0 GPL-3 MIT" +SLOT="0" +IUSE="X" + +RDEPEND=" + dev-libs/libinput:= + dev-libs/wayland + gui-libs/wlroots:${WLROOTS_SLOT}[X(-)?] + x11-libs/libxkbcommon + X? ( + x11-libs/libxcb:= + x11-libs/xcb-util-wm + ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-libs/wayland-protocols + dev-util/wayland-scanner + virtual/pkgconfig +" + +src_prepare() { + restore_config config.h + + default +} + +src_configure() { + sed -i "s:/local::g" config.mk || die + + sed -i "s:pkg-config:$(tc-getPKG_CONFIG):g" config.mk || die + + tc-export CC + + if use X; then + append-cppflags '-DXWAYLAND' + append-libs '-lxcb' '-lxcb-icccm' + fi +} + +src_install() { + default + + insinto /usr/share/wayland-sessions + doins "${FILESDIR}"/dwl.desktop + + save_config config.h +} diff --git a/gui-wm/dwl/dwl-9999-r1.ebuild b/gui-wm/dwl/dwl-9999-r1.ebuild new file mode 100644 index 0000000..a7cb086 --- /dev/null +++ b/gui-wm/dwl/dwl-9999-r1.ebuild @@ -0,0 +1,80 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic savedconfig toolchain-funcs + +if [[ ${PV} == *9999 ]]; then + EGIT_REPO_URI="https://github.com/djpohly/dwl" + inherit git-r3 + + # 9999-r0: main (latest wlroots release) + # 9999-r1: wlroots-next (wlroots-9999) + case ${PVR} in + 9999) + EGIT_BRANCH=main + WLROOTS_SLOT="0/16" + ;; + 9999-r1) + EGIT_BRANCH=wlroots-next + WLROOTS_SLOT="0/9999" + ;; + esac +else + WLROOTS_SLOT="0/16" + SRC_URI="https://github.com/djpohly/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="dwm for Wayland" +HOMEPAGE="https://github.com/djpohly/dwl" + +LICENSE="CC0-1.0 GPL-3 MIT" +SLOT="0" +IUSE="X" + +RDEPEND=" + dev-libs/libinput:= + dev-libs/wayland + gui-libs/wlroots:${WLROOTS_SLOT}[X(-)?] + x11-libs/libxkbcommon + X? ( + x11-libs/libxcb:= + x11-libs/xcb-util-wm + ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-libs/wayland-protocols + dev-util/wayland-scanner + virtual/pkgconfig +" + +src_prepare() { + restore_config config.h + + default +} + +src_configure() { + sed -i "s:/local::g" config.mk || die + + sed -i "s:pkg-config:$(tc-getPKG_CONFIG):g" config.mk || die + + tc-export CC + + if use X; then + append-cppflags '-DXWAYLAND' + append-libs '-lxcb' '-lxcb-icccm' + fi +} + +src_install() { + default + + insinto /usr/share/wayland-sessions + doins "${FILESDIR}"/dwl.desktop + + save_config config.h +} diff --git a/gui-wm/dwl/dwl-9999.ebuild b/gui-wm/dwl/dwl-9999.ebuild new file mode 100644 index 0000000..a7cb086 --- /dev/null +++ b/gui-wm/dwl/dwl-9999.ebuild @@ -0,0 +1,80 @@ +# Copyright 2022-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit flag-o-matic savedconfig toolchain-funcs + +if [[ ${PV} == *9999 ]]; then + EGIT_REPO_URI="https://github.com/djpohly/dwl" + inherit git-r3 + + # 9999-r0: main (latest wlroots release) + # 9999-r1: wlroots-next (wlroots-9999) + case ${PVR} in + 9999) + EGIT_BRANCH=main + WLROOTS_SLOT="0/16" + ;; + 9999-r1) + EGIT_BRANCH=wlroots-next + WLROOTS_SLOT="0/9999" + ;; + esac +else + WLROOTS_SLOT="0/16" + SRC_URI="https://github.com/djpohly/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" +fi + +DESCRIPTION="dwm for Wayland" +HOMEPAGE="https://github.com/djpohly/dwl" + +LICENSE="CC0-1.0 GPL-3 MIT" +SLOT="0" +IUSE="X" + +RDEPEND=" + dev-libs/libinput:= + dev-libs/wayland + gui-libs/wlroots:${WLROOTS_SLOT}[X(-)?] + x11-libs/libxkbcommon + X? ( + x11-libs/libxcb:= + x11-libs/xcb-util-wm + ) +" +DEPEND="${RDEPEND}" +BDEPEND=" + dev-libs/wayland-protocols + dev-util/wayland-scanner + virtual/pkgconfig +" + +src_prepare() { + restore_config config.h + + default +} + +src_configure() { + sed -i "s:/local::g" config.mk || die + + sed -i "s:pkg-config:$(tc-getPKG_CONFIG):g" config.mk || die + + tc-export CC + + if use X; then + append-cppflags '-DXWAYLAND' + append-libs '-lxcb' '-lxcb-icccm' + fi +} + +src_install() { + default + + insinto /usr/share/wayland-sessions + doins "${FILESDIR}"/dwl.desktop + + save_config config.h +} diff --git a/gui-wm/dwl/files/dwl.desktop b/gui-wm/dwl/files/dwl.desktop new file mode 100644 index 0000000..343f5d4 --- /dev/null +++ b/gui-wm/dwl/files/dwl.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +Name=dwl +Comment=dwm for Wayland +Exec=/usr/bin/dwl +TryExec=dwl +Icon= +Type=Application diff --git a/gui-wm/dwl/metadata.xml b/gui-wm/dwl/metadata.xml new file mode 100644 index 0000000..edea311 --- /dev/null +++ b/gui-wm/dwl/metadata.xml @@ -0,0 +1,19 @@ + + + + + leohdz172@proton.me + Leonardo Hernández Hernández + + + svdm-gentoo@protonmail.com + Simon van der Maas + + + efe.izbudak@metu.edu.tr + Efe İzbudak + + + djpohly/dwl + + -- cgit v1.2.3