summaryrefslogtreecommitdiff
path: root/dev-games/higan-ananke
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 /dev-games/higan-ananke
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-games/higan-ananke')
-rw-r--r--dev-games/higan-ananke/Manifest6
-rw-r--r--dev-games/higan-ananke/files/higan-ananke-094-makefile.patch38
-rw-r--r--dev-games/higan-ananke/higan-ananke-094.ebuild36
-rw-r--r--dev-games/higan-ananke/metadata.xml8
4 files changed, 88 insertions, 0 deletions
diff --git a/dev-games/higan-ananke/Manifest b/dev-games/higan-ananke/Manifest
new file mode 100644
index 000000000000..1a437b796c72
--- /dev/null
+++ b/dev-games/higan-ananke/Manifest
@@ -0,0 +1,6 @@
+AUX higan-ananke-094-makefile.patch 1080 SHA256 a9a1371de5b20d472ace3c536fb0371c5af10c94e72e0b7d7bec32441abb7b5d SHA512 d227e478980d987225cee50a632f5282efb8805588f62c020d719c4f828cdfaa41d400ec8ba7a523af72d304bcf6c6e0b9fe6eaea72eb337d885750825de60e0 WHIRLPOOL 402fb5dfd67b6ec7b74422108fe336026dd6c9c930a59304b3ed59c8b5c3118bf4af54085472cfcec04ded2ac1f7ef6eb61c199542f711e1686b8b2624b90a36
+DIST higan_v094-source.tar.xz 882732 SHA256 5e149df9d50c1066eb97c0d66665428d75304da782bba5a87078b87fc311151b SHA512 e7e48c76cdc93d2d66db1fa0c71e64903cf4188571b2d5ecb8066dd4e2172a67da4dee68bed6fd0a532b6fd397fa4f537b97de58cc5043a9e970d48d0b66b0da WHIRLPOOL 42e2b628e83b6cb8d87ce82c2e91105b0be06790a1927aa7d52f0b1a181af5d627f467009d15daffd470e3c38a2bb7d67ba84919fb1aa9c8d06ad88ca3163641
+EBUILD higan-ananke-094.ebuild 696 SHA256 b46adbc7ecb6e1751eb397f7af70fb2b0a5683cc9b1b82dae8f02847118a6a3e SHA512 597df8cc24e7b17ae4e4f001d0aebf256da44af8008326952c0286412844ea2d6e1ec15a4f1b635c1cc9768ad0e8fe15b51b09469fff041babce5bed0a2af31a WHIRLPOOL e93c50770cd34c4f12c248f2fa5f6e81aedd720a10b944f47bb3ac058e13840d01e1a8d1ae521acf15f7a66113c21ac597db34f1b07aee674f7f4bda34ef2b1f
+MISC ChangeLog 3240 SHA256 1dc19e602d951e289351d55b3fd7182ae521ff308a98d4cf28f748d666ca9571 SHA512 322b0c3245156d3e9db165317eb1a8fb7a74c49d80e305301b891373260a0ff4d61d9c3b5a00ca2bb8b0642bb9a8b90cd8014e9589f723f30c6c238ce8155a74 WHIRLPOOL da448c77297e9c187d9fe37a0fd1522bd8b2341b435f5a41ddbc4b2669910861b7dc0db6ea4a690ae9e29cb7f0761842c676780a142680a2c5b6a5fb24d72312
+MISC ChangeLog-2015 1234 SHA256 ef0ca3c7c3d6ca33f3e73af41d1e49b82d91e8baf8b7a8e22c7929787b4e28f1 SHA512 ce967efbf87de5a47ce661203675329d6972aa432dfb1c8b4442bc0133ffb6ee7ea1e86c42950f268060ace0e782b3d8ec0cd47a3dbfc9c41675db27bc7c0e60 WHIRLPOOL bdc25e1d4435e80d348dd539a2f44e85ac36d1aab57e1df69cd73575fab42a8d36b0df24ec0749316dafc042b8e4117eca5e4c5ffb3055e1054ea2e3e6cb7e1c
+MISC metadata.xml 253 SHA256 2c95b2eb99144a3b66de17be35eebcf65e5a152a2ec2f176165bb9cd78e5394e SHA512 61c4689cbc649d84a00be211b7b5b98dd03e1d3f813eff370df549f2998cd4343f391c18b57cf20e4a8f4dd2311e3bfa04eb60f356f2bbac78f0b68f5091f254 WHIRLPOOL fd044f0a960e57257f4a15ab16f066bbfe9983e60cd5fc072e631efc7027306c612a01d7fbbf57eb08d957487a7ce1961250194653d6ed87ee23f20d631ef854
diff --git a/dev-games/higan-ananke/files/higan-ananke-094-makefile.patch b/dev-games/higan-ananke/files/higan-ananke-094-makefile.patch
new file mode 100644
index 000000000000..14639614cad7
--- /dev/null
+++ b/dev-games/higan-ananke/files/higan-ananke-094-makefile.patch
@@ -0,0 +1,38 @@
+--- a/ananke/Makefile
++++ b/ananke/Makefile
+@@ -2,7 +2,7 @@
+ include ../phoenix/Makefile
+
+ path := /usr/local/lib
+-flags := $(flags) -O3 -fomit-frame-pointer -I..
++flags := $(flags) $(CXXFLAGS) -I..
+
+ all:
+ $(compiler) $(cppflags) $(flags) -fPIC -o obj/ananke.o -c ananke.cpp
+@@ -13,7 +13,7 @@
+ else ifeq ($(platform),macosx)
+ $(compiler) $(link) -shared -dynamiclib -undefined suppress -flat_namespace -o libananke.dylib obj/ananke.o
+ else
+- $(compiler) $(link) -shared -Wl,-soname,libananke.so.1 -o libananke.so obj/ananke.o
++ $(compiler) $(link) $(LDFLAGS) -shared -Wl,-soname,libananke.so.1 -o libananke.so obj/ananke.o
+ endif
+
+ resource: force
+--- a/nall/Makefile
++++ b/nall/Makefile
+@@ -53,11 +53,11 @@
+ link :=
+ endif
+
+- cflags := -x c -std=c99
+- objcflags := -x objective-c -std=c99
+- cppflags := -x c++ -std=c++11
+- objcppflags := -x objective-c++ -std=c++11
+ endif
++cflags := -x c -std=c99
++objcflags := -x objective-c -std=c99
++cppflags := -x c++ -std=c++11
++objcppflags := -x objective-c++ -std=c++11
+
+ # cross-compilation support
+ ifeq ($(arch),x86)
diff --git a/dev-games/higan-ananke/higan-ananke-094.ebuild b/dev-games/higan-ananke/higan-ananke-094.ebuild
new file mode 100644
index 000000000000..b3b0566ec1bb
--- /dev/null
+++ b/dev-games/higan-ananke/higan-ananke-094.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils multilib toolchain-funcs
+
+MY_P=higan_v${PV}-source
+
+DESCRIPTION="A higan helper library needed for extra rom load options"
+HOMEPAGE="http://byuu.org/higan/"
+SRC_URI="http://byuu.org/files/${MY_P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="amd64 x86"
+IUSE=""
+
+S=${WORKDIR}/${MY_P}/ananke
+
+src_prepare() {
+ cd "${WORKDIR}/${MY_P}"
+ epatch \
+ "${FILESDIR}"/${P}-makefile.patch
+}
+
+src_compile() {
+ emake \
+ platform="linux" \
+ compiler="$(tc-getCXX)"
+}
+
+src_install() {
+ newlib.so libananke.so libananke.so.1
+ dosym libananke.so.1 /usr/$(get_libdir)/libananke.so
+}
diff --git a/dev-games/higan-ananke/metadata.xml b/dev-games/higan-ananke/metadata.xml
new file mode 100644
index 000000000000..26079e608bed
--- /dev/null
+++ b/dev-games/higan-ananke/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>