From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9230A1384B4 for ; Thu, 5 Nov 2015 05:45:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1F314E080A; Thu, 5 Nov 2015 05:45:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id A479EE080A for ; Thu, 5 Nov 2015 05:45:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 3E6983408EC for ; Thu, 5 Nov 2015 05:45:22 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E72BF2075 for ; Thu, 5 Nov 2015 05:45:20 +0000 (UTC) From: "Michael Sterrett" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michael Sterrett" Message-ID: <1446702055.88290491babbc75dbc02b1b4475c4aa4daa1f476.mr_bones_@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/hedgewars/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-strategy/hedgewars/Manifest games-strategy/hedgewars/hedgewars-0.9.22.ebuild X-VCS-Directories: games-strategy/hedgewars/ X-VCS-Committer: mr_bones_ X-VCS-Committer-Name: Michael Sterrett X-VCS-Revision: 88290491babbc75dbc02b1b4475c4aa4daa1f476 X-VCS-Branch: master Date: Thu, 5 Nov 2015 05:45:20 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 4ac2c298-5978-42bd-84f4-99bac21d80e4 X-Archives-Hash: 0b202d633ec256d9755d50b27e54e701 commit: 88290491babbc75dbc02b1b4475c4aa4daa1f476 Author: Michael Sterrett gentoo org> AuthorDate: Thu Nov 5 05:40:55 2015 +0000 Commit: Michael Sterrett gentoo org> CommitDate: Thu Nov 5 05:40:55 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=88290491 version bump (bug #564844) Package-Manager: portage-2.2.20.1 games-strategy/hedgewars/Manifest | 1 + games-strategy/hedgewars/hedgewars-0.9.22.ebuild | 75 ++++++++++++++++++++++++ 2 files changed, 76 insertions(+) diff --git a/games-strategy/hedgewars/Manifest b/games-strategy/hedgewars/Manifest index f5f120c..82aeb84 100644 --- a/games-strategy/hedgewars/Manifest +++ b/games-strategy/hedgewars/Manifest @@ -1 +1,2 @@ DIST hedgewars-src-0.9.21.1.tar.bz2 160250791 SHA256 590a9458d2123c5550d5eb39edfed28d0663703d76e13c8987237c92ca41f3f8 SHA512 4b9a2ab79d9ddb064fddaa2a4dbc895a11c0cbc52ef9e5f56322a63821fdfa4a31d6e268510a9163bd57bd89dec20be30e0f5ef992b41dc473c4684bbb6a48be WHIRLPOOL 19242ff98d3994273c6b0c7e8cfbbb5f7338061c574b4bfe8a77ed085a44c618d1ce564b295e51b400ece6f51bcbc6e211c59278382fadb3f6a26e113c2dc4b4 +DIST hedgewars-src-0.9.22.tar.bz2 160103313 SHA256 b699c8971ff420c3edd6533527ae2e99040f1e79207c9140826945bcf0e62192 SHA512 753cccef09b725048d9e66988b03859a12e577a601656cc2b3dbb2755c59ed9ae4d4c88c9247238408fc76d881c921593a694a58a500b3d5b8c9a4c0cfb053ac WHIRLPOOL c8003da8d1435f4bece344a593bda9b214a24b35ee662310245e13cabc5f35820a38f9ac0883ba5543db413189491f6c3da37b7452034bfa9fb04e8936f52e27 diff --git a/games-strategy/hedgewars/hedgewars-0.9.22.ebuild b/games-strategy/hedgewars/hedgewars-0.9.22.ebuild new file mode 100644 index 0000000..6f2c43b --- /dev/null +++ b/games-strategy/hedgewars/hedgewars-0.9.22.ebuild @@ -0,0 +1,75 @@ +# 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 +CMAKE_MAKEFILE_GENERATOR=emake +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: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} + media-fonts/wqy-zenhei + >=media-fonts/dejavu-2.28" + +S=${WORKDIR}/${MY_P} + +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 +}