Add ebuild for Mininim - Advanced Prince of Persia Engine
This commit is contained in:
parent
4d3888dc52
commit
c0f90f0e15
1
games-arcade/mininim/Manifest
Normal file
1
games-arcade/mininim/Manifest
Normal file
@ -0,0 +1 @@
|
||||
DIST mininim-0.9.2.tar.gz 5355543 SHA256 0f0b5af2ae0f5c7bbb35c7f0cbc02161896ea01708c5a34ffcced0fe253ee9c9 SHA512 f1eb666e8efdb3b319675a4fdab7b75b8f22d9d49fad173a6777d048a2de99fcbfdfe4687fa53f69f7f30f20d4f01009f9d68f7c725d62bdceffa6965628f303 WHIRLPOOL eb926005f9ab54f2178ac077b23e45b49d8589c30c83ae519b870da72fafc25820bc5974046a9e11d6be0cdd61184e0dcd2b299ab8ada392b3c6a0cabcfb1ab7
|
30
games-arcade/mininim/files/mininim-0.9.2-sandbox.patch
Normal file
30
games-arcade/mininim/files/mininim-0.9.2-sandbox.patch
Normal file
@ -0,0 +1,30 @@
|
||||
--- a/doc/Makefile.am 2016-02-24 16:29:44.064522852 +0300
|
||||
+++ b/doc/Makefile.am 2016-02-24 16:29:12.720524705 +0300
|
||||
@@ -1662,9 +1662,9 @@
|
||||
convert $$f "${builddir}/mininim-figures/"`basename $${f%.png}.eps`; done
|
||||
|
||||
install-info-local:
|
||||
- $(MKDIR_P) "${infodir}"
|
||||
- chmod u+w "${infodir}"
|
||||
- cp -rv "${srcdir}/mininim-figures" "${infodir}"
|
||||
+ $(MKDIR_P) "$(DESTDIR)${infodir}"
|
||||
+ chmod u+w "$(DESTDIR)${infodir}"
|
||||
+ cp -rv "${srcdir}/mininim-figures" "$(DESTDIR)${infodir}"
|
||||
|
||||
uninstall-local:
|
||||
find "${infodir}/mininim-figures" \( -type f -or -type d \) \
|
||||
--- a/Makefile.am 2016-02-24 16:33:45.983508550 +0300
|
||||
+++ b/Makefile.am 2016-02-24 16:34:37.934505478 +0300
|
||||
@@ -2105,9 +2105,9 @@
|
||||
$(WINDRES) $(WINDRESFLAGS) -o $@ $<
|
||||
|
||||
install-data-hook:
|
||||
- $(MKDIR_P) "${pkgdatadir}"
|
||||
- chmod u+w "${pkgdatadir}"
|
||||
- cp -rv "${top_srcdir}/data" "${pkgdatadir}"
|
||||
+ $(MKDIR_P) "$(DESTDIR)${pkgdatadir}"
|
||||
+ chmod u+w "$(DESTDIR)${pkgdatadir}"
|
||||
+ cp -rv "${top_srcdir}/data" "$(DESTDIR)${pkgdatadir}"
|
||||
|
||||
uninstall-local:
|
||||
find "${pkgdatadir}/data" \( -type f -or -type d \) \
|
31
games-arcade/mininim/mininim-0.9.2.ebuild
Normal file
31
games-arcade/mininim/mininim-0.9.2.ebuild
Normal file
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="The Advanced Prince of Persia Engine"
|
||||
HOMEPAGE="https://github.com/oitofelix/mininim"
|
||||
SRC_URI="https://github.com/oitofelix/mininim/releases/download/v${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="media-libs/allegro:5[alsa,gtk,png,truetype,vorbis]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-sandbox.patch" )
|
||||
|
||||
src_prepare() {
|
||||
eapply ${PATCHES[@]}
|
||||
eapply_user
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
unset LINGUAS
|
||||
default_src_compile
|
||||
}
|
Loading…
Reference in New Issue
Block a user