summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-11-19 10:11:17 +0100
committerDavid Seifert <soap@gentoo.org>2017-11-19 10:12:16 +0100
commitdd3c7f825bf2ec0af4fa332fe7b8fa025fbf3652 (patch)
tree2326ca7d817bcce57a0d790103dc9f5856a8b2bd /games-strategy
parentgames-strategy/hedgewars: Update to EAPI 6 (diff)
downloadgentoo-dd3c7f825bf2ec0af4fa332fe7b8fa025fbf3652.tar.gz
gentoo-dd3c7f825bf2ec0af4fa332fe7b8fa025fbf3652.tar.bz2
gentoo-dd3c7f825bf2ec0af4fa332fe7b8fa025fbf3652.zip
games-strategy/hedgewars: Remove old
Package-Manager: Portage-2.3.14, Repoman-2.3.6
Diffstat (limited to 'games-strategy')
-rw-r--r--games-strategy/hedgewars/hedgewars-0.9.22-r1.ebuild82
1 files changed, 0 insertions, 82 deletions
diff --git a/games-strategy/hedgewars/hedgewars-0.9.22-r1.ebuild b/games-strategy/hedgewars/hedgewars-0.9.22-r1.ebuild
deleted file mode 100644
index f3951c5a717e..000000000000
--- a/games-strategy/hedgewars/hedgewars-0.9.22-r1.ebuild
+++ /dev/null
@@ -1,82 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-# TODO: when physfs-2.1.0 hits the tree, set
-# -DPHYSFS_SYSTEM=ON
-
-EAPI=5
-CMAKE_BUILD_TYPE=Release
-CMAKE_MAKEFILE_GENERATOR=emake
-inherit cmake-utils eutils games
-
-MY_P=${PN}-src-${PV}
-DEB_PATCH_VER=7
-DESCRIPTION="A turn-based strategy, artillery, action and comedy game"
-HOMEPAGE="http://hedgewars.org/"
-SRC_URI="http://www.hedgewars.org/download/releases/${MY_P}.tar.bz2
- mirror://debian/pool/main/h/${PN}/${PN}_${PV}-dfsg-${DEB_PATCH_VER}.debian.tar.xz"
-
-LICENSE="GPL-2 Apache-2.0 FDL-1.3"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE=""
-QA_FLAGS_IGNORED=${GAMES_BINDIR}/hwengine # pascal sucks
-QA_PRESTRIPPED=${GAMES_BINDIR}/hwengine # pascal sucks
-
-RDEPEND="
- dev-lang/lua:0=
- dev-qt/qtcore:4
- dev-qt/qtgui:4
- media-libs/freeglut
- media-libs/libpng:0
- media-libs/libsdl[sound,opengl,video]
- media-libs/sdl-image[png]
- media-libs/sdl-mixer[vorbis]
- media-libs/sdl-net
- media-libs/sdl-ttf
- sys-libs/zlib
- virtual/ffmpeg"
-DEPEND="${RDEPEND}
- >=dev-lang/fpc-2.4"
-RDEPEND="${RDEPEND}
- app-arch/xz-utils
- media-fonts/wqy-zenhei
- >=media-fonts/dejavu-2.28"
-
-S=${WORKDIR}/${MY_P}
-
-src_prepare() {
- EPATCH_SOURCE="${WORKDIR}/debian/patches" \
- epatch $(cat "${WORKDIR}/debian/patches/series")
-}
-
-src_configure() {
- local mycmakeargs=(
- -DMINIMAL_FLAGS=ON
- -DCMAKE_INSTALL_PREFIX="/usr"
- -DDATA_INSTALL_DIR="${GAMES_DATADIR}/${PN}"
- -Dtarget_binary_install_dir="${GAMES_BINDIR}"
- -Dtarget_library_install_dir="$(games_get_libdir)"
- -DNOSERVER=TRUE
- -DCMAKE_VERBOSE_MAKEFILE=TRUE
- -DPHYSFS_SYSTEM=OFF
- )
- cmake-utils_src_configure
-}
-
-src_compile() {
- cmake-utils_src_compile
-}
-
-src_install() {
- DOCS="ChangeLog.txt README" cmake-utils_src_install
- rm -f "${D}"/usr/share/games/hedgewars/Data/Fonts/{DejaVuSans-Bold.ttf,wqy-zenhei.ttc}
- dosym /usr/share/fonts/dejavu/DejaVuSans-Bold.ttf \
- "${GAMES_DATADIR}"/hedgewars/Data/Fonts/DejaVuSans-Bold.ttf
- dosym /usr/share/fonts/wqy-zenhei/wqy-zenhei.ttc \
- "${GAMES_DATADIR}"/hedgewars/Data/Fonts/wqy-zenhei.ttc
- doicon misc/hedgewars.png
- make_desktop_entry ${PN} Hedgewars
- doman man/${PN}.6
- prepgamesdirs
-}