diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-05-04 11:22:40 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-05-04 11:22:40 +0100 |
commit | fe1c8b732bd548b699d4c2ef725f67f8b8c8911c (patch) | |
tree | 84c0b6ca01b7cb63c7d6e685a63823200ce1007f /games-strategy/freesynd | |
parent | 7c7c2c9727d6b2ff30945b5aea0d575e1c406d8b (diff) |
gentoo resync : 04.05.2018
Diffstat (limited to 'games-strategy/freesynd')
-rw-r--r-- | games-strategy/freesynd/Manifest | 2 | ||||
-rw-r--r-- | games-strategy/freesynd/freesynd-0.7.1-r1.ebuild (renamed from games-strategy/freesynd/freesynd-0.7.1.ebuild) | 42 |
2 files changed, 21 insertions, 23 deletions
diff --git a/games-strategy/freesynd/Manifest b/games-strategy/freesynd/Manifest index bc9803b9dec0..b339599b9781 100644 --- a/games-strategy/freesynd/Manifest +++ b/games-strategy/freesynd/Manifest @@ -1,4 +1,4 @@ AUX freesynd-0.7.1-cmake.patch 931 BLAKE2B 0ad1994ad923355fdcae7c472a1440c88a848c409d5cc17b43d4d42e6307eb5c9f362efae5d81227d6ed6a7a4ecd5a7ec3492086e11f2208473190f2713fdd89 SHA512 994d12a2f079582bda03a600888c2d7ed2043468d69ce752e64deb45d156de5a7556edabd00d2635acc2c39882a8074193dc559e423e8e0181e9d4ea9d8b8b6f DIST freesynd-0.7.1.tar.gz 2576695 BLAKE2B 11b8f1d25768cdef6cf6894e8141cd13562a133a3253aa5b19034f0c54f114081dd97d41d230c74b5b1aaf66d84ad45d0c09ca5cdc72fb1de00a39ff23ad1272 SHA512 b87e6adaf71206532b4f90cd230ca6be00438fe26f000c5a0bfebf2839fea80d78d98ddc27331a2224874338c3e14ffbfa58b8c5bdbdc53c93bba8d6a9e6b7b4 -EBUILD freesynd-0.7.1.ebuild 1691 BLAKE2B 9ce42c87966e3108b7782a6d72320f13e9af343449e6412637bf46b042741f6a5d8e98cc2b9a7bde5b9cc305a37c303b270e0063dc5c9627c96655eda5d4eadf SHA512 bbc20b033504b95f9d45759c83ac02294a87fdcc58c5f7ac74df00e762d5f8610c663f56258b3398ff2c68abc39bb30d0ccfc3fb54f010ea94ae6d5bd1438060 +EBUILD freesynd-0.7.1-r1.ebuild 1640 BLAKE2B 2191d33a02ad08dc458bf5df63371f068014a63a3e6c6273296003d7ad7f53b7df7e37531176c20f2f97b733e18c0f3003849dbf2a2691c4bd8d7a7b34966c8a SHA512 8883509215a0c8bcf61d740f11b971bfff09cdffd0ef15fc3e7ccb526db7748cfde2d5c0b0e889874eaf8360df52f3f7e1a123a0709afacd923a10b04a455c0a MISC metadata.xml 401 BLAKE2B e83ee7425bd7de156c4ce45903a7fe00a12ad94f9e8bfe8ab0547458d2cf3f883fbbb319494a40bdabbadf2d85e74d0a929c43973d27550a7198bfd2c0e7add7 SHA512 5750ad5bed978d8a906a3cea47f3602257b5390bb87096c1e005d0c2bd1921b9033bdfb87f14506e88e8929268a9c9bb0003c9b343d0a0040b30df2058726152 diff --git a/games-strategy/freesynd/freesynd-0.7.1.ebuild b/games-strategy/freesynd/freesynd-0.7.1-r1.ebuild index 6f9ce26e3669..c787783deb41 100644 --- a/games-strategy/freesynd/freesynd-0.7.1.ebuild +++ b/games-strategy/freesynd/freesynd-0.7.1-r1.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 EAPI=5 -inherit eutils cmake-utils gnome2-utils games +inherit eutils cmake-utils gnome2-utils readme.gentoo-r1 DESCRIPTION="A portable reimplementation of engine for the classic Bullfrog game, Syndicate" HOMEPAGE="http://freesynd.sourceforge.net/" @@ -13,23 +13,30 @@ SLOT="0" KEYWORDS="~amd64 ~x86" IUSE="debug devtools" -RDEPEND="media-libs/libogg - media-libs/libpng:0 +RDEPEND=" + media-libs/libogg + media-libs/libpng:0= media-libs/libsdl[X,sound,video] media-libs/libvorbis media-libs/sdl-mixer[mp3,vorbis] - media-libs/sdl-image[png]" -DEPEND=${RDEPEND} + media-libs/sdl-image[png] +" +DEPEND="${RDEPEND}" PATCHES=( "${FILESDIR}"/${P}-cmake.patch ) CMAKE_IN_SOURCE_BUILD=1 +DOC_CONTENTS=" + You have to set \"data_dir = /my/path/to/synd-data\" + in \"~/.${PN}/${PN}.ini\". +" + src_prepare() { cmake-utils_src_prepare sed \ - -e "s:#freesynd_data_dir = /usr/share/freesynd/data:freesynd_data_dir = ${GAMES_DATADIR}/${PN}/data:" \ + -e "s:#freesynd_data_dir = /usr/share/freesynd/data:freesynd_data_dir = /usr/share/${PN}/data:" \ -i ${PN}.ini || die } @@ -42,37 +49,28 @@ src_configure() { cmake-utils_src_configure } -src_compile() { - cmake-utils_src_compile -} - src_install() { - dogamesbin src/${PN} - use devtools && newgamesbin src/dump ${PN}-dump - insinto "${GAMES_DATADIR}"/${PN} + dobin src/${PN} + use devtools && newbin src/dump ${PN}-dump + insinto /usr/share/${PN} doins -r data newicon -s 128 icon/sword.png ${PN}.png make_desktop_entry ${PN} dodoc NEWS README INSTALL AUTHORS - prepgamesdirs + readme.gentoo_create_doc } pkg_preinst() { - games_pkg_preinst gnome2_icon_savelist } pkg_postinst() { - elog "You have to set \"data_dir = /my/path/to/synd-data\"" - elog "in \"~/.${PN}/${PN}.ini\"." - + gnome2_icon_cache_update if use debug ; then ewarn "Debug build is not meant for regular playing," ewarn "game speed is higher." fi - - games_pkg_postinst - gnome2_icon_cache_update + readme.gentoo_print_elog } pkg_postrm() { |