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 3988F15800F for ; Mon, 13 Feb 2023 00:39:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1E447E086A; Mon, 13 Feb 2023 00:39:24 +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 EF270E086A for ; Mon, 13 Feb 2023 00:39:23 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D37E2340D19 for ; Mon, 13 Feb 2023 00:39:22 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E814C8AC for ; Mon, 13 Feb 2023 00:39:20 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1676248745.6b705c1f561a5faebe37b8dcd7dfbf067a48b43d.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: gui-wm/wayfire/ X-VCS-Repository: repo/gentoo X-VCS-Files: gui-wm/wayfire/wayfire-0.7.5.ebuild gui-wm/wayfire/wayfire-9999.ebuild X-VCS-Directories: gui-wm/wayfire/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 6b705c1f561a5faebe37b8dcd7dfbf067a48b43d X-VCS-Branch: master Date: Mon, 13 Feb 2023 00:39:20 +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: 0b8e29c8-d490-4fa8-b43d-ee5e6336e216 X-Archives-Hash: dff9dff0ab7f48b2cdff38211c1486bf commit: 6b705c1f561a5faebe37b8dcd7dfbf067a48b43d Author: Sam James gentoo org> AuthorDate: Mon Feb 13 00:35:13 2023 +0000 Commit: Sam James gentoo org> CommitDate: Mon Feb 13 00:39:05 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b705c1f gui-wm/wayfire: EAPI 8, sync live Closes: https://bugs.gentoo.org/884055 Signed-off-by: Sam James gentoo.org> gui-wm/wayfire/wayfire-0.7.5.ebuild | 32 ++++++++++++++++-------- gui-wm/wayfire/wayfire-9999.ebuild | 49 +++++++++++++++++++++++++------------ 2 files changed, 55 insertions(+), 26 deletions(-) diff --git a/gui-wm/wayfire/wayfire-0.7.5.ebuild b/gui-wm/wayfire/wayfire-0.7.5.ebuild index df69e38f7f8c..42ab1b20d21d 100644 --- a/gui-wm/wayfire/wayfire-0.7.5.ebuild +++ b/gui-wm/wayfire/wayfire-0.7.5.ebuild @@ -1,7 +1,7 @@ # Copyright 2019-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit meson toolchain-funcs @@ -40,17 +40,29 @@ DEPEND=" x11-base/xwayland x11-libs/libxcb ) - system-wfconfig? ( - >=gui-libs/wf-config-0.7.1 - =gui-libs/wlroots-0.16.0:0/16[X?] - ) - !system-wlroots? ( !gui-libs/wlroots ) " +if [[ ${PV} == 9999 ]] ; then + DEPEND+=" + system-wfconfig? ( ~gui-libs/wf-config-9999:= ) + !system-wfconfig? ( !gui-libs/wf-config ) + system-wlroots? ( ~gui-libs/wlroots-9999:=[X?] ) + !system-wlroots? ( !gui-libs/wlroots ) + " +else + DEPEND+=" + system-wfconfig? ( + >=gui-libs/wf-config-0.7.1 + =gui-libs/wlroots-0.16.0:0/16[X?] + ) + !system-wlroots? ( !gui-libs/wlroots ) + " +fi + RDEPEND=" ${DEPEND} x11-misc/xkeyboard-config diff --git a/gui-wm/wayfire/wayfire-9999.ebuild b/gui-wm/wayfire/wayfire-9999.ebuild index c0233c805c44..42ab1b20d21d 100644 --- a/gui-wm/wayfire/wayfire-9999.ebuild +++ b/gui-wm/wayfire/wayfire-9999.ebuild @@ -1,7 +1,7 @@ -# Copyright 2019-2022 Gentoo Authors +# Copyright 2019-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit meson toolchain-funcs @@ -21,31 +21,48 @@ SLOT="0" IUSE="debug +gles +system-wfconfig +system-wlroots X" DEPEND=" - dev-libs/libevdev - dev-libs/libinput + dev-libs/libinput:= dev-libs/wayland gui-libs/gtk-layer-shell media-libs/glm media-libs/mesa:=[gles2,wayland,X?] media-libs/libglvnd[X?] - media-libs/libjpeg-turbo - media-libs/libpng + media-libs/libjpeg-turbo:= + media-libs/libpng:= media-libs/freetype:=[X?] x11-libs/libdrm x11-libs/gtk+:3=[wayland,X?] - x11-libs/cairo:=[X?,svg(+)] - x11-libs/libxkbcommon:=[X?] + x11-libs/cairo[X?,svg(+)] + x11-libs/libxkbcommon[X?] + x11-libs/pango x11-libs/pixman X? ( - x11-libs/libxcb x11-base/xwayland + x11-libs/libxcb ) - system-wfconfig? ( ~gui-libs/wf-config-9999:= ) - !system-wfconfig? ( !gui-libs/wf-config ) - system-wlroots? ( ~gui-libs/wlroots-9999:=[X?] ) - !system-wlroots? ( !gui-libs/wlroots ) " +if [[ ${PV} == 9999 ]] ; then + DEPEND+=" + system-wfconfig? ( ~gui-libs/wf-config-9999:= ) + !system-wfconfig? ( !gui-libs/wf-config ) + system-wlroots? ( ~gui-libs/wlroots-9999:=[X?] ) + !system-wlroots? ( !gui-libs/wlroots ) + " +else + DEPEND+=" + system-wfconfig? ( + >=gui-libs/wf-config-0.7.1 + =gui-libs/wlroots-0.16.0:0/16[X?] + ) + !system-wlroots? ( !gui-libs/wlroots ) + " +fi + RDEPEND=" ${DEPEND} x11-misc/xkeyboard-config @@ -58,9 +75,9 @@ BDEPEND=" src_configure() { sed -e "s:@EPREFIX@:${EPREFIX}:" \ - "${FILESDIR}"/wayfire-session > "${T}"/wayfire-session || die + "${FILESDIR}"/wayfire-session > "${T}"/wayfire-session || die sed -e "s:@EPREFIX@:${EPREFIX}:" \ - "${FILESDIR}"/wayfire-session.desktop > "${T}"/wayfire-session.desktop || die + "${FILESDIR}"/wayfire-session.desktop > "${T}"/wayfire-session.desktop || die local emesonargs=( $(meson_feature system-wfconfig use_system_wfconfig) $(meson_feature system-wlroots use_system_wlroots) @@ -95,6 +112,6 @@ pkg_postinst() { elog "until you install a configuration file. The default config" elog "file is installed at \"/usr/share/wayfire/wayfire.ini\"" elog "To install the file execute" - elog "\$ cp /usr/share/wayfire.ini ~/.config/wayfire.ini" + elog "\$ cp /usr/share/wayfire/wayfire.ini ~/.config/wayfire.ini" fi }