summaryrefslogtreecommitdiff
path: root/games-emulation/nestopia
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
committerV3n3RiX <venerix@redcorelinux.org>2017-10-09 18:53:29 +0100
commit4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch)
treeba5f07bf3f9d22d82e54a462313f5d244036c768 /games-emulation/nestopia
reinit the tree, so we can have metadata
Diffstat (limited to 'games-emulation/nestopia')
-rw-r--r--games-emulation/nestopia/Manifest7
-rw-r--r--games-emulation/nestopia/files/nestopia-1.46.2-format.patch11
-rw-r--r--games-emulation/nestopia/metadata.xml15
-rw-r--r--games-emulation/nestopia/nestopia-1.47_p20170105.ebuild53
-rw-r--r--games-emulation/nestopia/nestopia-9999.ebuild53
5 files changed, 139 insertions, 0 deletions
diff --git a/games-emulation/nestopia/Manifest b/games-emulation/nestopia/Manifest
new file mode 100644
index 000000000000..3fb557345c6c
--- /dev/null
+++ b/games-emulation/nestopia/Manifest
@@ -0,0 +1,7 @@
+AUX nestopia-1.46.2-format.patch 362 SHA256 5fbd9ed18abfc351492a9dfbe398bfb655014cf88507603b22c5f7cad744435e SHA512 340c15ae77eaa5a0148b2a659bae70dbbfa836fd0ac253f614342f4003997cb8302b6e87e94931be75863511191caa09d67d2ec6684d894c8630e1dd649be307 WHIRLPOOL e0a8c0874b11279bf02d094c6fcc3c8044e4e6c6a0eb3b679448ff5f35adcdf0471bd09f7960db8734ff3a4b6690b0269421337055cd78117c637c261fdb6d3a
+DIST nestopia-1.47_p20170105.tar.gz 1283456 SHA256 621b5f686d98b81ce9a720be40083b80a76d2ebae0089556cf5dc7df2b26d4f4 SHA512 58d1a932a6b90589c66503b2013b1a8162072e77e0416851a1430fa146e7fd85ff7363b70292c69d4c4513e3750aa53436a312c0240a843e42fbb89b554e7a70 WHIRLPOOL 14b3bc921f0f57a8049a02b863d3a25f017f31668875f02ec4472f877d248fdfd9c1325930b5138e17bf24adc92c76fdf399abcb9deab4d1155572c5f774e942
+EBUILD nestopia-1.47_p20170105.ebuild 1080 SHA256 7e0aa542c21d6c68a9a89bd1eacabbfd6ca0313c75c19cd69b955913538b6f8e SHA512 660404e999417144e37031bf405891e20ff5eaab6253009a7df74c73cd797f85098ed769f19c353b9a1e56c95cef064c1ad92f5904f42c22cc1a9d0e85c04db3 WHIRLPOOL 6797e9c6500acd0858174783e5fc897265aa10c8d822b5d834f158e8dd2d0243a9f12d2f24c5518891261afedae75797a16158b60980197ef4713e66a87e4f8c
+EBUILD nestopia-9999.ebuild 1082 SHA256 8f72a7c133da52e11a91abf1d38bb5d6aa53294fa4b703b14233596d9a0c631f SHA512 4b15b0fa719b37017cd6cb06bea788ab3a573d2c6ff94c1b63f753d1cff0ce37d8adae034c387dcb76cbefd65234fda5d4da9fdc9c3eff0d896a663b47e3c91f WHIRLPOOL 6b4f859276c57c42e3ab0e10f75d5dde40985f3b8c118c47e2fdb7e3207193802463bff61e431f640e3de296d0146f14f5f3dc2a2cbd9844e40b090bae82f088
+MISC ChangeLog 2943 SHA256 cec7db66dcc1233b496f1ed40c7276585c2e85f94858a36eafa0ae431b1563f7 SHA512 b63732c55cd3c996d0e489ce97bfdd490b01f75827bb2c5906a2b44157a580cca3de341a8acc8af25a477ad728b4a7798bd3a489134c711e590a9b541070d808 WHIRLPOOL dd569e159e313bc0c6fca0d0a2ea8b89967d000aac07424e58bdf90c481d22010ddc0f45fc8f85f40c920b258e3e35868f8702b85b42988e1c20c2033fa89125
+MISC ChangeLog-2015 1956 SHA256 5214545be7a584958eebc38b549fe04772e7bbfff343bce3d870e60fe4e8c150 SHA512 1733878684cf751f709a9b68c0103c8a2323b8bbe3ccfbbf6cc0fcbef6659eca6dea6bc132cd224f5eb5f25d5139b867b02189a0c38ad7286144b8e45232038b WHIRLPOOL 68838b37317e580d35aeca148e6e159d0620dd07293a3e1d6b7bc20c11b3692eff3b8f6b78fbbc13b1a39d84ac346a31103fa2a83ace47b965215029cb109773
+MISC metadata.xml 443 SHA256 336ed5316a7a818256cc5184facbb8fe1c08224eb6b36a39923dfb9ff4cbd555 SHA512 287e7bddf8af98427bbebf4e3ed59aa60f314f12cd8c5ffbd95c101a13b4d63b6017f750ecc554df4034d22845a6d0c18aca85a21ed2c04316a53426e054268b WHIRLPOOL 6c951da8f60e142e1eedfab2dbcda14a4d01f5ecc6c6094ca19781216a0780651e50e46e80ad4b04ffa75f33eaaace1f4d170f4874931437c76231a2403db891
diff --git a/games-emulation/nestopia/files/nestopia-1.46.2-format.patch b/games-emulation/nestopia/files/nestopia-1.46.2-format.patch
new file mode 100644
index 000000000000..7c8a9027aec5
--- /dev/null
+++ b/games-emulation/nestopia/files/nestopia-1.46.2-format.patch
@@ -0,0 +1,11 @@
+--- source/unix/gtkui/gtkui.cpp.old 2015-11-11 09:13:57.417684436 +0100
++++ source/unix/gtkui/gtkui.cpp 2015-11-11 09:14:12.176407155 +0100
+@@ -317,7 +317,7 @@
+ GTK_DIALOG_DESTROY_WITH_PARENT,
+ GTK_MESSAGE_INFO,
+ GTK_BUTTONS_OK,
+- message);
++ "%s", message);
+ gtk_dialog_run(GTK_DIALOG(messagewindow));
+ gtk_widget_destroy(messagewindow);
+ }
diff --git a/games-emulation/nestopia/metadata.xml b/games-emulation/nestopia/metadata.xml
new file mode 100644
index 000000000000..42c366120ded
--- /dev/null
+++ b/games-emulation/nestopia/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version='1.0' encoding='UTF-8'?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>games@gentoo.org</email>
+ <name>Gentoo Games Project</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">rdanbrook/nestopia</remote-id>
+ <remote-id type="sourceforge">nestopiaue</remote-id>
+ </upstream>
+ <use>
+ <flag name="gui">Enable GUI</flag>
+ </use>
+</pkgmetadata>
diff --git a/games-emulation/nestopia/nestopia-1.47_p20170105.ebuild b/games-emulation/nestopia/nestopia-1.47_p20170105.ebuild
new file mode 100644
index 000000000000..c5ba1600cf4e
--- /dev/null
+++ b/games-emulation/nestopia/nestopia-1.47_p20170105.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils gnome2-utils
+
+DESCRIPTION="A portable Nintendo Entertainment System emulator written in C++"
+HOMEPAGE="http://0ldsk00l.ca/nestopia/"
+
+if [[ ${PV} == *9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/rdanbrook/nestopia.git"
+else
+ inherit vcs-snapshot
+ SRC_URI="https://github.com/rdanbrook/${PN}/archive/d7fae2aff1a93eac997d2b480652a1d068a2b6cf.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="amd64 x86"
+fi
+
+LICENSE="GPL-2+"
+SLOT="0"
+IUSE="doc gui"
+
+RDEPEND="
+ app-arch/libarchive:=
+ media-libs/libao
+ media-libs/libepoxy
+ media-libs/libsdl2[sound,joystick,video]
+ sys-libs/zlib
+ gui? ( x11-libs/gtk+:3 )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_GTK=$(usex gui)
+ -DENABLE_DOC=$(usex doc)
+ -DCMAKE_INSTALL_DOCDIR=share/doc/${PF}
+ )
+ cmake-utils_src_configure
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}
diff --git a/games-emulation/nestopia/nestopia-9999.ebuild b/games-emulation/nestopia/nestopia-9999.ebuild
new file mode 100644
index 000000000000..932f8edc7412
--- /dev/null
+++ b/games-emulation/nestopia/nestopia-9999.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils gnome2-utils
+
+DESCRIPTION="A portable Nintendo Entertainment System emulator written in C++"
+HOMEPAGE="http://0ldsk00l.ca/nestopia/"
+
+if [[ ${PV} == *9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/rdanbrook/nestopia.git"
+else
+ inherit vcs-snapshot
+ SRC_URI="https://github.com/rdanbrook/${PN}/archive/d7fae2aff1a93eac997d2b480652a1d068a2b6cf.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86"
+fi
+
+LICENSE="GPL-2+"
+SLOT="0"
+IUSE="doc gui"
+
+RDEPEND="
+ app-arch/libarchive:=
+ media-libs/libao
+ media-libs/libepoxy
+ media-libs/libsdl2[sound,joystick,video]
+ sys-libs/zlib
+ gui? ( x11-libs/gtk+:3 )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_configure() {
+ local mycmakeargs=(
+ -DENABLE_GTK=$(usex gui)
+ -DENABLE_DOC=$(usex doc)
+ -DCMAKE_INSTALL_DOCDIR=share/doc/${PF}
+ )
+ cmake-utils_src_configure
+}
+
+pkg_preinst() {
+ gnome2_icon_savelist
+}
+
+pkg_postinst() {
+ gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+ gnome2_icon_cache_update
+}