public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michael Sterrett" <mr_bones_@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/hedgewars/
Date: Wed,  6 Apr 2016 19:08:41 +0000 (UTC)	[thread overview]
Message-ID: <1459969706.cb980c929bbfca72a915fb26a15dc36e4fc98539.mr_bones_@gentoo> (raw)

commit:     cb980c929bbfca72a915fb26a15dc36e4fc98539
Author:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
AuthorDate: Wed Apr  6 18:15:38 2016 +0000
Commit:     Michael Sterrett <mr_bones_ <AT> gentoo <DOT> org>
CommitDate: Wed Apr  6 19:08:26 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cb980c92

games-strategy/hedgewars: rev bump to add load of debian patches

Package-Manager: portage-2.2.26

 games-strategy/hedgewars/Manifest                  |  1 +
 .../hedgewars/hedgewars-0.9.22-r1.ebuild           | 83 ++++++++++++++++++++++
 2 files changed, 84 insertions(+)

diff --git a/games-strategy/hedgewars/Manifest b/games-strategy/hedgewars/Manifest
index 0c96998..1e4e92d 100644
--- a/games-strategy/hedgewars/Manifest
+++ b/games-strategy/hedgewars/Manifest
@@ -1 +1,2 @@
 DIST hedgewars-src-0.9.22.tar.bz2 160103313 SHA256 b699c8971ff420c3edd6533527ae2e99040f1e79207c9140826945bcf0e62192 SHA512 753cccef09b725048d9e66988b03859a12e577a601656cc2b3dbb2755c59ed9ae4d4c88c9247238408fc76d881c921593a694a58a500b3d5b8c9a4c0cfb053ac WHIRLPOOL c8003da8d1435f4bece344a593bda9b214a24b35ee662310245e13cabc5f35820a38f9ac0883ba5543db413189491f6c3da37b7452034bfa9fb04e8936f52e27
+DIST hedgewars_0.9.22-dfsg-7.debian.tar.xz 79016 SHA256 7c57376a4f85ff33bf9345b46a4df72d70fe9824b8fd7df68b62107dbb8bb5cb SHA512 011d44989b6fcad9ae7a20fcb11a4e2b9a75d1ace6c6e4c2139cd7e67f13ea21d90b6c8a7afb76fa9a06c32537b00b8b4b7689967b3019300e93a7a6fe3e0fbf WHIRLPOOL a8a769b5275b6adec26dce48c113c4a5eb1c69eee9a01e181ec41b611e999a33349bad2b52eaf72099b1dbfce14a1af6e559aaceb3e2ac98ab04065c61bffca7

diff --git a/games-strategy/hedgewars/hedgewars-0.9.22-r1.ebuild b/games-strategy/hedgewars/hedgewars-0.9.22-r1.ebuild
new file mode 100644
index 0000000..a98a8d9
--- /dev/null
+++ b/games-strategy/hedgewars/hedgewars-0.9.22-r1.ebuild
@@ -0,0 +1,83 @@
+# Copyright 1999-2016 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}
+DEB_PATCH_VER=7
+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
+	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
+}


             reply	other threads:[~2016-04-06 19:08 UTC|newest]

Thread overview: 31+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-04-06 19:08 Michael Sterrett [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-05-26 19:43 [gentoo-commits] repo/gentoo:master commit in: games-strategy/hedgewars/ Andreas Sturmlechner
2023-03-11 16:26 Sam James
2021-01-30 12:11 Sergei Trofimovich
2021-01-30 12:11 Sergei Trofimovich
2020-04-26  7:44 Mikle Kolyada
2019-10-18 22:09 James Le Cuirot
2019-10-14 13:59 Lars Wendler
2019-01-09 11:52 Andreas Sturmlechner
2019-01-03 14:40 Andreas Sturmlechner
2019-01-03 14:40 Andreas Sturmlechner
2019-01-03 14:40 Andreas Sturmlechner
2018-04-19  8:00 Lars Wendler
2018-04-17  9:39 Lars Wendler
2018-03-29 18:57 Andreas Sturmlechner
2018-03-29 18:57 Andreas Sturmlechner
2018-03-07 12:58 Andreas Sturmlechner
2018-03-07 12:58 Andreas Sturmlechner
2018-03-07 12:58 Andreas Sturmlechner
2018-02-27 21:06 Andreas Sturmlechner
2017-12-21  1:57 David Seifert
2017-11-19 18:24 David Seifert
2017-11-19 10:50 David Seifert
2017-11-19  9:12 David Seifert
2017-11-19  9:12 David Seifert
2017-06-13  3:33 NP Hardass
2016-11-03  9:54 Michael Palimaka
2016-05-13 14:51 Agostino Sarubbo
2015-12-29  7:41 Michael Sterrett
2015-12-07 10:02 Agostino Sarubbo
2015-11-05  5:45 Michael Sterrett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1459969706.cb980c929bbfca72a915fb26a15dc36e4fc98539.mr_bones_@gentoo \
    --to=mr_bones_@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox