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 747621382C5 for ; Tue, 1 May 2018 19:37:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 611A1E0AA4; Tue, 1 May 2018 19:37:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 44533E0AA0 for ; Tue, 1 May 2018 19:37:44 +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 7C58D335C92 for ; Tue, 1 May 2018 19:37:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E14942BA for ; Tue, 1 May 2018 19:37:39 +0000 (UTC) From: "Pacho Ramos" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Pacho Ramos" Message-ID: <1525203352.be0919e950aa596d2ca2e7984f7d89bc08bba1f4.pacho@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-strategy/crimson/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-strategy/crimson/crimson-0.5.3-r1.ebuild X-VCS-Directories: games-strategy/crimson/ X-VCS-Committer: pacho X-VCS-Committer-Name: Pacho Ramos X-VCS-Revision: be0919e950aa596d2ca2e7984f7d89bc08bba1f4 X-VCS-Branch: master Date: Tue, 1 May 2018 19:37:39 +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: 3ae7d7af-16b3-4671-8e58-e41b373f1693 X-Archives-Hash: cafca558d74902566e94f6c2185420f8 commit: be0919e950aa596d2ca2e7984f7d89bc08bba1f4 Author: Pacho Ramos gentoo org> AuthorDate: Tue May 1 18:51:49 2018 +0000 Commit: Pacho Ramos gentoo org> CommitDate: Tue May 1 19:35:52 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=be0919e9 games-strategy/crimson: Stop using games.eclass Package-Manager: Portage-2.3.31, Repoman-2.3.9 games-strategy/crimson/crimson-0.5.3-r1.ebuild | 49 ++++++++++++++++++++++++++ 1 file changed, 49 insertions(+) diff --git a/games-strategy/crimson/crimson-0.5.3-r1.ebuild b/games-strategy/crimson/crimson-0.5.3-r1.ebuild new file mode 100644 index 00000000000..ad228438eb3 --- /dev/null +++ b/games-strategy/crimson/crimson-0.5.3-r1.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit desktop + +DESCRIPTION="Tactical war game in the tradition of Battle Isle" +HOMEPAGE="http://crimson.seul.org/" +SRC_URI="http://crimson.seul.org/files/${P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test zlib" + +RDEPEND=" + media-libs/libsdl[sound,video] + media-libs/sdl-mixer + media-libs/sdl-ttf + media-libs/sdl-net + zlib? ( sys-libs/zlib )" +DEPEND="${RDEPEND} + dev-libs/libxslt + test? ( + app-text/docbook-xml-dtd:4.2 + dev-libs/libxml2 + ) +" + +src_configure() { + econf \ + --enable-sound \ + --enable-network \ + $(use_with zlib) \ + --enable-cfed \ + --enable-bi2cf \ + --enable-comet \ + --enable-cf2bmp +} + +src_install() { + emake \ + DESTDIR="${D}" \ + pixmapsdir="/usr/share/pixmaps" \ + install + einstalldocs + rm -rf "${ED}/usr/share/applications" + make_desktop_entry crimson "Crimson Fields" +}