diff options
author | 2010-01-01 21:38:16 -0500 | |
---|---|---|
committer | 2010-01-01 22:16:26 -0500 | |
commit | fcf0222fcbabde540b29a7a450d52e3f0babaece (patch) | |
tree | 00a5127838a5136ce4bcedd7bd21307bab048dce | |
parent | Add bsnes-0.058 (diff) | |
download | eatnumber1-fcf0222fcbabde540b29a7a450d52e3f0babaece.tar.gz eatnumber1-fcf0222fcbabde540b29a7a450d52e3f0babaece.tar.bz2 eatnumber1-fcf0222fcbabde540b29a7a450d52e3f0babaece.zip |
Add snesfilter-0.007
-rw-r--r-- | dev-games/snesfilter/Manifest | 3 | ||||
-rw-r--r-- | dev-games/snesfilter/files/snesfilter-0.007_gentoo.patch | 36 | ||||
-rw-r--r-- | dev-games/snesfilter/snesfilter-0.007.ebuild | 34 |
3 files changed, 73 insertions, 0 deletions
diff --git a/dev-games/snesfilter/Manifest b/dev-games/snesfilter/Manifest new file mode 100644 index 0000000..f691520 --- /dev/null +++ b/dev-games/snesfilter/Manifest @@ -0,0 +1,3 @@ +AUX snesfilter-0.007_gentoo.patch 1048 RMD160 a42f9d2ac8396329ec9b59107fb57f816932567b SHA1 687bfcf3f9f9912a26247414c44ca398f8ef9277 SHA256 d1830164351f76b7384ea08203c116f9d95312527beded2b3c2e2760363779a3 +EBUILD snesfilter-0.007.ebuild 718 RMD160 74f3d7ecaf09850da86446ac7efb59d3897375bc SHA1 8e357e05d743d84ddbdfbafa9719c995dee8001a SHA256 28a8b2d6431acfe22379019404820fc193a63270a385cae1b20d71e8f9c6c223 +DIST snesfilter_v007.tar.bz2 49103 RMD160 330c0476557674c254a391c8a5661ac514336138 SHA1 4cdca3f9ffb86bd8b37fa38a197cc073506a210a SHA256 a7f7896749bc8457d76da8560a8f3b4263d9b2a3bacf6f747df1840d46ebcd3c diff --git a/dev-games/snesfilter/files/snesfilter-0.007_gentoo.patch b/dev-games/snesfilter/files/snesfilter-0.007_gentoo.patch new file mode 100644 index 0000000..9f98d80 --- /dev/null +++ b/dev-games/snesfilter/files/snesfilter-0.007_gentoo.patch @@ -0,0 +1,36 @@ +diff -ur a/Makefile b/Makefile +--- a/Makefile 2009-12-08 02:46:28.000000000 -0500 ++++ b/Makefile 2010-01-01 22:12:33.764566566 -0500 +@@ -2,9 +2,11 @@ + include nall/Makefile-qt + + c := $(compiler) +-cpp := $(subst cc,++,$(compiler)) +-flags := -O3 -I. -fomit-frame-pointer $(qtinc) +-link := ++cpp ?= $(subst cc,++,$(compiler)) ++ar ?= ar ++flags := $(CXXFLAGS) -I. $(qtinc) ++cflags := $(CFLAGS) -I. $(qtinc) ++link := $(LDFLAGS) + + ifeq ($(platform),osx) + flags := -fPIC $(flags) +@@ -18,7 +20,7 @@ + compile = \ + $(strip \ + $(if $(filter %.c,$<), \ +- $(c) $(flags) $1 -c $< -o $@, \ ++ $(c) $(cflags) $1 -c $< -o $@, \ + $(if $(filter %.cpp,$<), \ + $(cpp) $(flags) $1 -c $< -o $@ \ + ) \ +@@ -54,7 +56,7 @@ + ar rcs libsnesfilter.a $(objects) + $(cpp) $(link) -o libsnesfilter.dylib -shared -dynamiclib $(objects) $(qtlib) + else +- ar rcs libsnesfilter.a $(objects) ++ $(ar) rcs libsnesfilter.a $(objects) + $(cpp) $(link) -o libsnesfilter.so -shared -Wl,-soname,libsnesfilter.so.1 $(objects) $(qtlib) + endif + diff --git a/dev-games/snesfilter/snesfilter-0.007.ebuild b/dev-games/snesfilter/snesfilter-0.007.ebuild new file mode 100644 index 0000000..0121d87 --- /dev/null +++ b/dev-games/snesfilter/snesfilter-0.007.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=2 + +inherit eutils toolchain-funcs + +DESCRIPTION="A bsnes helper library which provides image filters" +HOMEPAGE="http://byuu.org/bsnes/" +MY_PV="${PV/0./}" +SRC_URI="http://byuu.org/files/${PN}_v${MY_PV}.tar.bz2" + +LICENSE="public-domain" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND=">=x11-libs/qt-gui-4.4" +DEPEND="${RDEPEND}" + +S="${WORKDIR}/${PN}" + +src_prepare() { + epatch "${FILESDIR}/${P}_gentoo.patch" +} + +src_compile() { + emake platform=x compiler="$(tc-getCC)" cpp="$(tc-getCXX)" ar="$(tc-getAR)" || die "emake failed" +} + +src_install() { + dolib libsnesfilter.* || die "install failed" +} |