gui-wm/dwl: treeclean, moved to ::gentoo

Signed-off-by: Leonardo Hernández Hernández <leohdz172@proton.me>
This commit is contained in:
Leonardo Hernández Hernández 2023-09-24 14:46:28 -06:00
parent 6af2b0022a
commit d8685c8622
No known key found for this signature in database
GPG Key ID: E538897EE11B9624
7 changed files with 0 additions and 310 deletions

View File

@ -1,2 +0,0 @@
DIST dwl-0.3.1.tar.gz 51347 BLAKE2B 754dcf17de405f4a3f69478444fe46199f4e67fd7a7801e02131676e23e7324b49d6f31da629a6ab977262a210b95adcb8407c37b81031aac3ee6d2427f27a10 SHA512 c6bcaf26d6f67f7712f907331c947afc84a5c5b990f5ec6d568d65f624a2cafd1617055ed514cd7e8a331abcd4c37ed574672dcbeeb890607d8eb38e7a304215
DIST dwl-0.4.tar.gz 55527 BLAKE2B a4c6d763574f2bf88db959a4730447874de61d4d868d12285feebc121204c4dbda82ab3cfef791999e138898daa5564d295d4943aff015d91d62d9c9ade6d005 SHA512 6e15e05001e6469d13bef2d532980585d57de55c8feb461a7c25a76d7cdaee022785485faca02cd9d1214457fbeb1bec0eb652700ba0ddccca4aa780df0046b2

View File

@ -1,50 +0,0 @@
# 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
}

View File

@ -1,83 +0,0 @@
# 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
WLROOTS_SLOT="0/16"
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
;;
9999-r1)
EGIT_BRANCH=wlroots-next
WLROOTS_SLOT="0/9999"
;;
esac
else
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
)
"
# uses <linux/input-event-codes.h>
DEPEND="
${RDEPEND}
sys-kernel/linux-headers
"
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
}

View File

@ -1,74 +0,0 @@
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit savedconfig toolchain-funcs
WLROOTS_SLOT="0/16"
if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://github.com/djpohly/dwl"
inherit git-r3
# 9999-r0: main (latest stable wlroots release)
# 9999-r1: wlroots-next (wlroots-9999)
case ${PVR} in
9999)
EGIT_BRANCH=main
;;
9999-r1)
EGIT_BRANCH=wlroots-next
WLROOTS_SLOT="0/9999"
;;
esac
else
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
)
"
# uses <linux/input-event-codes.h>
DEPEND="
${RDEPEND}
sys-kernel/linux-headers
"
BDEPEND="
>=dev-libs/wayland-protocols-1.32
dev-util/wayland-scanner
virtual/pkgconfig
"
src_prepare() {
restore_config config.h
default
}
src_compile() {
emake PKG_CONFIG="$(tc-getPKG_CONFIG)" CC="$(tc-getCC)" \
XWAYLAND="$(usex X -DXWAYLAND "")" XLIBS="$(usex X "xcb xcb-icccm" "")" dwl
}
src_install() {
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
dodoc README.md
save_config config.h
}

View File

@ -1,74 +0,0 @@
# Copyright 2022-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit savedconfig toolchain-funcs
WLROOTS_SLOT="0/16"
if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://github.com/djpohly/dwl"
inherit git-r3
# 9999-r0: main (latest stable wlroots release)
# 9999-r1: wlroots-next (wlroots-9999)
case ${PVR} in
9999)
EGIT_BRANCH=main
;;
9999-r1)
EGIT_BRANCH=wlroots-next
WLROOTS_SLOT="0/9999"
;;
esac
else
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
)
"
# uses <linux/input-event-codes.h>
DEPEND="
${RDEPEND}
sys-kernel/linux-headers
"
BDEPEND="
dev-libs/wayland-protocols
dev-util/wayland-scanner
virtual/pkgconfig
"
src_prepare() {
restore_config config.h
default
}
src_compile() {
emake PKG_CONFIG="$(tc-getPKG_CONFIG)" CC="$(tc-getCC)" \
XWAYLAND="$(usex X -DXWAYLAND "")" XLIBS="$(usex X "xcb xcb-icccm" "")" dwl
}
src_install() {
emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
dodoc README.md
save_config config.h
}

View File

@ -1,7 +0,0 @@
[Desktop Entry]
Name=dwl
Comment=dwm for Wayland
Exec=/usr/bin/dwl
TryExec=dwl
Icon=
Type=Application

View File

@ -1,20 +0,0 @@
<?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>
<description>Upstream Maintainer (please CC on bugs)</description>
</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>