From: "Leonardo Hernandez" <leohdz172@outlook.com>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/proj/guru:dev commit in: gui-wm/dwl/
Date: Fri, 30 Dec 2022 21:27:03 +0000 (UTC) [thread overview]
Message-ID: <1672434328.baa6eac6641648bce493dfba617cd50ebad445f6.leohdz172@gentoo> (raw)
commit: baa6eac6641648bce493dfba617cd50ebad445f6
Author: Leonardo Hernández Hernández <leohdz172 <AT> outlook <DOT> com>
AuthorDate: Fri Dec 30 21:05:28 2022 +0000
Commit: Leonardo Hernandez <leohdz172 <AT> outlook <DOT> com>
CommitDate: Fri Dec 30 21:05:28 2022 +0000
URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=baa6eac6
gui-wm/dwl: add 0.4
Signed-off-by: Leonardo Hernández Hernández <leohdz172 <AT> outlook.com>
gui-wm/dwl/Manifest | 1 +
gui-wm/dwl/dwl-0.4.ebuild | 78 +++++++++++++++++++++++++++++++++++++++++++++++
2 files changed, 79 insertions(+)
diff --git a/gui-wm/dwl/Manifest b/gui-wm/dwl/Manifest
index 2d6894869..ddac0c615 100644
--- a/gui-wm/dwl/Manifest
+++ b/gui-wm/dwl/Manifest
@@ -1,2 +1,3 @@
DIST dwl-0.3.1.tar.gz 51347 BLAKE2B 754dcf17de405f4a3f69478444fe46199f4e67fd7a7801e02131676e23e7324b49d6f31da629a6ab977262a210b95adcb8407c37b81031aac3ee6d2427f27a10 SHA512 c6bcaf26d6f67f7712f907331c947afc84a5c5b990f5ec6d568d65f624a2cafd1617055ed514cd7e8a331abcd4c37ed574672dcbeeb890607d8eb38e7a304215
+DIST dwl-0.4.tar.gz 55527 BLAKE2B a4c6d763574f2bf88db959a4730447874de61d4d868d12285feebc121204c4dbda82ab3cfef791999e138898daa5564d295d4943aff015d91d62d9c9ade6d005 SHA512 6e15e05001e6469d13bef2d532980585d57de55c8feb461a7c25a76d7cdaee022785485faca02cd9d1214457fbeb1bec0eb652700ba0ddccca4aa780df0046b2
DIST dwl-0.4_rc2.tar.gz 54093 BLAKE2B 13ae6c071bd4fc8202101c689983e232a8af4ff1f83142a44954998a709307c447a611d8dd46a3534baf41e64a3f7ed4d6fa548b1426212114a463cc29f4e94a SHA512 5f95dac99b9fbec971366f55c7a41f2a0fcff7e321c52a4afe04dd17465cde063c37aee677e833c937169782ddfb59fde66eb3c556171d9d80205837a806c7ee
diff --git a/gui-wm/dwl/dwl-0.4.ebuild b/gui-wm/dwl/dwl-0.4.ebuild
new file mode 100644
index 000000000..ef6dbf4f6
--- /dev/null
+++ b/gui-wm/dwl/dwl-0.4.ebuild
@@ -0,0 +1,78 @@
+# Copyright 2022 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
+
+ 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
+}
next reply other threads:[~2022-12-30 21:27 UTC|newest]
Thread overview: 29+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-30 21:27 Leonardo Hernandez [this message]
-- strict thread matches above, loose matches on Subject: below --
2023-09-24 19:08 [gentoo-commits] repo/proj/guru:dev commit in: gui-wm/dwl/ Leonardo Hernandez
2023-09-24 19:08 Leonardo Hernandez
2023-09-24 19:08 Leonardo Hernandez
2023-09-24 19:08 Leonardo Hernandez
2023-07-24 2:06 Leonardo Hernandez
2023-05-11 17:51 Leonardo Hernandez
2023-05-11 17:51 Leonardo Hernandez
2022-12-30 21:27 Leonardo Hernandez
2022-12-23 3:54 Hayley Hughes
2022-12-12 14:23 Efe İzbudak
2022-12-11 10:12 Efe İzbudak
2022-12-02 18:16 Leonardo Hernandez
2022-12-02 18:16 Leonardo Hernandez
2022-12-02 18:16 Leonardo Hernandez
2022-12-02 18:16 Leonardo Hernandez
2022-09-09 13:35 Efe İzbudak
2022-09-09 2:57 Leonardo Hernandez
2022-09-09 2:57 Leonardo Hernandez
2022-06-07 4:48 Leonardo Hernandez
2022-04-14 5:26 Dex Conner
2022-04-11 5:47 Dex Conner
2022-04-09 6:24 Dex Conner
2022-04-09 5:58 Dex Conner
2022-04-07 18:41 Dex Conner
2022-04-06 5:47 Dex Conner
2021-12-23 4:03 Leonardo Hernandez
2021-05-05 0:46 Anna Vyalkova
2021-02-17 18:52 Simon van der Maas
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1672434328.baa6eac6641648bce493dfba617cd50ebad445f6.leohdz172@gentoo \
--to=leohdz172@outlook.com \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox