summaryrefslogtreecommitdiff
path: root/games-rpg/zsxd
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-03-03 10:28:17 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-03-03 10:28:17 +0000
commitd99093fb4bb5652015c06274d64083daa2439e4f (patch)
treecf61513204d97974179580065e85df5c8009087c /games-rpg/zsxd
parent463397cf1e064185110fe57c568d73f99a06f5d1 (diff)
gentoo resync : 03.03.2021
Diffstat (limited to 'games-rpg/zsxd')
-rw-r--r--games-rpg/zsxd/Manifest4
-rw-r--r--games-rpg/zsxd/zsxd-1.9.0-r1.ebuild42
2 files changed, 19 insertions, 27 deletions
diff --git a/games-rpg/zsxd/Manifest b/games-rpg/zsxd/Manifest
index b730b625bc28..3251ad53e721 100644
--- a/games-rpg/zsxd/Manifest
+++ b/games-rpg/zsxd/Manifest
@@ -1,3 +1,3 @@
-DIST zsxd-1.9.0.tar.gz 3706125 BLAKE2B 3d83fff945bfecc387b79126628e3d1f45a461ae7b58b702dbe0c0f1799d6b57c53ecd4b1bfeb7a9ccebd279a3b299da8c328a2aca3126bea09f4865e1bfea1e SHA512 cecb8b4ff40b7129bb516cf71e9bbbc92e10ace944c735eb2885dbf0e0b8adef80491c1874ee91efb2c9779b819d0217639fe85f9e3a085c980af6a2972e571e
-EBUILD zsxd-1.9.0-r1.ebuild 1221 BLAKE2B 522806ed5eeb62fb95c5f59b79ef96f5995b4b877398bd1da3c80bcc7a65b29ca8f6c4ca3c6b17a7f24663d97f5c202e6b75715933a2546084307abe34767a21 SHA512 8ad18d02ef616549686d705f085f3d2145f37c03330e01e5021a6b4df6e57e1bf62cf815c1652429318d0adc1b1eef408e27335a66fb9acf35799682f9ae4f1f
+DIST zsxd-zsxd-1.9.0.tar.gz 3690390 BLAKE2B c5b6a671c5b5f8ba702ba23f447c0858aa870730a752761f65092b8e1f4a0879f2877fabf0e52a71be380ff25628f0be94f01f6a02009bfe4f7d1952f50ba5f4 SHA512 a457374adc7a8f4b7872b6f6693051d1499320f4349d55009e581132b62f5eebd6e35cc80c1ac14c5c80b74145fb7ac26b312f3f329df71c36e71d9a38383f05
+EBUILD zsxd-1.9.0-r1.ebuild 1154 BLAKE2B cc093c3a0bcf6bf60a90de29a2368a71a5e12ea9c9d55099da6f1593f7213f9579ad4874470de35f00c01b911275382549ee1b770f8fcf1df06268b830888ba4 SHA512 4de13ed1924b8a55d2217986aafea1f319f5b327ead84b3a973b5d7588bfb9118d551660db50c055c5f87107f92d344ce7b4318d187f61fae39b34c4a4d55f87
MISC metadata.xml 333 BLAKE2B 81d8a164a8319a24109c072f73e7959380cee2aef798b0ccceb6100825abfe51a6267f1e4f44da5c5ad4ec8881a36e09ac0a38187d936924e0ee85ebe59ee274 SHA512 bb078fd150a98e9326870e54347db0f9962d1f00707d7dcae5814808946e1ca673c45073d9bf886d6cb1d456e3ece9a236c6bb1b8448c3b9d9ef583acdf731f4
diff --git a/games-rpg/zsxd/zsxd-1.9.0-r1.ebuild b/games-rpg/zsxd/zsxd-1.9.0-r1.ebuild
index 76a8fc0fe7f1..b8e0195e4681 100644
--- a/games-rpg/zsxd/zsxd-1.9.0-r1.ebuild
+++ b/games-rpg/zsxd/zsxd-1.9.0-r1.ebuild
@@ -1,13 +1,15 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit eutils gnome2-utils cmake-utils
+CMAKE_MAKEFILE_GENERATOR=emake
+inherit cmake desktop xdg
-DESCRIPTION="A free 2D Zelda fangame parody"
-HOMEPAGE="http://www.solarus-games.org/"
-SRC_URI="http://www.zelda-solarus.com/downloads/${PN}/${P}.tar.gz"
+DESCRIPTION="Free 2D Zelda fangame parody"
+HOMEPAGE="https://www.solarus-games.org/"
+SRC_URI="https://gitlab.com/solarus-games/${PN}/-/archive/${PN}-${PV}/${PN}-${PN}-${PV}.tar.gz"
+S="${WORKDIR}/${PN}-${PN}-${PV}"
LICENSE="all-rights-reserved CC-BY-SA-3.0 GPL-3"
SLOT="0"
@@ -15,14 +17,16 @@ KEYWORDS="~amd64 ~x86"
IUSE=""
RESTRICT="mirror bindist"
-RDEPEND=">=games-engines/solarus-1.3.1-r1
- <games-engines/solarus-1.4.0"
+RDEPEND="
+ >=games-engines/solarus-1.3.1-r1
+ <games-engines/solarus-1.4.0
+"
DEPEND="app-arch/zip"
DOCS=( ChangeLog readme.txt )
src_prepare() {
- cmake-utils_src_prepare
+ cmake_src_prepare
}
src_configure() {
@@ -30,29 +34,17 @@ src_configure() {
-DSOLARUS_INSTALL_DATAROOTDIR="/usr/share"
-DSOLARUS_INSTALL_BINDIR="/usr/bin"
)
- cmake-utils_src_configure
-}
-
-src_compile() {
- cmake-utils_src_compile
+ cmake_src_configure
}
src_install() {
- cmake-utils_src_install
+ cmake_src_install
newicon -s 48 build/icons/${PN}_icon_48.png ${PN}.png
newicon -s 256 build/icons/${PN}_icon_256.png ${PN}.png
# install proper wrapper script
- rm -f "${ED%/}/usr/bin/${PN}
- make_wrapper ${PN} "solarus \"/usr/share/solarus/${PN}\"
+ rm "${ED}"/usr/bin/${PN} || die
+ make_wrapper ${PN} "solarus \"/usr/share/solarus/${PN}\""
make_desktop_entry "${PN}" "Zelda: Mystery of Solarus XD"
}
-
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
-pkg_postinst() {
- gnome2_icon_cache_update
-}