public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Austin English" <wizardedit@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-board/scid/
Date: Mon,  1 Aug 2016 21:10:04 +0000 (UTC)	[thread overview]
Message-ID: <1470085793.4c5e86df37efa8c86ecb01bcb8ed60b6e8acb809.wizardedit@gentoo> (raw)

commit:     4c5e86df37efa8c86ecb01bcb8ed60b6e8acb809
Author:     Austin English <wizardedit <AT> gentoo <DOT> org>
AuthorDate: Mon Aug  1 21:08:33 2016 +0000
Commit:     Austin English <wizardedit <AT> gentoo <DOT> org>
CommitDate: Mon Aug  1 21:09:53 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c5e86df

games-board/scid: remove deprecated games eclass

Also update to EAPI 6

Gentoo-Bug: https://bugs.gentoo.org/574082

Package-Manager: portage-2.3.0

 games-board/scid/scid-4.6.2-r1.ebuild | 99 +++++++++++++++++++++++++++++++++++
 1 file changed, 99 insertions(+)

diff --git a/games-board/scid/scid-4.6.2-r1.ebuild b/games-board/scid/scid-4.6.2-r1.ebuild
new file mode 100644
index 0000000..4699cfc
--- /dev/null
+++ b/games-board/scid/scid-4.6.2-r1.ebuild
@@ -0,0 +1,99 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+PYTHON_COMPAT=( python2_7 )
+inherit eutils toolchain-funcs gnome2-utils python-any-r1
+
+DESCRIPTION="a free chess database application"
+HOMEPAGE="http://scid.sourceforge.net/"
+SRC_URI="mirror://sourceforge/scid/${P}.zip
+	mirror://sourceforge/scid/spelling.zip
+	mirror://sourceforge/scid/ratings.zip
+	mirror://sourceforge/scid/photos.zip
+	mirror://sourceforge/scid/scidlet40k.zip"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86"
+IUSE=""
+
+CDEPEND="dev-lang/tk:0
+	dev-tcltk/tkimg
+	>=sys-libs/zlib-1.1.3"
+RDEPEND="${CDEPEND}
+	!games-board/chessdb"
+DEPEND="${CDEPEND}
+	${PYTHON_DEPS}
+	app-arch/unzip"
+
+pkg_setup() {
+	python-any-r1_pkg_setup
+}
+
+src_unpack() {
+	default
+	mv scid-src ${P} || die
+}
+
+PATCHES=(
+	"${FILESDIR}"/${P}-gentoo.patch
+)
+
+src_prepare() {
+	default
+	edos2unix engines/togaII1.2.1a/src/Makefile
+	sed -i \
+		-e "s:@GENTOO_DATADIR@:/usr/share/${PN}:" \
+		tcl/start.tcl || die
+	sed -i \
+		-e "/COMPILE.*testzlib/s:\$var(COMPILE):$(tc-getCXX):" \
+		configure || die
+	gzip ../ratings.ssp || die
+	python_fix_shebang .
+}
+
+src_configure() {
+	# configure is not an autotools script
+	./configure \
+		COMPILE="$(tc-getCXX)" \
+		LINK="$(tc-getCXX) ${CXXFLAGS} ${LDFLAGS}" \
+		CC="$(tc-getCC)" \
+		OPTIMIZE="${CXXFLAGS}" \
+		TCL_INCLUDE="" \
+		BINDIR="/usr/bin" \
+		SHAREDIR="/usr/share/${PN}" || die
+}
+
+src_compile() {
+	emake all_scid
+}
+
+src_install() {
+	emake DESTDIR="${D}" install_scid
+	insinto /usr/share/${PN}
+	doins -r sounds
+
+	dodoc ChangeLog TODO help/*.html
+
+	newicon -s scalable svg/scid_app.svg ${PN}.svg
+	make_desktop_entry scid Scid
+
+	doins ../spelling.ssp ../ratings.ssp.gz ../*.spf
+	newins ../scidlet40k.sbk scidlet.sbk
+}
+
+pkg_preinst() {
+	gnome2_icon_savelist
+}
+
+pkg_postinst() {
+	gnome2_icon_cache_update
+	elog "To enable speech, emerge dev-tcltk/snack"
+	elog "To enable Xfcc support, emerge dev-tcltk/tdom"
+}
+
+pkg_postrm() {
+	gnome2_icon_cache_update
+}


             reply	other threads:[~2016-08-01 21:10 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-01 21:10 Austin English [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-04-16 10:59 [gentoo-commits] repo/gentoo:master commit in: games-board/scid/ Ionen Wolkens
2025-04-16 10:59 Ionen Wolkens
2025-04-16 10:59 Ionen Wolkens
2024-04-16  9:34 Patrick Lauer
2024-04-16  9:34 Patrick Lauer
2023-06-04 16:05 Arthur Zamarin
2023-02-16  7:39 Ionen Wolkens
2021-05-30  5:45 Sam James
2015-09-19 15:06 Agostino Sarubbo
2015-08-27 15:40 Michael Sterrett

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1470085793.4c5e86df37efa8c86ecb01bcb8ed60b6e8acb809.wizardedit@gentoo \
    --to=wizardedit@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox