public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Pacho Ramos" <pacho@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: games-emulation/stella/
Date: Sun, 29 Apr 2018 13:06:58 +0000 (UTC)	[thread overview]
Message-ID: <1525007191.1ee2e3ab4d35245df01218a2594ece4d35312a05.pacho@gentoo> (raw)

commit:     1ee2e3ab4d35245df01218a2594ece4d35312a05
Author:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Apr 29 12:19:20 2018 +0000
Commit:     Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Apr 29 13:06:31 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ee2e3ab

games-emulation/stella: Stop using games.eclass

Package-Manager: Portage-2.3.31, Repoman-2.3.9

 games-emulation/stella/stella-4.7.2-r1.ebuild | 69 +++++++++++++++++++++++++++
 1 file changed, 69 insertions(+)

diff --git a/games-emulation/stella/stella-4.7.2-r1.ebuild b/games-emulation/stella/stella-4.7.2-r1.ebuild
new file mode 100644
index 00000000000..1412860717c
--- /dev/null
+++ b/games-emulation/stella/stella-4.7.2-r1.ebuild
@@ -0,0 +1,69 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit desktop gnome2-utils
+
+DESCRIPTION="Stella Atari 2600 VCS Emulator"
+HOMEPAGE="http://stella.sourceforge.net/"
+SRC_URI="mirror://sourceforge/stella/${P}-src.tar.xz"
+
+LICENSE="GPL-2+ BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="joystick"
+
+RDEPEND="
+	media-libs/libsdl2[joystick?,opengl,video]
+	media-libs/libpng:0=
+	sys-libs/zlib
+"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+	default
+	sed -i \
+		-e '/INSTALL/s/-s //' \
+		-e '/STRIP/d' \
+		-e "/icons/d" \
+		-e '/INSTALL.*DOCDIR/d' \
+		-e '/INSTALL.*\/applications/d' \
+		-e '/CXXFLAGS+=/s/-fomit-frame-pointer//' \
+		Makefile || die
+}
+
+src_configure() {
+	# not an autoconf script
+	./configure \
+		--prefix="/usr" \
+		--bindir="/usr/bin" \
+		--docdir="/usr/share/doc/${PF}" \
+		--datadir="/usr/share" \
+		$(use_enable joystick) \
+		|| die
+}
+
+src_install() {
+	local i
+
+	DOCS="Announce.txt Changes.txt Copyright.txt README-SDL.txt Readme.txt Todo.txt" \
+		default
+
+	for i in 16 22 24 32 48 64 128 ; do
+		newicon -s ${i} src/common/stella-${i}x${i}.png stella.png
+	done
+	domenu src/unix/stella.desktop
+	HTML_DOCS="docs/*" einstalldocs
+}
+
+pkg_preinst() {
+	gnome2_icon_savelist
+}
+
+pkg_postinst() {
+	gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+	gnome2_icon_cache_update
+}


             reply	other threads:[~2018-04-29 13:07 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-29 13:06 Pacho Ramos [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-01-28 16:34 [gentoo-commits] repo/gentoo:master commit in: games-emulation/stella/ Ionen Wolkens
2024-01-23  9:28 Ionen Wolkens
2022-07-03  5:33 Ionen Wolkens
2022-06-22  0:54 Ionen Wolkens
2021-12-02  5:13 Ionen Wolkens
2021-11-17 10:55 Ionen Wolkens
2021-07-17  8:16 Ionen Wolkens
2021-07-04 11:53 Ionen Wolkens
2021-07-04 11:53 Ionen Wolkens
2021-04-24 22:03 David Seifert
2021-03-22 19:42 Sam James
2021-03-22 19:20 Sam James
2018-11-10 21:12 James Le Cuirot
2018-11-10 21:12 James Le Cuirot
2018-11-10 21:12 James Le Cuirot
2018-04-29 13:06 Pacho Ramos
2016-06-06 14:31 Agostino Sarubbo
2016-04-12 23:13 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=1525007191.1ee2e3ab4d35245df01218a2594ece4d35312a05.pacho@gentoo \
    --to=pacho@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