From: "James Le Cuirot" <chewi@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: gui-wm/gamescope/
Date: Wed, 10 Apr 2024 22:24:17 +0000 (UTC) [thread overview]
Message-ID: <1712787836.eba393ca0736cf36c7aa17157977819ce50a0a4c.chewi@gentoo> (raw)
commit: eba393ca0736cf36c7aa17157977819ce50a0a4c
Author: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail <DOT> com>
AuthorDate: Sun Apr 7 01:37:04 2024 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Wed Apr 10 22:23:56 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eba393ca
gui-wm/gamescope: Bump to 3.14.2-r1, drop 3.14.2
* move dev-libs/wayland-protocols to DEPEND
* add 9999 logic to the ebuild
* future version will require gui-libs/libdecor as (R)DEPEND
Signed-off-by: Gonçalo Negrier Duarte <gonegrier.duarte <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/36064
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
...pe-3.14.2.ebuild => gamescope-3.14.2-r1.ebuild} | 33 ++++++++++++++++------
1 file changed, 24 insertions(+), 9 deletions(-)
diff --git a/gui-wm/gamescope/gamescope-3.14.2.ebuild b/gui-wm/gamescope/gamescope-3.14.2-r1.ebuild
similarity index 72%
rename from gui-wm/gamescope/gamescope-3.14.2.ebuild
rename to gui-wm/gamescope/gamescope-3.14.2-r1.ebuild
index be1fd59217bd..ad468106e2c1 100644
--- a/gui-wm/gamescope/gamescope-3.14.2.ebuild
+++ b/gui-wm/gamescope/gamescope-3.14.2-r1.ebuild
@@ -11,9 +11,22 @@ MY_PV="${MY_PV//_/-}"
DESCRIPTION="Efficient micro-compositor for running games"
HOMEPAGE="https://github.com/ValveSoftware/gamescope"
-SRC_URI="https://github.com/ValveSoftware/${PN}/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz
- https://github.com/Joshua-Ashton/reshade/archive/${RESHADE_COMMIT}.tar.gz -> reshade-${RESHADE_COMMIT}.tar.gz"
-KEYWORDS="~amd64"
+if [[ ${PV} == "9999" ]]; then
+ EGIT_REPO_URI="https://github.com/ValveSoftware/${PN}.git"
+ # Prevent wlroots and other submodule from being pull
+ # Not messing with system packages
+ EGIT_SUBMODULES=( src/reshade )
+ inherit git-r3
+else
+ SRC_URI="
+ https://github.com/ValveSoftware/${PN}/archive/refs/tags/${MY_PV}.tar.gz -> ${P}.tar.gz
+ https://github.com/Joshua-Ashton/reshade/archive/${RESHADE_COMMIT}.tar.gz -> reshade-${RESHADE_COMMIT}.tar.gz
+ "
+ KEYWORDS="~amd64"
+fi
+
+S="${WORKDIR}/${PN}-${MY_PV}"
+
LICENSE="BSD-2"
SLOT="0"
IUSE="pipewire +wsi-layer"
@@ -21,7 +34,6 @@ IUSE="pipewire +wsi-layer"
RDEPEND="
=dev-libs/libliftoff-0.4*
>=dev-libs/wayland-1.21
- >=dev-libs/wayland-protocols-1.17
=gui-libs/wlroots-0.17*[X,libinput(+)]
>=media-libs/libavif-1.0.0:=
>=media-libs/libdisplay-info-0.1.1
@@ -48,6 +60,7 @@ RDEPEND="
"
DEPEND="
${RDEPEND}
+ >=dev-libs/wayland-protocols-1.34
>=dev-libs/stb-20240201-r1
dev-util/vulkan-headers
media-libs/glm
@@ -60,8 +73,6 @@ BDEPEND="
virtual/pkgconfig
"
-S="${WORKDIR}/${PN}-${MY_PV}"
-
PATCHES=(
"${FILESDIR}"/${PN}-deprecated-stb.patch
)
@@ -75,12 +86,16 @@ src_prepare() {
# ReShade is bundled as a git submodule, but it references an unofficial
# fork, so we cannot unbundle it. Symlink to its extracted sources.
- rmdir src/reshade || die
- ln -snfT ../../reshade-${RESHADE_COMMIT} src/reshade || die
+ # For 9999, use the bundled submodule.
+ if [[ ${PV} != "9999" ]]; then
+ rmdir src/reshade || die
+ ln -snfT ../../reshade-${RESHADE_COMMIT} src/reshade || die
+ fi
# SPIRV-Headers is required by ReShade. It is bundled as a git submodule but
# not wrapped with Meson, so we can symlink to our system-wide headers.
- mkdir thirdparty/SPIRV-Headers/include || die
+ # For 9999, this submodule is not included.
+ mkdir -p thirdparty/SPIRV-Headers/include || die
ln -snf "${ESYSROOT}"/usr/include/spirv thirdparty/SPIRV-Headers/include/ || die
}
next reply other threads:[~2024-04-10 22:24 UTC|newest]
Thread overview: 49+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-04-10 22:24 James Le Cuirot [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-01-13 22:22 [gentoo-commits] repo/gentoo:master commit in: gui-wm/gamescope/ James Le Cuirot
2024-10-25 21:27 James Le Cuirot
2024-09-05 22:19 James Le Cuirot
2024-09-05 22:19 James Le Cuirot
2024-08-23 21:42 James Le Cuirot
2024-08-22 20:57 James Le Cuirot
2024-08-20 21:00 James Le Cuirot
2024-06-30 15:05 James Le Cuirot
2024-06-02 8:25 James Le Cuirot
2024-06-02 8:25 James Le Cuirot
2024-06-02 8:25 James Le Cuirot
2024-05-13 21:05 James Le Cuirot
2024-05-04 18:54 James Le Cuirot
2024-05-04 15:01 James Le Cuirot
2024-05-04 11:05 James Le Cuirot
2024-03-09 21:38 James Le Cuirot
2024-02-03 17:03 James Le Cuirot
2024-01-30 23:26 James Le Cuirot
2024-01-20 22:14 James Le Cuirot
2023-12-23 22:00 James Le Cuirot
2023-12-10 15:46 James Le Cuirot
2023-12-02 23:06 James Le Cuirot
2023-11-24 15:09 James Le Cuirot
2023-11-11 23:46 James Le Cuirot
2023-11-11 19:42 James Le Cuirot
2023-10-12 21:00 James Le Cuirot
2023-09-02 9:01 James Le Cuirot
2023-08-20 21:59 James Le Cuirot
2023-08-20 21:59 James Le Cuirot
2023-08-03 22:08 James Le Cuirot
2023-07-12 21:07 James Le Cuirot
2023-05-24 14:40 James Le Cuirot
2023-05-06 8:09 James Le Cuirot
2023-05-05 21:40 James Le Cuirot
2023-04-02 13:46 James Le Cuirot
2023-03-06 21:20 James Le Cuirot
2023-02-14 23:11 James Le Cuirot
2023-02-12 11:32 James Le Cuirot
2022-12-09 23:04 James Le Cuirot
2022-11-27 21:49 James Le Cuirot
2022-10-29 13:32 James Le Cuirot
2022-10-08 12:59 James Le Cuirot
2022-09-21 20:52 James Le Cuirot
2022-09-04 11:02 James Le Cuirot
2022-08-25 20:31 James Le Cuirot
2022-08-20 16:38 James Le Cuirot
2022-08-18 21:20 James Le Cuirot
2022-08-08 22:57 James Le Cuirot
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=1712787836.eba393ca0736cf36c7aa17157977819ce50a0a4c.chewi@gentoo \
--to=chewi@gentoo.org \
--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