diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 13:49:04 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2015-08-08 17:38:18 -0700 |
commit | 56bd759df1d0c750a065b8c845e93d5dfa6b549d (patch) | |
tree | 3f91093cdb475e565ae857f1c5a7fd339e2d781e /games-strategy/hedgewars | |
download | gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.gz gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.tar.bz2 gentoo-56bd759df1d0c750a065b8c845e93d5dfa6b549d.zip |
proj/gentoo: Initial commit
This commit represents a new era for Gentoo:
Storing the gentoo-x86 tree in Git, as converted from CVS.
This commit is the start of the NEW history.
Any historical data is intended to be grafted onto this point.
Creation process:
1. Take final CVS checkout snapshot
2. Remove ALL ChangeLog* files
3. Transform all Manifests to thin
4. Remove empty Manifests
5. Convert all stale $Header$/$Id$ CVS keywords to non-expanded Git $Id$
5.1. Do not touch files with -kb/-ko keyword flags.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
X-Thanks: Alec Warner <antarus@gentoo.org> - did the GSoC 2006 migration tests
X-Thanks: Robin H. Johnson <robbat2@gentoo.org> - infra guy, herding this project
X-Thanks: Nguyen Thai Ngoc Duy <pclouds@gentoo.org> - Former Gentoo developer, wrote Git features for the migration
X-Thanks: Brian Harring <ferringb@gentoo.org> - wrote much python to improve cvs2svn
X-Thanks: Rich Freeman <rich0@gentoo.org> - validation scripts
X-Thanks: Patrick Lauer <patrick@gentoo.org> - Gentoo dev, running new 2014 work in migration
X-Thanks: Michał Górny <mgorny@gentoo.org> - scripts, QA, nagging
X-Thanks: All of other Gentoo developers - many ideas and lots of paint on the bikeshed
Diffstat (limited to 'games-strategy/hedgewars')
-rw-r--r-- | games-strategy/hedgewars/Manifest | 1 | ||||
-rw-r--r-- | games-strategy/hedgewars/hedgewars-0.9.21.1.ebuild | 74 | ||||
-rw-r--r-- | games-strategy/hedgewars/metadata.xml | 5 |
3 files changed, 80 insertions, 0 deletions
diff --git a/games-strategy/hedgewars/Manifest b/games-strategy/hedgewars/Manifest new file mode 100644 index 000000000000..f5f120cc6101 --- /dev/null +++ b/games-strategy/hedgewars/Manifest @@ -0,0 +1 @@ +DIST hedgewars-src-0.9.21.1.tar.bz2 160250791 SHA256 590a9458d2123c5550d5eb39edfed28d0663703d76e13c8987237c92ca41f3f8 SHA512 4b9a2ab79d9ddb064fddaa2a4dbc895a11c0cbc52ef9e5f56322a63821fdfa4a31d6e268510a9163bd57bd89dec20be30e0f5ef992b41dc473c4684bbb6a48be WHIRLPOOL 19242ff98d3994273c6b0c7e8cfbbb5f7338061c574b4bfe8a77ed085a44c618d1ce564b295e51b400ece6f51bcbc6e211c59278382fadb3f6a26e113c2dc4b4 diff --git a/games-strategy/hedgewars/hedgewars-0.9.21.1.ebuild b/games-strategy/hedgewars/hedgewars-0.9.21.1.ebuild new file mode 100644 index 000000000000..b2210121e85a --- /dev/null +++ b/games-strategy/hedgewars/hedgewars-0.9.21.1.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +# 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-${PV%.*} + +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 +} diff --git a/games-strategy/hedgewars/metadata.xml b/games-strategy/hedgewars/metadata.xml new file mode 100644 index 000000000000..d3c2cc926f0b --- /dev/null +++ b/games-strategy/hedgewars/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<herd>games</herd> +</pkgmetadata> |