summaryrefslogtreecommitdiff
path: root/games-util/wxchtdecoder
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /games-util/wxchtdecoder
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'games-util/wxchtdecoder')
-rw-r--r--games-util/wxchtdecoder/Manifest4
-rw-r--r--games-util/wxchtdecoder/files/wxchtdecoder-1.5a-wxgtk.patch37
-rw-r--r--games-util/wxchtdecoder/metadata.xml8
-rw-r--r--games-util/wxchtdecoder/wxchtdecoder-1.5a-r1.ebuild31
4 files changed, 80 insertions, 0 deletions
diff --git a/games-util/wxchtdecoder/Manifest b/games-util/wxchtdecoder/Manifest
new file mode 100644
index 000000000000..f6431906ebc3
--- /dev/null
+++ b/games-util/wxchtdecoder/Manifest
@@ -0,0 +1,4 @@
+AUX wxchtdecoder-1.5a-wxgtk.patch 1379 BLAKE2B 7a2c528a3a360148c78dae47beff3af43c97c1cb96108af80ba38ddb217e84d2e28539e4d3550b5b0d95119c3c6c7d332a2aeef9c059dded918627ac4c867869 SHA512 96fc2236b7f99f5cc3df1672174c332cb568ad0899a209a7e022bd24617b31854338435db4fbef1523f5d67ae466f2de3da29ac417ae8ad948f4e90326727a3b
+DIST wxchtdecoder-1.5a.tar.bz2 84088 BLAKE2B 1bff9a352a80d3f89b9963540e4a1a0ea79bffa8220c1c1a940068180a294a5518edd6fda13083d0d5fe3baa5f64813b6c925257e23d306a0de625817839c908 SHA512 edb606d1b88cedcb725a1dca2c82f4a81ebff5a1b8786a4127505e021b1fc8cc351363d05963a68c7d555f895b3b762fbd34dfc3f26640759619daecce1097df
+EBUILD wxchtdecoder-1.5a-r1.ebuild 636 BLAKE2B 96ea412aac88b5964aa6b6bc4f2d943d1934d59e9492afb44b11d8afbafb71823a9a97e77f1753bca3563470dbdf93bf591d7967c4ed3e7c02e09848efc2c0f4 SHA512 68f202580b719571d81f2ccc6374e13366e2846e9740a725f922a005608ff651b7f221b00c24ab344c8847314636d455a5a46010c7ebaa8bf97cda871a699540
+MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
diff --git a/games-util/wxchtdecoder/files/wxchtdecoder-1.5a-wxgtk.patch b/games-util/wxchtdecoder/files/wxchtdecoder-1.5a-wxgtk.patch
new file mode 100644
index 000000000000..1eb61febe1bb
--- /dev/null
+++ b/games-util/wxchtdecoder/files/wxchtdecoder-1.5a-wxgtk.patch
@@ -0,0 +1,37 @@
+--- wxchtdecoder-1.5a.orig/source/chtdecoder.cc
++++ wxchtdecoder-1.5a/source/chtdecoder.cc
+@@ -64,26 +64,26 @@
+ const wxSize *CHTDecoder::APP_SIZE = new wxSize(640, 480);
+
+ namespace {
+- const wxCmdLineEntryDesc CMDLINE_DESC[] = {
++ wxCmdLineEntryDesc CMDLINE_DESC[] = {
+ {
+- wxCMD_LINE_SWITCH, wxT("h"), wxT("help"),
+- wxT("display usage information"), wxCMD_LINE_VAL_STRING,
++ wxCMD_LINE_SWITCH, "h", "help",
++ "display usage information", wxCMD_LINE_VAL_STRING,
+ wxCMD_LINE_OPTION_HELP
+ },
+
+ {
+- wxCMD_LINE_SWITCH, wxT("v"), wxT("version"),
+- wxT("display version information"), wxCMD_LINE_VAL_STRING,
++ wxCMD_LINE_SWITCH, "v", "version",
++ "display version information", wxCMD_LINE_VAL_STRING,
+ wxCMD_LINE_OPTION_HELP
+ },
+
+ {
+- wxCMD_LINE_SWITCH, wxT("f"), wxT("force-open"),
+- wxT("force opening of possibly invalid .CHT files")
++ wxCMD_LINE_SWITCH, "f", "force-open",
++ "force opening of possibly invalid .CHT files"
+ },
+
+ {
+- wxCMD_LINE_PARAM, 0, 0, wxT(".CHT file(s)"),
++ wxCMD_LINE_PARAM, 0, 0, ".CHT file(s)",
+ wxCMD_LINE_VAL_STRING, wxCMD_LINE_PARAM_MULTIPLE
+ },
+
diff --git a/games-util/wxchtdecoder/metadata.xml b/games-util/wxchtdecoder/metadata.xml
new file mode 100644
index 000000000000..78274e0fa550
--- /dev/null
+++ b/games-util/wxchtdecoder/metadata.xml
@@ -0,0 +1,8 @@
+<?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>
+</pkgmetadata>
diff --git a/games-util/wxchtdecoder/wxchtdecoder-1.5a-r1.ebuild b/games-util/wxchtdecoder/wxchtdecoder-1.5a-r1.ebuild
new file mode 100644
index 000000000000..0a8fbabae6b4
--- /dev/null
+++ b/games-util/wxchtdecoder/wxchtdecoder-1.5a-r1.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+WX_GTK_VER="3.0"
+inherit eutils wxwidgets
+
+DESCRIPTION="A program to decode .CHT files in Snes9x and ZSNES to plain text"
+HOMEPAGE="http://games.technoplaza.net/chtdecoder/"
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND="x11-libs/wxGTK:${WX_GTK_VER}[X]"
+RDEPEND=${DEPEND}
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-wxgtk.patch
+}
+
+src_configure() {
+ econf --with-wx-config=${WX_CONFIG}
+}
+
+src_install() {
+ dobin source/wxchtdecoder
+ dodoc docs/wxchtdecoder.txt
+}