diff options
author | Ionen Wolkens <ionen@gentoo.org> | 2021-07-17 03:36:17 -0400 |
---|---|---|
committer | Ionen Wolkens <ionen@gentoo.org> | 2021-07-17 03:58:49 -0400 |
commit | 87b96fc04aaa92689ae86d94b5db350ebae17376 (patch) | |
tree | 1182707cb355d4190238c6bc9db0a53baad4a239 /games-puzzle | |
parent | games-puzzle/xlogical: drop 1.0.7-r1 (diff) | |
download | gentoo-87b96fc04aaa92689ae86d94b5db350ebae17376.tar.gz gentoo-87b96fc04aaa92689ae86d94b5db350ebae17376.tar.bz2 gentoo-87b96fc04aaa92689ae86d94b5db350ebae17376.zip |
games-puzzle/xye: EAPI 6->7, fix AbsoluteSymlink
Also restore .desktop sub-category using the correct entry.
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'games-puzzle')
-rw-r--r-- | games-puzzle/xye/files/xye-0.12.2-fix-desktop-file.patch | 2 | ||||
-rw-r--r-- | games-puzzle/xye/xye-0.12.2.ebuild | 22 |
2 files changed, 12 insertions, 12 deletions
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 index 99558ef28732..1f51bfb41336 100644 --- 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 @@ -7,7 +7,7 @@ Fix .desktop file to comply with FDO specifications. Exec=xye Type=Application -Categories=Application;Game;PuzzleGame -+Categories=Game ++Categories=Game;LogicGame Name=Xye GenericName=Xye Comment=Solve puzzles and action challenges in order to get all the gems in the room. diff --git a/games-puzzle/xye/xye-0.12.2.ebuild b/games-puzzle/xye/xye-0.12.2.ebuild index dd5d31b2b2a0..1dec87af8d3b 100644 --- a/games-puzzle/xye/xye-0.12.2.ebuild +++ b/games-puzzle/xye/xye-0.12.2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -inherit autotools xdg +inherit autotools eapi8-dosym xdg DESCRIPTION="Free version of the classic game Kye" HOMEPAGE="http://xye.sourceforge.net/" @@ -12,23 +12,23 @@ SRC_URI="mirror://sourceforge/xye/${P}.tar.gz" LICENSE="ZLIB" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="" RDEPEND=" media-fonts/dejavu media-libs/libsdl[video] - media-libs/sdl-ttf - media-libs/sdl-image[png]" + media-libs/sdl-image[png] + media-libs/sdl-ttf" DEPEND="${RDEPEND}" PATCHES=( - "${FILESDIR}"/${PN}-0.12.2-fix-buildsystem.patch - "${FILESDIR}"/${PN}-0.12.2-fix-c++14.patch - "${FILESDIR}"/${PN}-0.12.2-fix-desktop-file.patch + "${FILESDIR}"/${P}-fix-buildsystem.patch + "${FILESDIR}"/${P}-fix-c++14.patch + "${FILESDIR}"/${P}-fix-desktop-file.patch ) src_prepare() { default + mv configure.{in,ac} || die eautoreconf } @@ -37,6 +37,6 @@ src_install() { default # create symlinks for previously bundled fonts - dosym /usr/share/fonts/dejavu/DejaVuSans.ttf /usr/share/${PN}/res/DejaVuSans.ttf - dosym /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf /usr/share/${PN}/res/DejaVuSans-Bold.ttf + dosym8 -r /usr/share/{fonts/dejavu,${PN}/res}/DejaVuSans.ttf + dosym8 -r /usr/share/{fonts/dejavu,${PN}/res}/DejaVuSans-Bold.ttf } |