aboutsummaryrefslogtreecommitdiffstats
path: root/gui-wm/dwl
diff options
context:
space:
mode:
authorturret <turret@duck.com>2023-05-21 17:47:44 -0500
committerturret <turret@duck.com>2023-05-21 17:47:44 -0500
commit47949a98e88419536175e2eca88b2b72ef06c181 (patch)
tree8012bc1563c4430966525889cf7d951b73d4d476 /gui-wm/dwl
parent8f8d6a00599012882349ae6eb7f9cc86fcc6ab71 (diff)
downloadportage-overlay-47949a98e88419536175e2eca88b2b72ef06c181.tar.gz
portage-overlay-47949a98e88419536175e2eca88b2b72ef06c181.tar.bz2
portage-overlay-47949a98e88419536175e2eca88b2b72ef06c181.zip
add cage, dwl, and gentoo-sources, grapejuice symlinks
Diffstat (limited to 'gui-wm/dwl')
-rw-r--r--gui-wm/dwl/Manifest8
-rw-r--r--gui-wm/dwl/dwl-0.3.1.ebuild50
-rw-r--r--gui-wm/dwl/dwl-0.4-r1.ebuild81
-rw-r--r--gui-wm/dwl/dwl-9999-r1.ebuild80
-rw-r--r--gui-wm/dwl/dwl-9999.ebuild80
-rw-r--r--gui-wm/dwl/files/dwl.desktop7
-rw-r--r--gui-wm/dwl/metadata.xml19
7 files changed, 325 insertions, 0 deletions
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 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>leohdz172@proton.me</email>
+ <name>Leonardo Hernández Hernández</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>svdm-gentoo@protonmail.com</email>
+ <name>Simon van der Maas</name>
+ </maintainer>
+ <maintainer type="person">
+ <email>efe.izbudak@metu.edu.tr</email>
+ <name>Efe İzbudak</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">djpohly/dwl</remote-id>
+ </upstream>
+</pkgmetadata>