mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
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>
This commit is contained in:
@@ -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.
|
||||
|
||||
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user