diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2014-08-27 07:51:08 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2014-08-27 07:51:08 +0000 |
commit | 2f4bf916d40207c9361beecb1032cb4af201de78 (patch) | |
tree | ad9020685faff7d9c0788922882e013ac2420de4 /games-strategy/hedgewars | |
parent | Revision bump for last correction in files/lvm2-2.02.106-pthread-pkgconfig.pa... (diff) | |
download | gentoo-2-2f4bf916d40207c9361beecb1032cb4af201de78.tar.gz gentoo-2-2f4bf916d40207c9361beecb1032cb4af201de78.tar.bz2 gentoo-2-2f4bf916d40207c9361beecb1032cb4af201de78.zip |
version bump
(Portage version: 2.2.8-r1/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-strategy/hedgewars')
-rw-r--r-- | games-strategy/hedgewars/ChangeLog | 8 | ||||
-rw-r--r-- | games-strategy/hedgewars/hedgewars-0.9.20.5.ebuild | 74 |
2 files changed, 81 insertions, 1 deletions
diff --git a/games-strategy/hedgewars/ChangeLog b/games-strategy/hedgewars/ChangeLog index 8559bd571191..0a43125013be 100644 --- a/games-strategy/hedgewars/ChangeLog +++ b/games-strategy/hedgewars/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-strategy/hedgewars # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-strategy/hedgewars/ChangeLog,v 1.59 2014/08/26 05:43:34 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-strategy/hedgewars/ChangeLog,v 1.60 2014/08/27 07:51:08 mr_bones_ Exp $ + +*hedgewars-0.9.20.5 (27 Aug 2014) + + 27 Aug 2014; Michael Sterrett <mr_bones_@gentoo.org> + +hedgewars-0.9.20.5.ebuild: + version bump 26 Aug 2014; Michael Sterrett <mr_bones_@gentoo.org> -files/hedgewars-0.9.19-de_translation_fix.patch, diff --git a/games-strategy/hedgewars/hedgewars-0.9.20.5.ebuild b/games-strategy/hedgewars/hedgewars-0.9.20.5.ebuild new file mode 100644 index 000000000000..478535f8531c --- /dev/null +++ b/games-strategy/hedgewars/hedgewars-0.9.20.5.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-strategy/hedgewars/hedgewars-0.9.20.5.ebuild,v 1.1 2014/08/27 07:51:08 mr_bones_ Exp $ + +# TODO: when physfs-2.1.0 hits the tree, set +# -DPHYSFS_SYSTEM=ON + +EAPI=5 +CMAKE_BUILD_TYPE=Release +inherit cmake-utils eutils games + +MY_P=${PN}-src-${PV} +DESCRIPTION="A turn-based strategy, artillery, action and comedy game" +HOMEPAGE="http://hedgewars.org/" +SRC_URI="http://download.gna.org/hedgewars/${MY_P}.tar.bz2" + +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 + 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} + media-fonts/wqy-zenhei + >=media-fonts/dejavu-2.28" + +S=${WORKDIR}/${PN}-src-0.9.20 + +src_configure() { + local mycmakeargs=( + -DMINIMAL_FLAGS=ON + -DCMAKE_INSTALL_PREFIX="${GAMES_PREFIX}" + -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 +} |