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 1C14513832E for ; Fri, 5 Aug 2016 00:23:19 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 91885E0B08; Fri, 5 Aug 2016 00:23:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9C516E0B03 for ; Fri, 5 Aug 2016 00:23:09 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id CDD9B340C37 for ; Fri, 5 Aug 2016 00:23:08 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8B2662456 for ; Fri, 5 Aug 2016 00:23:05 +0000 (UTC) From: "Austin English" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Austin English" Message-ID: <1470356562.2d48e29f876a48d8f821a3d1cda0009ef4966b8e.wizardedit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-board/pasang-emas/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-board/pasang-emas/pasang-emas-3.1.0-r1.ebuild X-VCS-Directories: games-board/pasang-emas/ X-VCS-Committer: wizardedit X-VCS-Committer-Name: Austin English X-VCS-Revision: 2d48e29f876a48d8f821a3d1cda0009ef4966b8e X-VCS-Branch: master Date: Fri, 5 Aug 2016 00:23:05 +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: bf6dd244-249f-4d31-8135-d2d0424e335c X-Archives-Hash: dea17d1ab896eb6812139315ace0c8e9 commit: 2d48e29f876a48d8f821a3d1cda0009ef4966b8e Author: Austin English gentoo org> AuthorDate: Thu Aug 4 18:35:02 2016 +0000 Commit: Austin English gentoo org> CommitDate: Fri Aug 5 00:22:42 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d48e29f games-board/pasang-emas: remove deprecated games eclass Also update to EAPI 6 Gentoo-Bug: https://bugs.gentoo.org/574082 Package-Manager: portage-2.3.0 .../pasang-emas/pasang-emas-3.1.0-r1.ebuild | 70 ++++++++++++++++++++++ 1 file changed, 70 insertions(+) diff --git a/games-board/pasang-emas/pasang-emas-3.1.0-r1.ebuild b/games-board/pasang-emas/pasang-emas-3.1.0-r1.ebuild new file mode 100644 index 0000000..1347235 --- /dev/null +++ b/games-board/pasang-emas/pasang-emas-3.1.0-r1.ebuild @@ -0,0 +1,70 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit eutils gnome2-utils + +DESCRIPTION="A traditional game of Brunei" +HOMEPAGE="http://pasang-emas.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2 + extras? ( mirror://sourceforge/${PN}/pasang-emas-themes-1.0.tar.bz2 + mirror://sourceforge/${PN}/pet-marble.tar.bz2 + mirror://sourceforge/${PN}/pet-fragrance.tar.bz2 )" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="extras nls" + +RDEPEND="app-text/gnome-doc-utils + >=x11-libs/gtk+-2.18.2:2 + virtual/libintl" +DEPEND="${RDEPEND} + app-text/rarian + nls? ( sys-devel/gettext )" + +PATCHES=( + "${FILESDIR}"/${P}-build.patch +) + +src_prepare() { + default + sed -i \ + -e '/Encoding/d' \ + -e '/Icon/s:\.png::' \ + data/pasang-emas.desktop.in || die + gnome2_omf_fix +} + +src_configure() { + econf \ + --localedir=/usr/share/locale \ + --with-omf-dir=/usr/share/omf \ + --with-help-dir=/usr/share/gnome/help \ + $(use_enable nls) +} + +src_install() { + default + if use extras; then + insinto /usr/share/${PN}/themes + doins -r \ + "${WORKDIR}"/marble \ + "${WORKDIR}"/pasang-emas-themes-1.0/{conteng,kaca} \ + "${WORKDIR}"/fragrance + fi + use nls || rm -rf "${D}"usr/share/locale +} + +pkg_preinst() { + gnome2_scrollkeeper_savelist +} + +pkg_postinst() { + gnome2_scrollkeeper_update +} + +pkg_postrm() { + gnome2_scrollkeeper_update +}