summaryrefslogtreecommitdiff
path: root/games-util/wxchtdecoder
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-util/wxchtdecoder
reinit the tree, so we can have metadata
Diffstat (limited to 'games-util/wxchtdecoder')
-rw-r--r--games-util/wxchtdecoder/Manifest6
-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, 82 insertions, 0 deletions
diff --git a/games-util/wxchtdecoder/Manifest b/games-util/wxchtdecoder/Manifest
new file mode 100644
index 000000000000..0bbedf4f6891
--- /dev/null
+++ b/games-util/wxchtdecoder/Manifest
@@ -0,0 +1,6 @@
+AUX wxchtdecoder-1.5a-wxgtk.patch 1379 SHA256 3caa99562045f701253c7c1660d1456ce7ec8e195cf8bbb8be6a4e22b2e9de19 SHA512 96fc2236b7f99f5cc3df1672174c332cb568ad0899a209a7e022bd24617b31854338435db4fbef1523f5d67ae466f2de3da29ac417ae8ad948f4e90326727a3b WHIRLPOOL 6483bcede2ec8abe8439b3eae09d82d087041995e4b73e7f518d27e88b735cca18524bf271182790f82f33ec144199e7ad4b0dd51810526cad1803eaa89a82cc
+DIST wxchtdecoder-1.5a.tar.bz2 84088 SHA256 8f2c0307ffbc103a70a2566ec56bfc4766714118c4d408b18486b950dc2a209e SHA512 edb606d1b88cedcb725a1dca2c82f4a81ebff5a1b8786a4127505e021b1fc8cc351363d05963a68c7d555f895b3b762fbd34dfc3f26640759619daecce1097df WHIRLPOOL a49ce993e228a8c3c9dfdeb5f0a1e148aecef71cf736d069ef0c3446b443e2f2b28d072511e8b7d4c8cc7fec54f6c061aca4edf849670348a9f15af17e30e3a0
+EBUILD wxchtdecoder-1.5a-r1.ebuild 634 SHA256 1773ca3862931831407009ef8dcd8f467303521eea88b4ea11b2ee3533fe74c9 SHA512 ab411ee7a204a94866fabc12e92e23620566a50784d77cc3967346a0526ed35bd5bd9744aea37f42d10d3c5587a715d1063d95b72fb2b68b3b53f1835b009129 WHIRLPOOL 59527f0beb9f56d58faad6d89985cf32876a909d8c6eeab4aa223b72c2a473d64597e7e1a13dcf6142e77d04a891b96ba32c3a3862813be463de38f8a65ce622
+MISC ChangeLog 3292 SHA256 693fce61a71ecb3dc7832fac453678288b66136b6a580e9b4c3c1bd8fb69b3d5 SHA512 4b13a9d4627d6d6d59c6d1ea6a3b8d693942fe3ff68eb3920e3a1e2df04671e1867bf8e780814f42308633b668bf302a5853bb087d4b6fce9f06ab515d321e98 WHIRLPOOL e82efae08dfacb0cba0296502f690c67e33e5adde21c68e3581532b28052f41e516e8330813df5eb519c615964f2d1e4ab7454e1ee4682df62e62124e00c778f
+MISC ChangeLog-2015 1312 SHA256 16084c8020ac11c3219dc051dd444583ebfcc7340a718ac0e701f1ff56c3c012 SHA512 b31f991fa9094c2aa5c0fcfe3ccccd7c021a68424a778b310539793985954e10525207611943b7293fef88a422618eceb6292b8c1dea37c0fe0da4ddd518b751 WHIRLPOOL 52cb6a99171076484ca6cb98bbc31b90066424b10d216b17806b211a9ffb12b09f6309fa0abf21e9590fa8eb9348c75a8c71f0d44142a456aa08124abc927dfd
+MISC metadata.xml 249 SHA256 943b9ce0cd072229b43569ab668dd7ec741d9dfefd942c8921dabd4490b27b0c SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118 WHIRLPOOL b10e21575c78e201a652c8582cd16e3f7c86b13dd20a30f4cea44066fb139440b3c186147dbaae83478f11a20b6f457a99c8b29ee1239a4caaa21eee01250088
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..adaa68ec3e1f
--- /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
+}