summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Ospald <hasufell@gentoo.org>2013-06-09 19:18:31 +0000
committerJulian Ospald <hasufell@gentoo.org>2013-06-09 19:18:31 +0000
commitd0fb4df76f900561514cda9f5c28c1d5097c3c5b (patch)
tree47e7a2c9f9f9f5b6c29a12ccc495f9cde292a2c1 /games-util/higan-purify
parentinitial import (diff)
downloadgentoo-2-d0fb4df76f900561514cda9f5c28c1d5097c3c5b.tar.gz
gentoo-2-d0fb4df76f900561514cda9f5c28c1d5097c3c5b.tar.bz2
gentoo-2-d0fb4df76f900561514cda9f5c28c1d5097c3c5b.zip
initial import
(Portage version: 2.2.0_alpha178/cvs/Linux x86_64, signed Manifest commit with key E73C35B3)
Diffstat (limited to 'games-util/higan-purify')
-rw-r--r--games-util/higan-purify/ChangeLog10
-rw-r--r--games-util/higan-purify/Manifest5
-rw-r--r--games-util/higan-purify/files/higan-purify-03-QA.patch13
-rw-r--r--games-util/higan-purify/higan-purify-03.ebuild57
-rw-r--r--games-util/higan-purify/metadata.xml10
5 files changed, 95 insertions, 0 deletions
diff --git a/games-util/higan-purify/ChangeLog b/games-util/higan-purify/ChangeLog
new file mode 100644
index 000000000000..d88f10280281
--- /dev/null
+++ b/games-util/higan-purify/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for games-util/higan-purify
+# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/games-util/higan-purify/ChangeLog,v 1.1 2013/06/09 19:18:31 hasufell Exp $
+
+*higan-purify-03 (09 Jun 2013)
+
+ 09 Jun 2013; Julian Ospald <hasufell@gentoo.org> +higan-purify-03.ebuild,
+ +files/higan-purify-03-QA.patch, +metadata.xml:
+ initial import
+
diff --git a/games-util/higan-purify/Manifest b/games-util/higan-purify/Manifest
new file mode 100644
index 000000000000..7cd7fce747cf
--- /dev/null
+++ b/games-util/higan-purify/Manifest
@@ -0,0 +1,5 @@
+AUX higan-purify-03-QA.patch 304 SHA256 8db147c626fe3b29e87a3d0981c95ec9ed0c7d19f2be04f04ce468314691570b SHA512 3d3a58e4bde85aa7c401189d1a232afe2f2af1bef52cd6487477de8d5a0ad62bfadb2947c7c9480a4aaa1c0850862e2843851269f498c7d82e3ca4bf1da804e0 WHIRLPOOL eb1a5f5faa7f35c53b10597c9a8a7c15a5bf9ec0cccf8d284eee5f39b796e4367f0b3e1f64d9f88bd35874e19f3ce8b8518aeb98f7ba47ac811e9b65cd6dc307
+DIST purify_v03-source.tar.xz 196924 SHA256 2020f0b5a744f08c24085a15a6c2ec1d7c4424bba6727f244e513b95c4247e38 SHA512 095b62013f5a33e720b87c48f32c41239d8cef4c6ddc2b6d119d15b3f8b92bc15d744afa0b2bc8d7a49ef53f8f3fa7f2247be490499a9b194863534f9c1a4b3d WHIRLPOOL 395c6976d19065c23f084aa452286b81db8068ae46a658172b749f3ef2ee879514c1c64ee2e8ac8b1eaa4ed16ebaa540852b355c0ae42855759d9d3337e185ae
+EBUILD higan-purify-03.ebuild 1012 SHA256 ad0959f49970f4c1544ffdae1c4c95fd7b01014df0dd04749c7230f790a9b925 SHA512 9c052205faa365fa68c4c0f83f02f2157d508a61f19f93422f9cfd6a3064191ce6506abefb3c2b5bc6d0b3f45d7c9c4fc12ae035fa22c62557e2f936862fe22a WHIRLPOOL 2e21885d4cf23e3c1559ae2278da5653a84b49f99ead4040c57cbd499e1d84446895abc77e3dd5d0f77cca6e549ad4493ef0bef804aec929425029e78cd3600a
+MISC ChangeLog 300 SHA256 3ae171ef1718eff1ef7922397d6d8fa91932327825578053c37945f9e210d512 SHA512 6a04d428263255fb123d4ad0f16211a2a5b1710f57ec35f72de4acc4aa6d860e158f3874f9a6d45aeb56ec1f945650bc0e815ce75cf7ad26a9866a8b10a8a172 WHIRLPOOL 42c634cd850b6a7edd63f3613e4a5a1cfa45a62ca4c449d314e5e0c7aff30d3fa6e6ed6870e749c7b9ca2b5892ca7c54f0fe63ee04bd8f6fce8ecb979d8311bf
+MISC metadata.xml 255 SHA256 8ce125b1cb2a8da5fe808223ae6ed60fe03598c692e5020f0a8aaee09b5d6ca3 SHA512 29f4a4a15fc968a3151c449354cd2003831f4b66b57d72222c46d4e4f7ff0586ed3f0b76d09fadf0b43fbb3a46951b19207dd6d38b79fe394b61694cd272ad95 WHIRLPOOL 373afc42b6a5f9f473397b1b95b73377110a2d7cf3590bdb8e0ef4b58c9628a06b1af46db726416fbaad0c29b91ee1eb631eccac14a26be994b705a43f097db8
diff --git a/games-util/higan-purify/files/higan-purify-03-QA.patch b/games-util/higan-purify/files/higan-purify-03-QA.patch
new file mode 100644
index 000000000000..7594257ac1cc
--- /dev/null
+++ b/games-util/higan-purify/files/higan-purify-03-QA.patch
@@ -0,0 +1,13 @@
+--- purify_v03-source/purify/Makefile
++++ purify_v03-source/purify/Makefile
+@@ -2,8 +2,8 @@
+ include phoenix/Makefile
+
+ path := /usr/local/bin
+-flags := -I. -O3 -fomit-frame-pointer
+-link := -s
++flags := -I. $(CXXFLAGS)
++link := $(LDFLAGS)
+ objects := obj/phoenix.o obj/purify.o
+
+ ifeq ($(platform),x)
diff --git a/games-util/higan-purify/higan-purify-03.ebuild b/games-util/higan-purify/higan-purify-03.ebuild
new file mode 100644
index 000000000000..a6ace92a490c
--- /dev/null
+++ b/games-util/higan-purify/higan-purify-03.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2013 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/games-util/higan-purify/higan-purify-03.ebuild,v 1.1 2013/06/09 19:18:31 hasufell Exp $
+
+EAPI=5
+
+inherit eutils multilib toolchain-funcs
+
+MY_P=purify_v${PV}-source
+
+DESCRIPTION="Rom purifier for higan"
+HOMEPAGE="http://byuu.org/higan/"
+SRC_URI="http://higan.googlecode.com/files/${MY_P}.tar.xz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="qt4"
+
+RDEPEND="
+ dev-games/higan-ananke
+ !qt4? ( x11-libs/gtk+:2 )
+ qt4? ( >=dev-qt/qtgui-4.5:4 )"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+S=${WORKDIR}/${MY_P}/purify
+
+src_prepare() {
+ epatch "${FILESDIR}"/${P}-QA.patch
+ sed -i \
+ -e "/handle/s#/usr/local/lib#/usr/$(get_libdir)#" \
+ nall/dl.hpp || die
+
+ # regenerate .moc if needed
+ if use qt4; then
+ cd phoenix/qt || die
+ moc -i -I. -o platform.moc platform.moc.hpp || die
+ fi
+}
+
+src_compile() {
+ if use qt4; then
+ mytoolkit="qt"
+ else
+ mytoolkit="gtk"
+ fi
+
+ emake \
+ platform="x" \
+ compiler="$(tc-getCXX)" \
+ phoenix="${mytoolkit}"
+}
+
+src_install() {
+ dobin purify
+}
diff --git a/games-util/higan-purify/metadata.xml b/games-util/higan-purify/metadata.xml
new file mode 100644
index 000000000000..e52db06ebd8c
--- /dev/null
+++ b/games-util/higan-purify/metadata.xml
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>games</herd>
+ <maintainer>
+ <email>hasufell@gentoo.org</email>
+ <name>Julian Ospald</name>
+ </maintainer>
+</pkgmetadata>
+