summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2014-02-23 03:36:08 +0000
committerJulian Ospald <hasufell@gentoo.org>2014-02-23 03:36:08 +0000
commitb6c32a4a20ccdebdff527c691f0ba3ad917fa0fb (patch)
treed63b5475ad852cf1549aa6baad02d931a22cb31b /dev-games
parentversion bump wrt #501520 (diff)
downloadgentoo-2-b6c32a4a20ccdebdff527c691f0ba3ad917fa0fb.tar.gz
gentoo-2-b6c32a4a20ccdebdff527c691f0ba3ad917fa0fb.tar.bz2
gentoo-2-b6c32a4a20ccdebdff527c691f0ba3ad917fa0fb.zip
version bump
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'dev-games')
-rw-r--r--dev-games/higan-ananke/ChangeLog10
-rw-r--r--dev-games/higan-ananke/files/higan-ananke-094-makefile.patch38
-rw-r--r--dev-games/higan-ananke/higan-ananke-094.ebuild37
3 files changed, 83 insertions, 2 deletions
diff --git a/dev-games/higan-ananke/ChangeLog b/dev-games/higan-ananke/ChangeLog
index 5e833c5dde36..bd189d85776c 100644
--- a/dev-games/higan-ananke/ChangeLog
+++ b/dev-games/higan-ananke/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-games/higan-ananke
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-games/higan-ananke/ChangeLog,v 1.3 2013/08/28 11:13:56 ago Exp $
+# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-games/higan-ananke/ChangeLog,v 1.4 2014/02/23 03:36:07 hasufell Exp $
+
+*higan-ananke-094 (23 Feb 2014)
+
+ 23 Feb 2014; Julian Ospald <hasufell@gentoo.org> +higan-ananke-094.ebuild,
+ +files/higan-ananke-094-makefile.patch:
+ version bump
28 Aug 2013; Agostino Sarubbo <ago@gentoo.org> higan-ananke-092.ebuild:
Stable for x86, wrt bug #480788
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..5155823fd6cb
--- /dev/null
+++ b/dev-games/higan-ananke/higan-ananke-094.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-games/higan-ananke/higan-ananke-094.ebuild,v 1.1 2014/02/23 03:36:07 hasufell Exp $
+
+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
+}