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 C6C0E1384B4 for ; Fri, 27 Nov 2015 18:27:26 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2C51821C128; Fri, 27 Nov 2015 18:27:24 +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 B2E9121C128 for ; Fri, 27 Nov 2015 18:27:23 +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 AFE6533FFDD for ; Fri, 27 Nov 2015 18:27:22 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E4D649AE for ; Fri, 27 Nov 2015 18:27: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: <1448648829.6d173b18605a8b764c452ef44507f0e7fe5d11d3.mr_bones_@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-puzzle/enigma/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-puzzle/enigma/enigma-1.21-r2.ebuild X-VCS-Directories: games-puzzle/enigma/ X-VCS-Committer: mr_bones_ X-VCS-Committer-Name: Michael Sterrett X-VCS-Revision: 6d173b18605a8b764c452ef44507f0e7fe5d11d3 X-VCS-Branch: master Date: Fri, 27 Nov 2015 18:27: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: 6cf10884-6a0d-4b60-a9e7-ef723ae3de10 X-Archives-Hash: c6f8769fe2d913371b1abb732c3fd023 commit: 6d173b18605a8b764c452ef44507f0e7fe5d11d3 Author: Michael Sterrett gentoo org> AuthorDate: Fri Nov 27 18:11:46 2015 +0000 Commit: Michael Sterrett gentoo org> CommitDate: Fri Nov 27 18:27:09 2015 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d173b18 rev bump to add enet slot dep Package-Manager: portage-2.2.20.1 games-puzzle/enigma/enigma-1.21-r2.ebuild | 74 +++++++++++++++++++++++++++++++ 1 file changed, 74 insertions(+) diff --git a/games-puzzle/enigma/enigma-1.21-r2.ebuild b/games-puzzle/enigma/enigma-1.21-r2.ebuild new file mode 100644 index 0000000..ccf4dd6 --- /dev/null +++ b/games-puzzle/enigma/enigma-1.21-r2.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +inherit autotools eutils gnome2-utils games + +DESCRIPTION="puzzle game similar to Oxyd" +HOMEPAGE="http://www.nongnu.org/enigma/" +SRC_URI="mirror://sourceforge/enigma-game/${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="nls" + +COMMON_DEPS="media-libs/sdl-ttf + media-libs/libsdl[video] + media-libs/sdl-mixer + media-libs/sdl-image[jpeg,png] + media-libs/libpng:0= + sys-libs/zlib + net-misc/curl + || ( >=dev-libs/xerces-c-3[icu] >=dev-libs/xerces-c-3[-icu,-iconv] ) + net-libs/enet:= + nls? ( virtual/libintl )" +DEPEND="${COMMON_DEPS} + sys-devel/gettext" +RDEPEND="${COMMON_DEPS} + media-fonts/dejavu + x11-misc/xdg-utils" + +src_prepare() { + cp /usr/share/gettext/config.rpath . + epatch "${FILESDIR}"/${P}-build.patch + sed -i \ + -e "s:DOCDIR:\"/usr/share/doc/${P}/html\":" \ + src/main.cc || die + eautoreconf +} + +src_configure() { + egamesconf \ + --with-system-enet \ + $(use_enable nls) +} + +src_install() { + DOCS="ACKNOWLEDGEMENTS AUTHORS CHANGES README doc/HACKING" \ + default + dosym \ + /usr/share/fonts/dejavu/DejaVuSansCondensed.ttf \ + "${GAMES_DATADIR}"/${PN}/fonts/DejaVuSansCondensed.ttf + dosym \ + /usr/share/fonts/dejavu/DejaVuSans.ttf \ + "${GAMES_DATADIR}"/${PN}/fonts/vera_sans.ttf + dohtml -r doc/* + doman doc/enigma.6 + prepgamesdirs +} + +pkg_preinst() { + games_pkg_preinst + gnome2_icon_savelist +} + +pkg_postinst() { + games_pkg_postinst + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +}