1 |
commit: 8e5ef49a919b663b6c1fa74f08c2cbe03168f92c |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 31 02:06:47 2021 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 31 02:39:43 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e5ef49a |
7 |
|
8 |
games-puzzle/lpairs: add 1.0.5, finish migration from games.eclass |
9 |
|
10 |
This package installs to $datadir/games on its own and |
11 |
needed further changes. |
12 |
|
13 |
Also removed inline workaround (fixed in this version). |
14 |
locale workaround also unneeded as it existed for /usr/games. |
15 |
|
16 |
Closes: https://bugs.gentoo.org/805158 |
17 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
18 |
|
19 |
games-puzzle/lpairs/Manifest | 1 + |
20 |
games-puzzle/lpairs/lpairs-1.0.5.ebuild | 39 +++++++++++++++++++++++++++++++++ |
21 |
2 files changed, 40 insertions(+) |
22 |
|
23 |
diff --git a/games-puzzle/lpairs/Manifest b/games-puzzle/lpairs/Manifest |
24 |
index c01428ea8a7..d1390e8f502 100644 |
25 |
--- a/games-puzzle/lpairs/Manifest |
26 |
+++ b/games-puzzle/lpairs/Manifest |
27 |
@@ -1 +1,2 @@ |
28 |
DIST lpairs-1.0.4.tar.gz 536625 BLAKE2B f020f50b47290b961d77335d567dd68bc009e0952e7ebd39d39c041fcc5a2d9e97d6827921b862dd3dd59c7bef0f11165356f41eda022d7583ca27f584e4b02b SHA512 637f9782c1c1faee3fe0d02adeeb7ea70704f1b625922e1ba086cd03e9a6cf1d61a082eff4753a2ec8be5fc7041bd029f193adf847a39e773e4eedd9eafb2b97 |
29 |
+DIST lpairs-1.0.5.tar.gz 557997 BLAKE2B 940482bc0b5cd209366d541fc4b936055741a7d3936b0f218c68a3ecf43ed0189bfe87fc52eefd85896cfe0b2ed592b1362581d93941a0fb73965cf4341cba6f SHA512 381c47969446b778c694f484647ab6a6bd41eb996e741a01a63f1b854c30f78c7e9f1043546a3b8649ec6db940cac3b7ae5ba3c23e6c9df2716a93e6f6d37324 |
30 |
|
31 |
diff --git a/games-puzzle/lpairs/lpairs-1.0.5.ebuild b/games-puzzle/lpairs/lpairs-1.0.5.ebuild |
32 |
new file mode 100644 |
33 |
index 00000000000..2b8156772c9 |
34 |
--- /dev/null |
35 |
+++ b/games-puzzle/lpairs/lpairs-1.0.5.ebuild |
36 |
@@ -0,0 +1,39 @@ |
37 |
+# Copyright 1999-2021 Gentoo Authors |
38 |
+# Distributed under the terms of the GNU General Public License v2 |
39 |
+ |
40 |
+EAPI=8 |
41 |
+ |
42 |
+inherit desktop |
43 |
+ |
44 |
+DESCRIPTION="Classic memory game" |
45 |
+HOMEPAGE="http://lgames.sourceforge.net/LPairs/" |
46 |
+SRC_URI="mirror://sourceforge/lgames/${P}.tar.gz" |
47 |
+ |
48 |
+LICENSE="GPL-2+" |
49 |
+SLOT="0" |
50 |
+KEYWORDS="~amd64 ~x86" |
51 |
+IUSE="+sound" |
52 |
+ |
53 |
+RDEPEND=" |
54 |
+ media-libs/libsdl[sound?,video] |
55 |
+ virtual/libintl" |
56 |
+DEPEND="${RDEPEND}" |
57 |
+BDEPEND="sys-devel/gettext" |
58 |
+ |
59 |
+src_prepare() { |
60 |
+ default |
61 |
+ |
62 |
+ sed -i '/^inst_dir=/s|/games||' configure || die |
63 |
+} |
64 |
+ |
65 |
+src_configure() { |
66 |
+ # --enable-sound doesn't enable it, needs to be unspecified |
67 |
+ econf $(usev !sound --disable-sound) |
68 |
+} |
69 |
+ |
70 |
+src_install() { |
71 |
+ default |
72 |
+ |
73 |
+ doicon ${PN}.png |
74 |
+ make_desktop_entry ${PN} LPairs |
75 |
+} |