* [gentoo-commits] repo/gentoo:master commit in: games-puzzle/braid-hb/
@ 2022-02-06 14:52 James Le Cuirot
0 siblings, 0 replies; 3+ messages in thread
From: James Le Cuirot @ 2022-02-06 14:52 UTC (permalink / raw
To: gentoo-commits
commit: fca8da51eb3c7c5300bdf6a762317f325217ef19
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 6 14:51:03 2022 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Feb 6 14:52:21 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fca8da51
games-puzzle/braid-hb: New package for the Humble Bundle version
Closes: https://bugs.gentoo.org/349136
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
games-puzzle/braid-hb/Manifest | 1 +
games-puzzle/braid-hb/braid-hb-20150611.ebuild | 55 ++++++++++++++++++++++++++
games-puzzle/braid-hb/metadata.xml | 8 ++++
3 files changed, 64 insertions(+)
diff --git a/games-puzzle/braid-hb/Manifest b/games-puzzle/braid-hb/Manifest
new file mode 100644
index 000000000000..ddcc6b10c46a
--- /dev/null
+++ b/games-puzzle/braid-hb/Manifest
@@ -0,0 +1 @@
+DIST BraidSetup-2015-06-11.sh 121622129 BLAKE2B 9cb255621c6e2461dff0ca0dc779d62aef09a16d413e1909c505e41be1db5475be5ced8e16ce8d989faa70f3f7a614e3ac7af99a28feccf1859182dca762b042 SHA512 8f27efd0e6514f92c177663d5cb342b026017e66abe2a46df6b08880a28c8220a7cfcb5607eaf01ace3a39c7c8af5e5f9f62c661d4018cdadc102f4caf677a93
diff --git a/games-puzzle/braid-hb/braid-hb-20150611.ebuild b/games-puzzle/braid-hb/braid-hb-20150611.ebuild
new file mode 100644
index 000000000000..a7b6cbc8ee37
--- /dev/null
+++ b/games-puzzle/braid-hb/braid-hb-20150611.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop unpacker wrapper xdg
+
+MY_PN="braid"
+DESCRIPTION="Platform game where you manipulate flow of time"
+HOMEPAGE="https://www.humblebundle.com/store/braid"
+SRC_URI="BraidSetup-${PV:0:4}-${PV:4:2}-${PV:6:2}.sh"
+
+LICENSE="all-rights-reserved Arphic CC-BY-NC-SA-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+RESTRICT="bindist fetch splitdebug"
+
+BDEPEND="
+ app-arch/unzip
+"
+
+RDEPEND="
+ media-gfx/nvidia-cg-toolkit[abi_x86_32]
+ media-libs/libsdl2[joystick,opengl,sound,video,abi_x86_32]
+ virtual/opengl[abi_x86_32]
+ x11-libs/fltk:1[abi_x86_32]
+ x11-libs/libX11[abi_x86_32]
+ !${CATEGORY}/${MY_PN}-gog
+"
+
+S="${WORKDIR}/data"
+DIR="/opt/${MY_PN}"
+QA_PREBUILT="${DIR#/}/*"
+
+pkg_nofetch() {
+ einfo "Please buy and download ${SRC_URI} from:"
+ einfo " ${HOMEPAGE}"
+ einfo "and move it to your distfiles directory."
+}
+
+src_unpack() {
+ unpack_zip ${A}
+}
+
+src_install() {
+ exeinto "${DIR}"
+ insinto "${DIR}"
+
+ doexe x86/{Braid,launcher}.bin.x86
+ doins -r noarch/{data,Icon.*}
+ dodoc noarch/READ_ME.txt
+
+ make_wrapper ${MY_PN} ./launcher.bin.x86 "${DIR}" /usr/$(ABI=x86 get_libdir)/fltk
+ make_desktop_entry ${MY_PN} Braid "${EPREFIX}${DIR}"/Icon.png
+}
diff --git a/games-puzzle/braid-hb/metadata.xml b/games-puzzle/braid-hb/metadata.xml
new file mode 100644
index 000000000000..7c730d47817a
--- /dev/null
+++ b/games-puzzle/braid-hb/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+</pkgmetadata>
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-puzzle/braid-hb/
@ 2022-02-06 14:58 James Le Cuirot
0 siblings, 0 replies; 3+ messages in thread
From: James Le Cuirot @ 2022-02-06 14:58 UTC (permalink / raw
To: gentoo-commits
commit: d3c37424d66e770d57768d69a89acacc1e674a63
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 6 14:57:49 2022 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Sun Feb 6 14:57:49 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d3c37424
games-puzzle/braid-hb: Explicitly exclude other architectures
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
games-puzzle/braid-hb/braid-hb-20150611.ebuild | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/games-puzzle/braid-hb/braid-hb-20150611.ebuild b/games-puzzle/braid-hb/braid-hb-20150611.ebuild
index a7b6cbc8ee37..e289db38e3e0 100644
--- a/games-puzzle/braid-hb/braid-hb-20150611.ebuild
+++ b/games-puzzle/braid-hb/braid-hb-20150611.ebuild
@@ -12,7 +12,7 @@ SRC_URI="BraidSetup-${PV:0:4}-${PV:4:2}-${PV:6:2}.sh"
LICENSE="all-rights-reserved Arphic CC-BY-NC-SA-1.0"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="-* ~amd64 ~x86"
RESTRICT="bindist fetch splitdebug"
BDEPEND="
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: games-puzzle/braid-hb/
@ 2024-12-27 23:18 James Le Cuirot
0 siblings, 0 replies; 3+ messages in thread
From: James Le Cuirot @ 2024-12-27 23:18 UTC (permalink / raw
To: gentoo-commits
commit: dfb488ac9730822ea2190fe8818bcba0a2036ff1
Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Fri Dec 27 23:17:26 2024 +0000
Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Fri Dec 27 23:17:26 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfb488ac
games-puzzle/braid-hb: Make launcher optional, use bundled FLTK
The FLTK 1.3 package will drop 32-bit support or possibly go away entirely.
Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
games-puzzle/braid-hb/braid-hb-20150611-r1.ebuild | 84 +++++++++++++++++++++++
games-puzzle/braid-hb/braid-hb-20150611.ebuild | 55 ---------------
games-puzzle/braid-hb/metadata.xml | 3 +
3 files changed, 87 insertions(+), 55 deletions(-)
diff --git a/games-puzzle/braid-hb/braid-hb-20150611-r1.ebuild b/games-puzzle/braid-hb/braid-hb-20150611-r1.ebuild
new file mode 100644
index 000000000000..fbcfe6c7f880
--- /dev/null
+++ b/games-puzzle/braid-hb/braid-hb-20150611-r1.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit desktop unpacker xdg
+
+MY_PN="braid"
+DESCRIPTION="Platform game where you manipulate flow of time"
+HOMEPAGE="https://www.humblebundle.com/store/braid"
+SRC_URI="BraidSetup-${PV:0:4}-${PV:4:2}-${PV:6:2}.sh"
+S="${WORKDIR}/data"
+
+LICENSE="all-rights-reserved Arphic CC-BY-NC-SA-1.0"
+SLOT="0"
+KEYWORDS="-* ~amd64 ~x86"
+IUSE="launcher"
+RESTRICT="bindist fetch splitdebug"
+
+BDEPEND="
+ app-arch/unzip
+"
+
+RDEPEND="
+ !${CATEGORY}/${MY_PN}-gog
+ media-gfx/nvidia-cg-toolkit[abi_x86_32]
+ media-libs/libsdl2[joystick,opengl,sound,video,abi_x86_32]
+ virtual/opengl[abi_x86_32]
+ launcher? (
+ media-libs/fontconfig:1.0[abi_x86_32]
+ x11-libs/libX11[abi_x86_32]
+ x11-libs/libXcursor[abi_x86_32]
+ x11-libs/libXext[abi_x86_32]
+ x11-libs/libXfixes[abi_x86_32]
+ x11-libs/libXft[abi_x86_32]
+ x11-libs/libXinerama[abi_x86_32]
+ )
+"
+
+DIR="/opt/${MY_PN}"
+QA_PREBUILT="${DIR#/}/*"
+
+pkg_nofetch() {
+ einfo "Please buy and download ${SRC_URI} from:"
+ einfo " ${HOMEPAGE}"
+ einfo "and move it to your distfiles directory."
+}
+
+src_unpack() {
+ unpack_zip ${A}
+}
+
+src_install() {
+ exeinto "${DIR}"
+ insinto "${DIR}"
+
+ doexe x86/Braid.bin.x86
+ doins -r noarch/{data,Icon.bmp}
+ dodoc noarch/READ_ME.txt
+
+ if use launcher; then
+ doexe x86/launcher.bin.x86
+ exeinto "${DIR}"/lib
+ doexe x86/lib/libfltk.so.1.3
+ dosym "../..${DIR}/launcher.bin.x86" /usr/bin/${MY_PN}
+ else
+ dosym "../..${DIR}/Braid.bin.x86" /usr/bin/${MY_PN}
+ fi
+
+ newicon -s 256 noarch/Icon.png ${MY_PN}.png
+ make_desktop_entry ${MY_PN} Braid
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+
+ if ! use launcher; then
+ elog "You have disabled the launcher. The game will run fullscreen with"
+ elog "Vsync and postprocessing enabled at an optimal framerate by default."
+ elog "Pass these options to change that:"
+ elog ""
+ elog " -windowed -width [X] -height [Y] -no_vsync -no_post -[R]fps"
+ fi
+}
diff --git a/games-puzzle/braid-hb/braid-hb-20150611.ebuild b/games-puzzle/braid-hb/braid-hb-20150611.ebuild
deleted file mode 100644
index e289db38e3e0..000000000000
--- a/games-puzzle/braid-hb/braid-hb-20150611.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit desktop unpacker wrapper xdg
-
-MY_PN="braid"
-DESCRIPTION="Platform game where you manipulate flow of time"
-HOMEPAGE="https://www.humblebundle.com/store/braid"
-SRC_URI="BraidSetup-${PV:0:4}-${PV:4:2}-${PV:6:2}.sh"
-
-LICENSE="all-rights-reserved Arphic CC-BY-NC-SA-1.0"
-SLOT="0"
-KEYWORDS="-* ~amd64 ~x86"
-RESTRICT="bindist fetch splitdebug"
-
-BDEPEND="
- app-arch/unzip
-"
-
-RDEPEND="
- media-gfx/nvidia-cg-toolkit[abi_x86_32]
- media-libs/libsdl2[joystick,opengl,sound,video,abi_x86_32]
- virtual/opengl[abi_x86_32]
- x11-libs/fltk:1[abi_x86_32]
- x11-libs/libX11[abi_x86_32]
- !${CATEGORY}/${MY_PN}-gog
-"
-
-S="${WORKDIR}/data"
-DIR="/opt/${MY_PN}"
-QA_PREBUILT="${DIR#/}/*"
-
-pkg_nofetch() {
- einfo "Please buy and download ${SRC_URI} from:"
- einfo " ${HOMEPAGE}"
- einfo "and move it to your distfiles directory."
-}
-
-src_unpack() {
- unpack_zip ${A}
-}
-
-src_install() {
- exeinto "${DIR}"
- insinto "${DIR}"
-
- doexe x86/{Braid,launcher}.bin.x86
- doins -r noarch/{data,Icon.*}
- dodoc noarch/READ_ME.txt
-
- make_wrapper ${MY_PN} ./launcher.bin.x86 "${DIR}" /usr/$(ABI=x86 get_libdir)/fltk
- make_desktop_entry ${MY_PN} Braid "${EPREFIX}${DIR}"/Icon.png
-}
diff --git a/games-puzzle/braid-hb/metadata.xml b/games-puzzle/braid-hb/metadata.xml
index 7c730d47817a..9628757c45f0 100644
--- a/games-puzzle/braid-hb/metadata.xml
+++ b/games-puzzle/braid-hb/metadata.xml
@@ -5,4 +5,7 @@
<email>games@gentoo.org</email>
<name>Gentoo Games Project</name>
</maintainer>
+ <use>
+ <flag name="launcher">Install FLTK-based launcher that you probably don't need</flag>
+ </use>
</pkgmetadata>
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2024-12-27 23:18 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-27 23:18 [gentoo-commits] repo/gentoo:master commit in: games-puzzle/braid-hb/ James Le Cuirot
-- strict thread matches above, loose matches on Subject: below --
2022-02-06 14:58 James Le Cuirot
2022-02-06 14:52 James Le Cuirot
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox