From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CFCC11396DA for ; Sun, 19 Nov 2017 10:51:04 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 019B7E0C3D; Sun, 19 Nov 2017 10:51:04 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C6D7DE0C3D for ; Sun, 19 Nov 2017 10:51:02 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0D99E33FE2A for ; Sun, 19 Nov 2017 10:51:01 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 97AF6A01B for ; Sun, 19 Nov 2017 10:50:59 +0000 (UTC) From: "David Seifert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Seifert" Message-ID: <1511088645.ecb74ef9bfccddfdb11deb0589a4c79a829f7c47.soap@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.23.ebuild X-VCS-Directories: games-strategy/hedgewars/ X-VCS-Committer: soap X-VCS-Committer-Name: David Seifert X-VCS-Revision: ecb74ef9bfccddfdb11deb0589a4c79a829f7c47 X-VCS-Branch: master Date: Sun, 19 Nov 2017 10:50:59 +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: 5790c184-c8cb-49ad-a738-1d8f8b8ab764 X-Archives-Hash: f20215129a594ef861d2e513cdea4ad5 commit: ecb74ef9bfccddfdb11deb0589a4c79a829f7c47 Author: David Seifert gentoo org> AuthorDate: Sun Nov 19 10:50:12 2017 +0000 Commit: David Seifert gentoo org> CommitDate: Sun Nov 19 10:50:45 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ecb74ef9 games-strategy/hedgewars: Version bump to 0.9.23 Closes: https://bugs.gentoo.org/637690 Package-Manager: Portage-2.3.14, Repoman-2.3.6 games-strategy/hedgewars/Manifest | 1 + games-strategy/hedgewars/hedgewars-0.9.23.ebuild | 85 ++++++++++++++++++++++++ 2 files changed, 86 insertions(+) diff --git a/games-strategy/hedgewars/Manifest b/games-strategy/hedgewars/Manifest index 1e4e92d735b..5c93a9bba44 100644 --- a/games-strategy/hedgewars/Manifest +++ b/games-strategy/hedgewars/Manifest @@ -1,2 +1,3 @@ DIST hedgewars-src-0.9.22.tar.bz2 160103313 SHA256 b699c8971ff420c3edd6533527ae2e99040f1e79207c9140826945bcf0e62192 SHA512 753cccef09b725048d9e66988b03859a12e577a601656cc2b3dbb2755c59ed9ae4d4c88c9247238408fc76d881c921593a694a58a500b3d5b8c9a4c0cfb053ac WHIRLPOOL c8003da8d1435f4bece344a593bda9b214a24b35ee662310245e13cabc5f35820a38f9ac0883ba5543db413189491f6c3da37b7452034bfa9fb04e8936f52e27 +DIST hedgewars-src-0.9.23.tar.bz2 173042171 SHA256 da2e4908042be56d1c0f3cb80a355bde7f0a49f675b050a03228cc3fb22aae89 SHA512 b9bcd6d32c7bb97c2766aacbc759dd48b7a4c7a72003ab2bf31cdfac94a6e08de740a689458c276d3c35b90e89a1af6c200f98f463e9554e8b176b5706dc3090 WHIRLPOOL 3a623ac8810fb8ced80cea65b71d1a64cc3cb5b4e65356b3d2552f21784fd98db751706c8f48caa5e9648b676e274d249361bfb1a4da715ddd568bbc188619c8 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.23.ebuild b/games-strategy/hedgewars/hedgewars-0.9.23.ebuild new file mode 100644 index 00000000000..4d270e4dde1 --- /dev/null +++ b/games-strategy/hedgewars/hedgewars-0.9.23.ebuild @@ -0,0 +1,85 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +CMAKE_MAKEFILE_GENERATOR=emake + +inherit cmake-utils eutils xdg-utils + +MY_P=${PN}-src-${PV} +DEB_PATCH_VER=7 + +DESCRIPTION="A turn-based strategy, artillery, action and comedy game" +HOMEPAGE="https://www.hedgewars.org/" +SRC_URI="https://www.hedgewars.org/download/releases/${MY_P}.tar.bz2 + mirror://debian/pool/main/h/${PN}/${PN}_0.9.22-dfsg-${DEB_PATCH_VER}.debian.tar.xz" + +LICENSE="GPL-2 Apache-2.0 FDL-1.3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="libav" + +QA_FLAGS_IGNORED="/usr/bin/hwengine" # pascal sucks +QA_PRESTRIPPED="/usr/bin/hwengine" # pascal sucks + +CDEPEND=" + >=dev-games/physfs-3.0.1 + dev-lang/lua:0= + dev-qt/qtcore:4 + dev-qt/qtgui:4 + media-libs/libpng:0= + media-libs/libsdl2:= + media-libs/sdl2-image:= + media-libs/sdl2-mixer:= + media-libs/sdl2-net:= + media-libs/sdl2-ttf:= + sys-libs/zlib:= + libav? ( media-video/libav:= ) + !libav? ( media-video/ffmpeg:= )" +DEPEND="${CDEPEND} + >=dev-lang/fpc-2.4" +RDEPEND="${CDEPEND} + app-arch/xz-utils + media-fonts/wqy-zenhei + >=media-fonts/dejavu-2.28" + +S=${WORKDIR}/${MY_P} +PATCHES=( "${FILESDIR}"/${PN}-0.9.22-rpath-fix.patch ) + +src_configure() { + local mycmakeargs=( + -DMINIMAL_FLAGS=ON + -DDATA_INSTALL_DIR="${EPREFIX}/usr/share/${PN}" + -Dtarget_binary_install_dir="${EPREFIX}/usr/bin" + -Dtarget_library_install_dir="${EPREFIX}/usr/$(get_libdir)" + -DNOSERVER=TRUE + -DCMAKE_VERBOSE_MAKEFILE=TRUE + -DPHYSFS_SYSTEM=ON + # upstream sets RPATH that leafs to weird breakage + # https://bugzilla.redhat.com/show_bug.cgi?id=1200193 + -DCMAKE_SKIP_RPATH=ON + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + + rm -f "${ED%/}"/usr/share/games/hedgewars/Data/Fonts/{DejaVuSans-Bold.ttf,wqy-zenhei.ttc} || die + dosym ../../../fonts/dejavu/DejaVuSans-Bold.ttf \ + /usr/share/${PN}/Data/Fonts/DejaVuSans-Bold.ttf + dosym ../../../fonts/wqy-zenhei/wqy-zenhei.ttc \ + /usr/share/${PN}/Data/Fonts/wqy-zenhei.ttc + doicon misc/hedgewars.png + make_desktop_entry ${PN} Hedgewars + doman man/${PN}.6 +} + +pkg_postinst() { + xdg_desktop_database_update +} + +pkg_postrm() { + xdg_desktop_database_update +}