* [gentoo-commits] repo/gentoo:master commit in: games-util/libstrangle/
@ 2022-04-24 23:59 Ionen Wolkens
0 siblings, 0 replies; 7+ messages in thread
From: Ionen Wolkens @ 2022-04-24 23:59 UTC (permalink / raw
To: gentoo-commits
commit: ac1b7e0eeda71029d1c9faba0a3bb56386ae9cc2
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 24 22:14:13 2022 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sun Apr 24 23:58:49 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac1b7e0e
games-util/libstrangle: new package, add 0.1.1_p20220222
Useful tool to limit frame rate, change vsync state,
and some other features.
Use snapshot to include the >=glibc-2.34 fix among others.
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
games-util/libstrangle/Manifest | 1 +
.../libstrangle/libstrangle-0.1.1_p20220222.ebuild | 71 ++++++++++++++++++++++
games-util/libstrangle/metadata.xml | 11 ++++
3 files changed, 83 insertions(+)
diff --git a/games-util/libstrangle/Manifest b/games-util/libstrangle/Manifest
new file mode 100644
index 000000000000..970a75cf0622
--- /dev/null
+++ b/games-util/libstrangle/Manifest
@@ -0,0 +1 @@
+DIST libstrangle-0.1.1_p20220222.tar.gz 947358 BLAKE2B 2222550e28d4af1dafc43691f3021fdac30445e3223673b74f69adfe681c9b1879925b3961dc9d086f2e5cadeeca7488e1a53bcdb6e302b2e4087a0f2a19a380 SHA512 5f6d7bc5acb95be4c0083a16134dfe7c6a95ab6a73cca69ec2d92cf75ebf5ecfaea08dda0d887e8e136fd410c988c0bd36289c2a17df3eb1698b453bb38c4011
diff --git a/games-util/libstrangle/libstrangle-0.1.1_p20220222.ebuild b/games-util/libstrangle/libstrangle-0.1.1_p20220222.ebuild
new file mode 100644
index 000000000000..1ecf01f317d3
--- /dev/null
+++ b/games-util/libstrangle/libstrangle-0.1.1_p20220222.ebuild
@@ -0,0 +1,71 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit multilib multilib-minimal toolchain-funcs
+
+STRANGLE_COMMIT="0273e318e3b0cc759155db8729ad74266b74cb9b"
+
+DESCRIPTION="Frame rate limiter for OpenGL/Vulkan"
+HOMEPAGE="https://gitlab.com/torkel104/libstrangle/"
+SRC_URI="https://gitlab.com/torkel104/libstrangle/-/archive/${STRANGLE_COMMIT}/${P}.tar.gz"
+S="${WORKDIR}/${PN}-${STRANGLE_COMMIT}"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+# Note: requires a glibc version with DT_HASH fix or split libdl.so.
+# For the latter, <glibc-2.34 is acceptable but skip so portage
+# doesn't suggest downgrading to stable users.
+# https://gitlab.com/torkel104/libstrangle/-/issues/59
+# (cleanup these after fixed glibc is stable for some time)
+RDEPEND="
+ sys-apps/grep[pcre]
+ elibc_glibc? (
+ || (
+ >=sys-libs/glibc-2.35-r4
+ (
+ >=sys-libs/glibc-2.34-r12
+ <sys-libs/glibc-2.35
+ )
+ )
+ )"
+DEPEND="
+ media-libs/libglvnd
+ dev-util/vulkan-headers"
+
+QA_SONAME="usr/lib.*/libstrangle.*" # intended for dlopen()
+
+src_prepare() {
+ default
+
+ sed -ri '/^C(XX)?FLAGS=/s|=|+=$(CPPFLAGS) |' makefile || die
+
+ multilib_copy_sources
+}
+
+multilib_src_compile() {
+ emake CC="$(tc-getCC)" CXX="$(tc-getCXX)" LD{,XX}FLAGS="${LDFLAGS}" native
+}
+
+multilib_src_install() {
+ local emakeargs=(
+ DESTDIR="${D}"
+ prefix="${EPREFIX}"/usr
+ libdir="${EPREFIX}"/usr/$(get_libdir)
+ )
+
+ emake "${emakeargs[@]}" install-native
+}
+
+multilib_src_install_all() {
+ emake DESTDIR="${D}" prefix="${EPREFIX}"/usr install-common
+ einstalldocs
+}
+
+pkg_postinst() {
+ has_multilib_profile && use amd64 && use !abi_x86_32 &&
+ ewarn "Note that USE=abi_x86_32 is needed for 32bit games (common with steam / wine)"
+}
diff --git a/games-util/libstrangle/metadata.xml b/games-util/libstrangle/metadata.xml
new file mode 100644
index 000000000000..1af7db338edf
--- /dev/null
+++ b/games-util/libstrangle/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>ionen@gentoo.org</email>
+ <name>Ionen Wolkens</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="gitlab">torkel104/libstrangle</remote-id>
+ </upstream>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-util/libstrangle/
@ 2022-05-13 15:06 Ionen Wolkens
0 siblings, 0 replies; 7+ messages in thread
From: Ionen Wolkens @ 2022-05-13 15:06 UTC (permalink / raw
To: gentoo-commits
commit: 96ce153e74731a4bc7438e496921982f7699c5a7
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Fri May 13 15:00:22 2022 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Fri May 13 15:06:00 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=96ce153e
games-util/libstrangle: remove glibc restrictions
DT_HASH glibc is stable and would rather
not carry this in the ebuild forever.
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
.../libstrangle/libstrangle-0.1.1_p20220222.ebuild | 17 +----------------
1 file changed, 1 insertion(+), 16 deletions(-)
diff --git a/games-util/libstrangle/libstrangle-0.1.1_p20220222.ebuild b/games-util/libstrangle/libstrangle-0.1.1_p20220222.ebuild
index 1ecf01f317d3..cb3b102c7f5a 100644
--- a/games-util/libstrangle/libstrangle-0.1.1_p20220222.ebuild
+++ b/games-util/libstrangle/libstrangle-0.1.1_p20220222.ebuild
@@ -16,22 +16,7 @@ LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-# Note: requires a glibc version with DT_HASH fix or split libdl.so.
-# For the latter, <glibc-2.34 is acceptable but skip so portage
-# doesn't suggest downgrading to stable users.
-# https://gitlab.com/torkel104/libstrangle/-/issues/59
-# (cleanup these after fixed glibc is stable for some time)
-RDEPEND="
- sys-apps/grep[pcre]
- elibc_glibc? (
- || (
- >=sys-libs/glibc-2.35-r4
- (
- >=sys-libs/glibc-2.34-r12
- <sys-libs/glibc-2.35
- )
- )
- )"
+RDEPEND="sys-apps/grep[pcre]"
DEPEND="
media-libs/libglvnd
dev-util/vulkan-headers"
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-util/libstrangle/
@ 2022-07-30 8:05 Ionen Wolkens
0 siblings, 0 replies; 7+ messages in thread
From: Ionen Wolkens @ 2022-07-30 8:05 UTC (permalink / raw
To: gentoo-commits
commit: 60528a7db8e13ba93f9b1e6f2bd74729af62c8f1
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 30 08:01:06 2022 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sat Jul 30 08:04:58 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60528a7d
games-util/libstrangle: add missing xorg-proto dep
May be possible to do without, but upstream currently passes
-DVK_USE_PLATFORM_XLIB_KHR by default and is just headers.
Closes: https://bugs.gentoo.org/862228
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
games-util/libstrangle/libstrangle-0.1.1_p20220222.ebuild | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/games-util/libstrangle/libstrangle-0.1.1_p20220222.ebuild b/games-util/libstrangle/libstrangle-0.1.1_p20220222.ebuild
index cb3b102c7f5a..9f44a3907396 100644
--- a/games-util/libstrangle/libstrangle-0.1.1_p20220222.ebuild
+++ b/games-util/libstrangle/libstrangle-0.1.1_p20220222.ebuild
@@ -18,8 +18,9 @@ KEYWORDS="~amd64 ~x86"
RDEPEND="sys-apps/grep[pcre]"
DEPEND="
+ dev-util/vulkan-headers
media-libs/libglvnd
- dev-util/vulkan-headers"
+ x11-base/xorg-proto"
QA_SONAME="usr/lib.*/libstrangle.*" # intended for dlopen()
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-util/libstrangle/
@ 2022-07-30 8:58 Ionen Wolkens
0 siblings, 0 replies; 7+ messages in thread
From: Ionen Wolkens @ 2022-07-30 8:58 UTC (permalink / raw
To: gentoo-commits
commit: 4239e9d08b9bfdb0d4c2ffbac3c3151c07a8ec21
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 30 08:56:13 2022 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sat Jul 30 08:57:30 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4239e9d0
games-util/libstrangle: xorg-proto -> libX11
Oops, tend to think xorg-proto too much when it comes to X headers.
Bug: https://bugs.gentoo.org/862228
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
games-util/libstrangle/libstrangle-0.1.1_p20220222.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/games-util/libstrangle/libstrangle-0.1.1_p20220222.ebuild b/games-util/libstrangle/libstrangle-0.1.1_p20220222.ebuild
index 9f44a3907396..e888e13c7740 100644
--- a/games-util/libstrangle/libstrangle-0.1.1_p20220222.ebuild
+++ b/games-util/libstrangle/libstrangle-0.1.1_p20220222.ebuild
@@ -20,7 +20,7 @@ RDEPEND="sys-apps/grep[pcre]"
DEPEND="
dev-util/vulkan-headers
media-libs/libglvnd
- x11-base/xorg-proto"
+ x11-libs/libX11"
QA_SONAME="usr/lib.*/libstrangle.*" # intended for dlopen()
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-util/libstrangle/
@ 2022-07-30 19:13 Ionen Wolkens
0 siblings, 0 replies; 7+ messages in thread
From: Ionen Wolkens @ 2022-07-30 19:13 UTC (permalink / raw
To: gentoo-commits
commit: 228bb9b58974c340cb6168f0955890cbe55bcf1e
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 30 19:05:50 2022 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Sat Jul 30 19:12:45 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=228bb9b5
games-util/libstrangle: keep xorg-proto too
Went too quick with this, Xlib.h from libX11 will use xorg-proto
too, so need both.
Still doesn't need libglvnd[X].
Bug: https://bugs.gentoo.org/862228
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
games-util/libstrangle/libstrangle-0.1.1_p20220222.ebuild | 1 +
1 file changed, 1 insertion(+)
diff --git a/games-util/libstrangle/libstrangle-0.1.1_p20220222.ebuild b/games-util/libstrangle/libstrangle-0.1.1_p20220222.ebuild
index e888e13c7740..760150ee102a 100644
--- a/games-util/libstrangle/libstrangle-0.1.1_p20220222.ebuild
+++ b/games-util/libstrangle/libstrangle-0.1.1_p20220222.ebuild
@@ -20,6 +20,7 @@ RDEPEND="sys-apps/grep[pcre]"
DEPEND="
dev-util/vulkan-headers
media-libs/libglvnd
+ x11-base/xorg-proto
x11-libs/libX11"
QA_SONAME="usr/lib.*/libstrangle.*" # intended for dlopen()
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-util/libstrangle/
@ 2022-09-20 23:13 Ionen Wolkens
0 siblings, 0 replies; 7+ messages in thread
From: Ionen Wolkens @ 2022-09-20 23:13 UTC (permalink / raw
To: gentoo-commits
commit: c35eda158de43d8d35c342eabb388a1505e5be4c
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 20 23:06:56 2022 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Sep 20 23:12:59 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c35eda15
games-util/libstrangle: rdepend on glibc[hash-sysv-compat]
Not closing bug #863863 yet given this isn't due to be a permanent
solution. If steam/wine issues are resolved and this is the only
package needing this, will look at other workarounds if upstream
hasn't done anything yet.
Bug: https://bugs.gentoo.org/863863
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
....1_p20220222.ebuild => libstrangle-0.1.1_p20220222-r1.ebuild} | 9 ++++++++-
1 file changed, 8 insertions(+), 1 deletion(-)
diff --git a/games-util/libstrangle/libstrangle-0.1.1_p20220222.ebuild b/games-util/libstrangle/libstrangle-0.1.1_p20220222-r1.ebuild
similarity index 90%
rename from games-util/libstrangle/libstrangle-0.1.1_p20220222.ebuild
rename to games-util/libstrangle/libstrangle-0.1.1_p20220222-r1.ebuild
index 760150ee102a..edb24350dc18 100644
--- a/games-util/libstrangle/libstrangle-0.1.1_p20220222.ebuild
+++ b/games-util/libstrangle/libstrangle-0.1.1_p20220222-r1.ebuild
@@ -16,7 +16,14 @@ LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-RDEPEND="sys-apps/grep[pcre]"
+RDEPEND="
+ sys-apps/grep[pcre]
+ elibc_glibc? (
+ || (
+ >=sys-libs/glibc-2.36-r3[hash-sysv-compat]
+ <sys-libs/glibc-2.36
+ )
+ )"
DEPEND="
dev-util/vulkan-headers
media-libs/libglvnd
^ permalink raw reply related [flat|nested] 7+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-util/libstrangle/
@ 2022-09-22 8:11 Ionen Wolkens
0 siblings, 0 replies; 7+ messages in thread
From: Ionen Wolkens @ 2022-09-22 8:11 UTC (permalink / raw
To: gentoo-commits
commit: c733a1e06f720c46e0d80c0e51ed5a12697c4b32
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 22 08:03:51 2022 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Thu Sep 22 08:10:19 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c733a1e0
games-util/libstrangle: enable abi_x86_32 by default
Similarly to what's done for wine and friends, unsure why haven't done
this in the first place considering this has no further multilib deps
(this doesn't link with any libraries in DEPEND, what this uses will
depend on what applicates/games are linked with themselves).
Remove warning too, assume anyone manually turning it off would know
what they're getting into.
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
games-util/libstrangle/libstrangle-0.1.1_p20220222-r1.ebuild | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/games-util/libstrangle/libstrangle-0.1.1_p20220222-r1.ebuild b/games-util/libstrangle/libstrangle-0.1.1_p20220222-r1.ebuild
index edb24350dc18..c39f31b01542 100644
--- a/games-util/libstrangle/libstrangle-0.1.1_p20220222-r1.ebuild
+++ b/games-util/libstrangle/libstrangle-0.1.1_p20220222-r1.ebuild
@@ -3,7 +3,7 @@
EAPI=8
-inherit multilib multilib-minimal toolchain-funcs
+inherit multilib-minimal toolchain-funcs
STRANGLE_COMMIT="0273e318e3b0cc759155db8729ad74266b74cb9b"
@@ -15,6 +15,7 @@ S="${WORKDIR}/${PN}-${STRANGLE_COMMIT}"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
+IUSE="+abi_x86_32"
RDEPEND="
sys-apps/grep[pcre]
@@ -58,8 +59,3 @@ multilib_src_install_all() {
emake DESTDIR="${D}" prefix="${EPREFIX}"/usr install-common
einstalldocs
}
-
-pkg_postinst() {
- has_multilib_profile && use amd64 && use !abi_x86_32 &&
- ewarn "Note that USE=abi_x86_32 is needed for 32bit games (common with steam / wine)"
-}
^ permalink raw reply related [flat|nested] 7+ messages in thread
end of thread, other threads:[~2022-09-22 8:11 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-04-24 23:59 [gentoo-commits] repo/gentoo:master commit in: games-util/libstrangle/ Ionen Wolkens
-- strict thread matches above, loose matches on Subject: below --
2022-05-13 15:06 Ionen Wolkens
2022-07-30 8:05 Ionen Wolkens
2022-07-30 8:58 Ionen Wolkens
2022-07-30 19:13 Ionen Wolkens
2022-09-20 23:13 Ionen Wolkens
2022-09-22 8:11 Ionen Wolkens
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox