Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-puzzle/braid-hb/
Date: Sun, 06 Feb 2022 14:52:58
Message-Id: 1644159141.fca8da51eb3c7c5300bdf6a762317f325217ef19.chewi@gentoo
1 commit: fca8da51eb3c7c5300bdf6a762317f325217ef19
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Sun Feb 6 14:51:03 2022 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Sun Feb 6 14:52:21 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fca8da51
7
8 games-puzzle/braid-hb: New package for the Humble Bundle version
9
10 Closes: https://bugs.gentoo.org/349136
11 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
12
13 games-puzzle/braid-hb/Manifest | 1 +
14 games-puzzle/braid-hb/braid-hb-20150611.ebuild | 55 ++++++++++++++++++++++++++
15 games-puzzle/braid-hb/metadata.xml | 8 ++++
16 3 files changed, 64 insertions(+)
17
18 diff --git a/games-puzzle/braid-hb/Manifest b/games-puzzle/braid-hb/Manifest
19 new file mode 100644
20 index 000000000000..ddcc6b10c46a
21 --- /dev/null
22 +++ b/games-puzzle/braid-hb/Manifest
23 @@ -0,0 +1 @@
24 +DIST BraidSetup-2015-06-11.sh 121622129 BLAKE2B 9cb255621c6e2461dff0ca0dc779d62aef09a16d413e1909c505e41be1db5475be5ced8e16ce8d989faa70f3f7a614e3ac7af99a28feccf1859182dca762b042 SHA512 8f27efd0e6514f92c177663d5cb342b026017e66abe2a46df6b08880a28c8220a7cfcb5607eaf01ace3a39c7c8af5e5f9f62c661d4018cdadc102f4caf677a93
25
26 diff --git a/games-puzzle/braid-hb/braid-hb-20150611.ebuild b/games-puzzle/braid-hb/braid-hb-20150611.ebuild
27 new file mode 100644
28 index 000000000000..a7b6cbc8ee37
29 --- /dev/null
30 +++ b/games-puzzle/braid-hb/braid-hb-20150611.ebuild
31 @@ -0,0 +1,55 @@
32 +# Copyright 1999-2022 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=8
36 +
37 +inherit desktop unpacker wrapper xdg
38 +
39 +MY_PN="braid"
40 +DESCRIPTION="Platform game where you manipulate flow of time"
41 +HOMEPAGE="https://www.humblebundle.com/store/braid"
42 +SRC_URI="BraidSetup-${PV:0:4}-${PV:4:2}-${PV:6:2}.sh"
43 +
44 +LICENSE="all-rights-reserved Arphic CC-BY-NC-SA-1.0"
45 +SLOT="0"
46 +KEYWORDS="~amd64 ~x86"
47 +RESTRICT="bindist fetch splitdebug"
48 +
49 +BDEPEND="
50 + app-arch/unzip
51 +"
52 +
53 +RDEPEND="
54 + media-gfx/nvidia-cg-toolkit[abi_x86_32]
55 + media-libs/libsdl2[joystick,opengl,sound,video,abi_x86_32]
56 + virtual/opengl[abi_x86_32]
57 + x11-libs/fltk:1[abi_x86_32]
58 + x11-libs/libX11[abi_x86_32]
59 + !${CATEGORY}/${MY_PN}-gog
60 +"
61 +
62 +S="${WORKDIR}/data"
63 +DIR="/opt/${MY_PN}"
64 +QA_PREBUILT="${DIR#/}/*"
65 +
66 +pkg_nofetch() {
67 + einfo "Please buy and download ${SRC_URI} from:"
68 + einfo " ${HOMEPAGE}"
69 + einfo "and move it to your distfiles directory."
70 +}
71 +
72 +src_unpack() {
73 + unpack_zip ${A}
74 +}
75 +
76 +src_install() {
77 + exeinto "${DIR}"
78 + insinto "${DIR}"
79 +
80 + doexe x86/{Braid,launcher}.bin.x86
81 + doins -r noarch/{data,Icon.*}
82 + dodoc noarch/READ_ME.txt
83 +
84 + make_wrapper ${MY_PN} ./launcher.bin.x86 "${DIR}" /usr/$(ABI=x86 get_libdir)/fltk
85 + make_desktop_entry ${MY_PN} Braid "${EPREFIX}${DIR}"/Icon.png
86 +}
87
88 diff --git a/games-puzzle/braid-hb/metadata.xml b/games-puzzle/braid-hb/metadata.xml
89 new file mode 100644
90 index 000000000000..7c730d47817a
91 --- /dev/null
92 +++ b/games-puzzle/braid-hb/metadata.xml
93 @@ -0,0 +1,8 @@
94 +<?xml version="1.0" encoding="UTF-8"?>
95 +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
96 +<pkgmetadata>
97 + <maintainer type="project">
98 + <email>games@g.o</email>
99 + <name>Gentoo Games Project</name>
100 + </maintainer>
101 +</pkgmetadata>