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 9DCEC138330 for ; Wed, 7 Sep 2016 22:16:28 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D396121C0E0; Wed, 7 Sep 2016 22:16:25 +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 29D2A21C09E for ; Wed, 7 Sep 2016 22:16:25 +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 DA9F0340B3F for ; Wed, 7 Sep 2016 22:16:23 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0A9B1247B for ; Wed, 7 Sep 2016 22:16:22 +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: <1473286574.98f4a9647c46af365e12962a5c235b632f9e928e.wizardedit@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: games-board/gmchess/files/, games-board/gmchess/ X-VCS-Repository: repo/gentoo X-VCS-Files: games-board/gmchess/files/gmchess-0.29.6-gentoo-r1.patch games-board/gmchess/gmchess-0.29.6-r2.ebuild X-VCS-Directories: games-board/gmchess/ games-board/gmchess/files/ X-VCS-Committer: wizardedit X-VCS-Committer-Name: Austin English X-VCS-Revision: 98f4a9647c46af365e12962a5c235b632f9e928e X-VCS-Branch: master Date: Wed, 7 Sep 2016 22:16:22 +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: d3f8d3fa-a26c-4b8b-9605-3957c024eadd X-Archives-Hash: dc8710a31e029739b1ae0906ed77b209 commit: 98f4a9647c46af365e12962a5c235b632f9e928e Author: Austin English gentoo org> AuthorDate: Wed Sep 7 21:52:56 2016 +0000 Commit: Austin English gentoo org> CommitDate: Wed Sep 7 22:16:14 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=98f4a964 games-board/gmchess: remove deprecated games eclass Also update to EAPI 6 Gentoo-Bug: https://bugs.gentoo.org/574082 Package-Manager: portage-2.3.0 .../gmchess/files/gmchess-0.29.6-gentoo-r1.patch | 25 ++++++++++ games-board/gmchess/gmchess-0.29.6-r2.ebuild | 58 ++++++++++++++++++++++ 2 files changed, 83 insertions(+) diff --git a/games-board/gmchess/files/gmchess-0.29.6-gentoo-r1.patch b/games-board/gmchess/files/gmchess-0.29.6-gentoo-r1.patch new file mode 100644 index 00000000..6ef9904 --- /dev/null +++ b/games-board/gmchess/files/gmchess-0.29.6-gentoo-r1.patch @@ -0,0 +1,25 @@ +diff -ru gmchess-0.29.6.orig/configure.in gmchess-0.29.6/configure.in +--- gmchess-0.29.6.orig/configure.in 2011-11-28 07:22:56.000000000 -0500 ++++ gmchess-0.29.6/configure.in 2013-05-13 21:30:38.103817044 -0400 +@@ -4,7 +4,7 @@ + AC_PREREQ([2.63]) + AC_INIT(gmchess, 0.29.6, lerosua@gmail.com) + AC_CONFIG_SRCDIR([src/Pgnfile.cc]) +-AM_CONFIG_HEADER([config.h]) ++AC_CONFIG_HEADERS([config.h]) + AM_INIT_AUTOMAKE(gmchess,0.29.6) + + +diff -ru gmchess-0.29.6.orig/data/gmchess.desktop.in gmchess-0.29.6/data/gmchess.desktop.in +--- gmchess-0.29.6.orig/data/gmchess.desktop.in 2009-09-07 08:08:47.000000000 -0400 ++++ gmchess-0.29.6/data/gmchess.desktop.in 2013-05-13 21:30:19.444462390 -0400 +@@ -1,4 +1,3 @@ +- + [Desktop Entry] + Name=Chinese chess + Name[zh_CN]=天书棋谈 +@@ -10,4 +9,3 @@ + Type=Application + Categories=GNOME;GTK;Game;BoardGame; + StartupNotify=true +-Encoding=UTF-8 diff --git a/games-board/gmchess/gmchess-0.29.6-r2.ebuild b/games-board/gmchess/gmchess-0.29.6-r2.ebuild new file mode 100644 index 00000000..f464f20 --- /dev/null +++ b/games-board/gmchess/gmchess-0.29.6-r2.ebuild @@ -0,0 +1,58 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit autotools flag-o-matic libtool gnome2-utils + +DESCRIPTION="Chinese chess with gtkmm and c++" +HOMEPAGE="https://code.google.com/p/gmchess/" +SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.bz2" +RESTRICT="test" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="dev-cpp/gtkmm:2.4" +RDEPEND=${DEPEND} + +PATCHES=( + "${FILESDIR}"/${P}-gentoo-r1.patch +) + +src_prepare() { + default + mv configure.{in,ac} + eautoreconf +} + +src_configure() { + append-cxxflags -std=c++11 + econf \ + --disable-static \ + --localedir='/usr/share/locale' +} + +src_install() { + emake DESTDIR="${D}" \ + itlocaledir='/usr/share/locale' \ + pixmapsdir='/usr/share/pixmaps' \ + desktopdir='/usr/share/applications' \ + install + dodoc AUTHORS NEWS README + prune_libtool_files +} + +pkg_preinst() { + gnome2_icon_savelist +} + +pkg_postinst() { + gnome2_icon_cache_update +} + +pkg_postrm() { + gnome2_icon_cache_update +}