From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5A760159C96 for ; Mon, 29 Jul 2024 07:33:58 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2F0A1E2A14; Mon, 29 Jul 2024 07:33:57 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0ED99E2A14 for ; Mon, 29 Jul 2024 07:33:57 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 22D0F340813 for ; Mon, 29 Jul 2024 07:33:56 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6157C1E83 for ; Mon, 29 Jul 2024 07:33:53 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1722238429.c35117bc1f6074fe295d6fc965bfe276bbcbb983.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: gui-wm/dwl/ X-VCS-Repository: repo/gentoo X-VCS-Files: gui-wm/dwl/Manifest gui-wm/dwl/dwl-0.6.ebuild X-VCS-Directories: gui-wm/dwl/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: c35117bc1f6074fe295d6fc965bfe276bbcbb983 X-VCS-Branch: master Date: Mon, 29 Jul 2024 07:33:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 9a9608fd-f893-45bc-9d96-62c68f0a09f1 X-Archives-Hash: 5719fbfc1793d908db64cf67ede15c26 commit: c35117bc1f6074fe295d6fc965bfe276bbcbb983 Author: Leonardo Hernández Hernández proton me> AuthorDate: Sun Jul 14 00:02:50 2024 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Mon Jul 29 07:33:49 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c35117bc gui-wm/dwl: add 0.6 Signed-off-by: Leonardo Hernández Hernández proton.me> Signed-off-by: Joonas Niilola gentoo.org> gui-wm/dwl/Manifest | 1 + gui-wm/dwl/dwl-0.6.ebuild | 76 +++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 77 insertions(+) diff --git a/gui-wm/dwl/Manifest b/gui-wm/dwl/Manifest index 63f268c2d1ec..119227529e2f 100644 --- a/gui-wm/dwl/Manifest +++ b/gui-wm/dwl/Manifest @@ -1 +1,2 @@ DIST dwl-v0.5.tar.gz 57363 BLAKE2B 6dce89cbfa1aa1946983897bed5ac16619ac237e0f7092b588847315b849392b83643839dc5386c5bd73a36e5da55a281696a6ef13dcaec8345cb4e495c5e3b7 SHA512 7bd292559b0ecafc54bf1c1ba0c3b6b0417e8bd03bb0058f492b87295c92b50932e25621cc5f804c38ad06ffadad7bb8017872fade4a04bf617b1d4f1993aae8 +DIST dwl-v0.6.tar.gz 62677 BLAKE2B 01d010c7e5054c9a8ed0b2b03093e8eee8ff11555296819f2b42a54dd5f07507d9129e6eaf34521d5743bf172309472b52d9a0106b7badd545c75e922a115ef0 SHA512 5e5d7599438d4cdf632e7afaddb1d345c8131c9925e9e4d1b632ad52c4418b1db2c0ff6a2da4b5686607c79cf2598e26e8c7f4c8385be82b2c2355fa28c2e8fb diff --git a/gui-wm/dwl/dwl-0.6.ebuild b/gui-wm/dwl/dwl-0.6.ebuild new file mode 100644 index 000000000000..823944d46d13 --- /dev/null +++ b/gui-wm/dwl/dwl-0.6.ebuild @@ -0,0 +1,76 @@ +# Copyright 2022-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit savedconfig toolchain-funcs + +if [[ ${PV} == 9999 ]]; then + EGIT_REPO_URI="https://codeberg.org/dwl/dwl.git" + inherit git-r3 +else + MY_PV="${PV/_rc/-rc}" + MY_P="${PN}-v${MY_PV}" + SRC_URI="https://codeberg.org/${PN}/${PN}/releases/download/v${MY_PV}/${MY_P}.tar.gz" + S="${WORKDIR}/${MY_P}" + KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86" +fi + +DESCRIPTION="dwm for Wayland" +HOMEPAGE="https://codeberg.org/dwl/dwl" + +LICENSE="CC0-1.0 GPL-3+ MIT" +SLOT="0" +IUSE="X" + +if [[ ${PV} == 9999 ]]; then + COMMON_DEPEND="~gui-libs/wlroots-9999:=[libinput,session,X?]" +else + COMMON_DEPEND=" + >=gui-libs/wlroots-0.17:=[libinput,session,X?] + +DEPEND=" + ${COMMON_DEPEND} + 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="$(usev X -DXWAYLAND)" XLIBS="$(usev X "xcb xcb-icccm")" dwl +} + +src_install() { + emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install + dodoc CHANGELOG.md README.md + + save_config config.h +}