diff options
Diffstat (limited to 'games-strategy')
-rw-r--r-- | games-strategy/widelands/Manifest | 1 | ||||
-rw-r--r-- | games-strategy/widelands/widelands-0.20-r1.ebuild | 77 |
2 files changed, 0 insertions, 78 deletions
diff --git a/games-strategy/widelands/Manifest b/games-strategy/widelands/Manifest index 36caa1904732..28e70a685389 100644 --- a/games-strategy/widelands/Manifest +++ b/games-strategy/widelands/Manifest @@ -1,2 +1 @@ -DIST widelands-build20.tar.bz2 232364340 BLAKE2B 1d8e2cd28d2ac3e2425c91a9872a3f158d7063a2c6c669d95df347561ef35dfca479fd81252d61008a3282c99a2ce70c4d904622272dd86477a731fc711306b1 SHA512 25280db6a57adeb37d13db35ce9eb41a5478534b04772240f6228c180f5a41a55fc414dab66e724945442985cbbba7a8a59a582291aca176e0bd8ae6c08760e5 DIST widelands-build21-source.tar.gz 381374149 BLAKE2B 17f0491bf7bcd10449bcc274be94aec4a0a64625c19f52426a0d460c3356e04a59b51683e72b4492ba1f62bd6ea510250c3cedda89a7588b88a0071abb1cf0cf SHA512 8d36bd0407a72e4e221155121f9ab4ce7fdfb6d81ca70a2772baf12c3397fc6abbcad5006336adb471d2c5127a90b4cda735e941d69cf779be1f923d4a38960e diff --git a/games-strategy/widelands/widelands-0.20-r1.ebuild b/games-strategy/widelands/widelands-0.20-r1.ebuild deleted file mode 100644 index 85634c7beb17..000000000000 --- a/games-strategy/widelands/widelands-0.20-r1.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8} ) - -inherit desktop cmake python-any-r1 - -MY_PV="build$(ver_cut 2-)" -MY_P="${PN}-${MY_PV/_/-}" - -DESCRIPTION="A game similar to Settlers 2" -HOMEPAGE="https://www.widelands.org/" -SRC_URI="https://launchpad.net/widelands/build$(ver_cut 2)/${MY_PV/_/-}/+download/${MY_P}.tar.bz2" - -LICENSE="GPL-2+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -RDEPEND=" - >=dev-libs/boost-1.48:= - dev-libs/icu:= - media-libs/glew:0= - media-libs/libglvnd - media-libs/libpng:0= - media-libs/libsdl2[video] - media-libs/sdl2-image[jpeg,png] - media-libs/sdl2-mixer[vorbis] - media-libs/sdl2-ttf - sys-libs/zlib:=[minizip]" -DEPEND="${RDEPEND} - ${PYTHON_DEPS} -" -BDEPEND=" - sys-devel/gettext -" - -CMAKE_BUILD_TYPE="Release" - -S="${WORKDIR}/${MY_P}" - -PATCHES=( - "${FILESDIR}"/${PN}-0.20_rc1-cxxflags.patch - "${FILESDIR}"/${PN}-0.20-glvnd.patch - "${FILESDIR}"/${PN}-0.20-boost-1.73.patch -) - -src_prepare() { - cmake_src_prepare - - sed -i -e 's:__ppc__:__PPC__:' src/map_io/s2map.cc || die -} - -src_configure() { - local mycmakeargs=( - -DOPTION_BUILD_WEBSITE_TOOLS=OFF - - # Upstream's cmake files are totally fscked up... - -DCMAKE_INSTALL_PREFIX="${EPREFIX}"/usr/share/doc/${PF} - # Game is NOT happy being moved from /usr/share/games - -DWL_INSTALL_DATADIR="${EPREFIX}"/usr/share/games/${PN} - ) - cmake_src_configure -} - -src_install() { - cmake_src_install - - # move game binary to correct location - dodir /usr/bin - mv "${ED}"/usr/share/doc/${PF}/${PN} "${ED}"/usr/bin || die - - newicon data/images/logos/wl-ico-128.png ${PN}.png - make_desktop_entry ${PN} ${PN^} -} |