1 |
commit: 87b96fc04aaa92689ae86d94b5db350ebae17376 |
2 |
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jul 17 07:36:17 2021 +0000 |
4 |
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jul 17 07:58:49 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87b96fc0 |
7 |
|
8 |
games-puzzle/xye: EAPI 6->7, fix AbsoluteSymlink |
9 |
|
10 |
Also restore .desktop sub-category using the correct entry. |
11 |
|
12 |
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org> |
13 |
|
14 |
.../xye/files/xye-0.12.2-fix-desktop-file.patch | 2 +- |
15 |
games-puzzle/xye/xye-0.12.2.ebuild | 22 +++++++++++----------- |
16 |
2 files changed, 12 insertions(+), 12 deletions(-) |
17 |
|
18 |
diff --git a/games-puzzle/xye/files/xye-0.12.2-fix-desktop-file.patch b/games-puzzle/xye/files/xye-0.12.2-fix-desktop-file.patch |
19 |
index 99558ef2873..1f51bfb4133 100644 |
20 |
--- a/games-puzzle/xye/files/xye-0.12.2-fix-desktop-file.patch |
21 |
+++ b/games-puzzle/xye/files/xye-0.12.2-fix-desktop-file.patch |
22 |
@@ -7,7 +7,7 @@ Fix .desktop file to comply with FDO specifications. |
23 |
Exec=xye |
24 |
Type=Application |
25 |
-Categories=Application;Game;PuzzleGame |
26 |
-+Categories=Game |
27 |
++Categories=Game;LogicGame |
28 |
Name=Xye |
29 |
GenericName=Xye |
30 |
Comment=Solve puzzles and action challenges in order to get all the gems in the room. |
31 |
|
32 |
diff --git a/games-puzzle/xye/xye-0.12.2.ebuild b/games-puzzle/xye/xye-0.12.2.ebuild |
33 |
index dd5d31b2b2a..1dec87af8d3 100644 |
34 |
--- a/games-puzzle/xye/xye-0.12.2.ebuild |
35 |
+++ b/games-puzzle/xye/xye-0.12.2.ebuild |
36 |
@@ -1,9 +1,9 @@ |
37 |
-# Copyright 1999-2020 Gentoo Authors |
38 |
+# Copyright 1999-2021 Gentoo Authors |
39 |
# Distributed under the terms of the GNU General Public License v2 |
40 |
|
41 |
-EAPI=6 |
42 |
+EAPI=7 |
43 |
|
44 |
-inherit autotools xdg |
45 |
+inherit autotools eapi8-dosym xdg |
46 |
|
47 |
DESCRIPTION="Free version of the classic game Kye" |
48 |
HOMEPAGE="http://xye.sourceforge.net/" |
49 |
@@ -12,23 +12,23 @@ SRC_URI="mirror://sourceforge/xye/${P}.tar.gz" |
50 |
LICENSE="ZLIB" |
51 |
SLOT="0" |
52 |
KEYWORDS="~amd64 ~x86" |
53 |
-IUSE="" |
54 |
|
55 |
RDEPEND=" |
56 |
media-fonts/dejavu |
57 |
media-libs/libsdl[video] |
58 |
- media-libs/sdl-ttf |
59 |
- media-libs/sdl-image[png]" |
60 |
+ media-libs/sdl-image[png] |
61 |
+ media-libs/sdl-ttf" |
62 |
DEPEND="${RDEPEND}" |
63 |
|
64 |
PATCHES=( |
65 |
- "${FILESDIR}"/${PN}-0.12.2-fix-buildsystem.patch |
66 |
- "${FILESDIR}"/${PN}-0.12.2-fix-c++14.patch |
67 |
- "${FILESDIR}"/${PN}-0.12.2-fix-desktop-file.patch |
68 |
+ "${FILESDIR}"/${P}-fix-buildsystem.patch |
69 |
+ "${FILESDIR}"/${P}-fix-c++14.patch |
70 |
+ "${FILESDIR}"/${P}-fix-desktop-file.patch |
71 |
) |
72 |
|
73 |
src_prepare() { |
74 |
default |
75 |
+ |
76 |
mv configure.{in,ac} || die |
77 |
eautoreconf |
78 |
} |
79 |
@@ -37,6 +37,6 @@ src_install() { |
80 |
default |
81 |
|
82 |
# create symlinks for previously bundled fonts |
83 |
- dosym /usr/share/fonts/dejavu/DejaVuSans.ttf /usr/share/${PN}/res/DejaVuSans.ttf |
84 |
- dosym /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf /usr/share/${PN}/res/DejaVuSans-Bold.ttf |
85 |
+ dosym8 -r /usr/share/{fonts/dejavu,${PN}/res}/DejaVuSans.ttf |
86 |
+ dosym8 -r /usr/share/{fonts/dejavu,${PN}/res}/DejaVuSans-Bold.ttf |
87 |
} |